Re: -X and trapping kill?
Philippe M. Chiasson wrote: Bill Moseley wrote: Must be Monday. Is there a problem with the -X switch and prefork? I'm using: Apache/2.2.3 (Debian) mod_ssl/2.2.3 OpenSSL/0.9.8e mod_perl/2.0.2 Perl/v5.8.8 for Apache/2.x, Shouldn't that now be: $ httpd -DONE_PROCESS -DNO_DETACH This is happening on my setup also, Apache 2.2.3, mod_perl 2.0.3, perl 5.8.8, using a standard xterm to send the interrupt.
Re: -X and trapping kill?
Bill Moseley wrote: Must be Monday. Is there a problem with the -X switch and prefork? I'm using: Apache/2.2.3 (Debian) mod_ssl/2.2.3 OpenSSL/0.9.8e mod_perl/2.0.2 Perl/v5.8.8 for Apache/2.x, Shouldn't that now be: $ httpd -DONE_PROCESS -DNO_DETACH Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5 http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/ signature.asc Description: OpenPGP digital signature
Re: -X and trapping kill?
yes, but AFAIK -X is a shortcut for -DONE_PROCESS. But then I may be wrong but a quick check now shows me that using -DONE_PROCESS, apache2 ignores SIGINT On 9/18/07, Philippe M. Chiasson [EMAIL PROTECTED] wrote: Bill Moseley wrote: Must be Monday. Is there a problem with the -X switch and prefork? I'm using: Apache/2.2.3 (Debian) mod_ssl/2.2.3 OpenSSL/0.9.8e mod_perl/2.0.2 Perl/v5.8.8 for Apache/2.x, Shouldn't that now be: $ httpd -DONE_PROCESS -DNO_DETACH Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5 http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
-X and trapping kill?
Must be Monday. Is there a problem with the -X switch and prefork? I'm using: Apache/2.2.3 (Debian) mod_ssl/2.2.3 OpenSSL/0.9.8e mod_perl/2.0.2 Perl/v5.8.8 I have a very small config and when I run with -X it starts a single process but I can't control-C to kill it. I can't even kill from another xterm, I have to kill -9 it. Tried also on Ubuntu, but it's the same versions as above. -- Bill Moseley [EMAIL PROTECTED]
Re: -X and trapping kill?
Bill Moseley wrote: Must be Monday. Is there a problem with the -X switch and prefork? I'm using: Apache/2.2.3 (Debian) mod_ssl/2.2.3 OpenSSL/0.9.8e mod_perl/2.0.2 Perl/v5.8.8 I have a very small config and when I run with -X it starts a single process but I can't control-C to kill it. I can't even kill from another xterm, I have to kill -9 it. Tried also on Ubuntu, but it's the same versions as above. Just to rule out that it's not the terminal causing the problem, what happens if you run a program like this and ctrl+c? I'm not seeing the behavior you are describing with 2.2.4/2.0.3/5.8.8 on darwin. #!perl use strict; use warnings; $SIG{INT} = sub { warn('hello interrupt') }; while (1) { next; }
Re: -X and trapping kill?
Hi guys, this is a known issue reported at http://issues.apache.org/bugzilla/show_bug.cgi?id=38848 and not modperl related. On 9/18/07, Fred Moyer [EMAIL PROTECTED] wrote: Bill Moseley wrote: Must be Monday. Is there a problem with the -X switch and prefork? I'm using: Apache/2.2.3 (Debian) mod_ssl/2.2.3 OpenSSL/0.9.8e mod_perl/2.0.2 Perl/v5.8.8 I have a very small config and when I run with -X it starts a single process but I can't control-C to kill it. I can't even kill from another xterm, I have to kill -9 it. Tried also on Ubuntu, but it's the same versions as above. Just to rule out that it's not the terminal causing the problem, what happens if you run a program like this and ctrl+c? I'm not seeing the behavior you are describing with 2.2.4/2.0.3/5.8.8 on darwin. #!perl use strict; use warnings; $SIG{INT} = sub { warn('hello interrupt') }; while (1) { next; }