|
Posted by a on 10/13/69 11:39
> Is that test done WITH sessions enabled?
> Then every request to ANY script will wait that uses that session.
>
Yes, the session is enabled (see below why)- sorry for not mentioning this.
> That is why is advised you to disable session if you test this.
> If you both have session ebabled AND doing systemscalls, you do not know
> what you are testing.
>
Since this script will be used in a production environment with the session
enabled due to the nature of the application, and the error also occurs when
the session is enabled, I thought that I didn't need to disable it. The
session should actually prevent such an issue from happening alogether,
since it serializes access to a script.
> Also, the process called by exec starts and
>> ends fine, it doesn't hang. I even changed it to exit immediately, just
>> to
>> make sure there were no other interferences. So the script hangs between
>> the exit of my process and its return to the script.
>
> Are you sure?
> I mean: Did you leave some trace that the beginning of the php-script DID
> run untill it reached the systemcall?
>
Yes, I created a diagnostic file where the script writes trace statements in
various points, and also monitored the process exec-ed by the script, which
is no longer in the list of active processes by the time the script hangs.
Thanks,
A
Navigation:
[Reply to this message]
|