Subject: | perl processes not terminated when stopping apache |
Hi!
The scripts run as FastCGI thats not the problem.
The problem is: They are not terminated when stopping or reloading Apache!
Everytime I restart Apache (when running as dynamic I have to do a
request of course)
another process is started. But it also runs when Apache is stopped.
So I get at least 5 unstopped processes when starting/stopping Apache
5-times!
I tried with SuSE 9.1 (mod_fastcgi 2.4.0) and 9.2 (mod_fastcgi 2.4.2).
First with the Apache2 and mod_fastcgi packages from SuSE CDs
and later also compiled mod_fastcgi myself. The same behavior in all
varations.
The example
perl.script on fastcgi.com works fine,
the counter grows as doing some requests.
Running "ps ax | grep fcgi" delivers two processes:
- fcgi-pm
- /usr/bin/perl /srv/.../test.fcgi
I stop apache with "/etc/rc.d/apache2 stop"
everything is beeing terminated.
Running "ps ax | grep fcgi" delivers:
- /usr/bin/perl/ /srv/.../test.fcgi
So the process-manager is stopped by Apache, but the perl script isn´t
stopped by the process manager!
Dont know if this is a bug in FCGI.pm or in mod_fastcgi or no bug at all. Hope you can tell and help.
thank you
Albert