perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fred Moyer <f...@redhotpenguin.com>
Subject Re: -X and trapping kill?
Date Tue, 18 Sep 2007 04:34:00 GMT
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;
}

Mime
View raw message