[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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 <suppressed> 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;
}


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.