ID:               16548
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Bogus
 Bug Type:         Apache related
 Operating System: RED HAT Linux 7.2
 PHP Version:      4.1.2
 New Comment:

Please try PHP 4.2.0RC4 from http://www.php.net/~derick/



Previous Comments:
------------------------------------------------------------------------

[2002-04-17 10:01:27] [EMAIL PROTECTED]

Now it's 100% true:
Without session.auto_start = 0 it works also with apache with php
compiled.

So i can't use session variables.
Has anybody interest to solve the problem ?
I know not much from C.

On which side is the error ? PHP or _mproshut (Progress) ?

------------------------------------------------------------------------

[2002-04-17 07:23:29] [EMAIL PROTECTED]

Without session.auto_start = 0 it works without problem !
(it was 1 but i use it)

[root@linux /tmp]# fuser sess*                             
sess_e2b04b5ddbae91f2c52fd86e808565f5: 20658 20661 20664 20667
[root@linux /tmp]# ps -ef | grep 20658
root     20658     1  0 12:15 ?        00:00:00
/home/dlc83e/bin/_mprshut /home/
root     20672 12474  0 12:15 pts/1    00:00:00 grep 20658             
        

_mprshut access the session file in /tmp !

How can this happen ?

------------------------------------------------------------------------

[2002-04-17 06:04:12] [EMAIL PROTECTED]

New information:

I use now a cgi-bin version from php (before it was compiled into
apache).
If i start the script frist time it runs perfect and ended.
(i see no php process).
After that i can open any html pages without problem.
If i try to open any php page in the same session it hungs.
I can see the php process ans strace shows this:
flock(3, LOCK_EX

Is there a possibilty for debugging php itself ?

I compiled not enable-debug but what can i do with that ?

------------------------------------------------------------------------

[2002-04-15 08:48:10] [EMAIL PROTECTED]

>system(" ( $DLC/bin/_mprshut $CADB/$DB -C watchdog >/dev/null 2>&1
</dev/null )&");

>That should run the command in a sub-shell, and might solve this
strange
problem.

>Also, have you tried enabling the sigchild handler?
./configure --help | grep sigchild


Nothing helps.
The developer of _mprshut can reproduce the same effect under IS(NT).

------------------------------------------------------------------------

[2002-04-12 07:04:44] [EMAIL PROTECTED]

>> As a workaround, don't use exec :-)

system("$DLC/bin/_mprshut $CADB/$DB -C watchdog 2>&1
</dev/null");

has the same effect.
:-(

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/16548

-- 
Edit this bug report at http://bugs.php.net/?id=16548&edit=1

Reply via email to