Perl script dieing while waiting on select() for some response from another exe
I am writing a perl script where forking a child and the child is waiting for some response from C++ exe. Here is the code snippet:
Any thoughts why the script is dieing?
Thanks in advance.
The perl script is called from a cgi script. So the owner of the perl processes is apache. Is there any chance that apache is sending some signal to its child processes and that is causing the perl script to die.
Does Apache send SIGHUP while managing its process groups? Can there be any relation between the Apache managing its process groups and Perl script dieing?
|All times are GMT -5. The time now is 04:14 AM.|