Re: [PHP-DEV] Bug #10744: session_start() serializes exec

2001-05-10 Thread Oleg Makarenko
Try this in a script: ?php exec( /bin/sleep 30 /dev/null 21 /dev/null ) ; echo Done !! ; ? Now call it from the browser several time (Reload button). If you type a ps ax command you will see several sleep 30 processes. Wait all the processes to stop. Now put session_start() as

Re: [PHP-DEV] Bug #10675: Executing background job from PHP causes session lock-up

2001-05-05 Thread Oleg Makarenko
You probably use file based session storage, didn't you? Then teach your backround script to close all file handles at startup as every good daemon should do :). PHP always locks the file session file when you open the session and unlocks it only (by closing it) when you close the session or