php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22417 Error while using sessions with MM
Submitted: 2003-02-25 13:23 UTC Modified: 2003-03-15 18:46 UTC
Votes:3
Avg. Score:4.3 ± 0.5
Reproduced:3 of 3 (100.0%)
Same Version:1 (33.3%)
Same OS:1 (33.3%)
From: juliano at cyberweb dot com dot br Assigned:
Status: No Feedback Package: Session related
PHP Version: 4.3.1 OS: Linux RH 7.3
Private report: No CVE-ID: None
 [2003-02-25 13:23 UTC] juliano at cyberweb dot com dot br
I had a fast experience to increase the performance of PHP scripts in about 100%. Fast, but unhappy. The problem is the following one: when using PHP with Sessions being recorded dinamicaly with module MM (session.save_handler = mm), after some minutes of activities (about executed hundreds of scripts), start to appear ackward messages in apache's error_log, as:  

[ Tue Feb 25 15:45:14 2003 ] [ notice ] child pid 1340 exit signal Segmentation fault (11)

... and in few minutes later, apache crashes. 

Some solution? I'm looking for and I did not find nothing... I arrived to read something about create the file /tmp/session_mm.sem but... the problem continues  repeating.  

Unhappyly I had that to come back toward the traditional method, using files.  

I don't know if this problem is on PHP, Apache or MM, but.. I know it only appears when I change the method of sessions be saved.

InfoI had the fast experience to obtain to increase the performance of the PHP in a server in about 100%.  Fast, but unhappy.  The problem is the following one:  when using PHP with Sessions being recorded dinamicamente with module MM (to session.save_handler = mm), after some minutes of activities (about executed hundreds of scripts), start to appear ackward messages as:  

[ Tue Feb 25 15:45:14 2003 ] [ notice ] child pid 1340 exit signal Segmentation fault (11)

... and in few minutes later, apache crashes.  

Some solution?  I looked for in the InterNet and I did not find nothing... I arrived to read something it type to create the archive in/tmp/session_mm.sem but... the problem continues if repeating.  

Unhappyly I had that to come back toward the traditional method, using files.  

Using: Apache 1.3.27, PHP 4.3.1 and MM 1.2.2

Juliano Primavesi
CyberWeb Networks

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-02-26 01:03 UTC] sniper@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.


 [2003-03-09 19:12 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

And generate the backtrace asked before with the snapshot.


 [2003-03-15 18:46 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


And I can not reproduce this.

 [2004-02-23 09:35 UTC] jtacon at azinteractive dot com
I have the same problem exactly .

Red Hat 7.3, PHP 4.3.4 with Apache 1.3.29, compiled with MM 1.3.0.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 15:01:32 2024 UTC