Re: mod_fcgi/perl: Problem with signals
Albert Leidinger <albert.leidinger-kt1KeoM4Q/BvMmomy+XrYrNldLUNz+W/@public.gmane.org>
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Marc! > This is working for me... I tried your test script and here's what I > get in the log: Thank very much for your testing. The script ist running as dynamic script. The logging cant be the problem, I get the "did request" warns in the log. Only the "got signal" is missing when reloading or restarting apache. When script and logging is OK, what can it be? A configuration problem or maybe a bug? I tried a little bit and found out some more mysterious things: 1) I tried to stop the fcgi-perl-script-process with kill -s TERM pid (while getting the pid with command: ps ax | grep scriptname.fcgi) Nothing in the log. Requesting the page from my browser, delivers a server error. The next request produces a page as I did before I sent TERM to the script. The log shows: "got signal" warn, no proper HTTP-Headers for Apache & restarting the fcgi process at the first request "did request" at the second request So the TERM isnt delivered or processed by the script until the next Request from a browser!!! 2) Reboot. Starting Apache. Stopping Apache Running ps ax | grep scriptname.fcgi Its running!!!!! Starting Apache and stopping it again The fcgi is running 2 times!! This shouldnt be, should it? Can you give me some hint whats wrong or how I could do some further checking? I´m using SuSE 9.1 Perl 5.8.3 Apache 2.0.49 apache2_mod_fastcgi 2.4.0 I will test SuSE 9.2. After that I plan to compile some packages myself. Hope this will help. thanks Albert ___________________________________ fastcgi-developers mailing list http://fastcgi.com/fastcgi-developers/