httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Eror <n...@baremetal.com>
Subject Re: Children blocking USR1
Date Fri, 24 May 2002 20:43:01 GMT
On 24 May 2002, Lee Fellows wrote:

Hi Lee, Thank you for the responce.

>   Thank you for the listing.  I am still puzzled, though.
> Why do you think you are having problems with the child processes
> ignoring SIGUSR1?

Sorry for being unclear. The new processes that are forked to handle load
when the site is busy never go away. When I send USR1 to the children from
the command line I never see it in the trace and the process never goes
dies. It does however, repsond to -HUP.

>
>   It looks like you are investigating this well.  Unfortunately, it
> is unclear, at least to me, why you believe there is a problem to begin
> with.  The trace does not show source line numbers, making correlation
> back to the source problematic.  I am suspicious, without other
> information, that what I am seeing in the trace is normal.

Sorry about that, I can provide whatever you need, might have to spell it
out to me though :-) usually when I trace the process I just envoke strace
-p $pid

Thanks,
Nathan

>
> On Fri, 2002-05-24 at 15:43, Nathan Eror wrote:
> >
> > Thanks for your reply Lee,
> >
> > >   Why do you think the child processes are not receiving/iqnoring
> > > SIGUSR1?
> >
> > Please bear with me. I am a newbie, but from what I can tell the children
> > are ingnoring/blocking the signal.I think sigaction is setting the signal
> > to ignore and it is never getting "unset". Here is what I *think* is
> > relivent that came out of the strace:
> >
> > 18:05:51 sigaction(SIGUSR1, {SIG_IGN}, {SIG_IGN}) = 0
> > 18:05:53 sigaction(SIGUSR1, {0x8140320, [], SA_STACK|0x220e9c}, {SIG_IGN})
> > = 0
> > 18:06:13 sigaction(SIGUSR1, {SIG_IGN}, {0x8140320, [], SA_NOCLDSTOP|0xb6})
> > = 0
> > 18:06:13 sigaction(SIGUSR1, {SIG_IGN}, {SIG_IGN}) = 0
> > 18:06:15 sigaction(SIGUSR1, {0x8140320, [], SA_STACK|0x220ea4}, {SIG_IGN})
> > = 0
> > 18:06:46 sigaction(SIGUSR1, {SIG_IGN}, {0x8140320, [], 0xba}) = 0
> > 18:06:46 sigaction(SIGUSR1, {SIG_IGN}, {SIG_IGN}) = 0
> > 18:06:46 sigaction(SIGUSR1, {0x8140320, [], SA_STACK|0x22069c}, {SIG_IGN})
> > = 0
> > 18:06:48 sigaction(SIGUSR1, {SIG_IGN}, {0x8140320, [],
> > SA_STACK|SA_RESTART|SA_INTERRUPT|SA_ONESHOT|0x7ffda28}) = 0
> > 18:06:48 sigaction(SIGUSR1, {0x8140320, [], SA_STACK|0x35519c}, {SIG_IGN})
> > = 0
> > 18:06:49 sigaction(SIGUSR1, {SIG_IGN}, {0x8140320, [],
> > SA_STACK|SA_RESTART|SA_INTERRUPT|SA_ONESHOT|0x7ffda28}) = 0
> > 18:06:49 sigaction(SIGUSR1, {0x8140320, [], SA_STACK|0x35519c}, {SIG_IGN})
> > = 0
> > 18:06:49 sigaction(SIGUSR1, {SIG_IGN}, {0x8140320, [],
> > SA_STACK|SA_RESTART|SA_INTERRUPT|SA_ONESHOT|0x7ffda28}) = 0
> > 18:06:49 sigaction(SIGUSR1, {0x8140320, [], SA_STACK|0x35519c}, {SIG_IGN})
> > = 0
> > 18:06:55 sigprocmask(SIG_SETMASK, [USR1], NULL) = 0
> >
> > Thanks again for your time,
> > Nathan
> >
> > >
> > >
> > > On Fri, 2002-05-24 at 14:50, Nathan Eror wrote:
> > > >
> > > >   Hello all,
> > > >     I am new to the list so please be gentle :-)  I have a problem where
> > > > apache children never go away. It looks like they never get the SIGUSR1
> > > > from the parent or, even if you send it from the command line via kill.
> > > >
> > > >  Relivent parts are:
> > > > Server version: Apache/1.3.24 (Unix)
> > > > /var/www/bin/httpd.php -l
> > > >
> > > > Compiled-in modules:
> > > >   http_core.c
> > > >   mod_env.c
> > > >   mod_log_config.c
> > > >   mod_log_agent.c
> > > >   mod_mime.c
> > > >   mod_negotiation.c
> > > >   mod_status.c
> > > >   mod_info.c
> > > >   mod_include.c
> > > >   mod_autoindex.c
> > > >   mod_dir.c
> > > >   mod_cgi.c
> > > >   mod_asis.c
> > > >   mod_imap.c
> > > >   mod_actions.c
> > > >   mod_speling.c
> > > >   mod_userdir.c
> > > >   mod_alias.c
> > > >   mod_rewrite.c
> > > >   mod_access.c
> > > >   mod_auth.c
> > > >   mod_proxy.c
> > > >   mod_setenvif.c
> > > >   mod_php4.c
> > > > suexec: enabled; valid wrapper /var/www/bin/suexec
> > > >
> > > > cat /proc/$childpid/status
> > > >
> > > > Name:	httpd.php.bin
> > > > State:	S (sleeping)
> > > > Pid:	29194
> > > > PPid:	27084
> > > > Uid:	8080	8080	8080	8080
> > > > Gid:	2886	2886	2886	2886
> > > > VmSize:	    6480 kB
> > > > VmLck:	       0 kB
> > > > VmRSS:	    3696 kB
> > > > VmData:	    2076 kB
> > > > VmStk:	     116 kB
> > > > VmExe:	    1416 kB
> > > > VmLib:	    2368 kB
> > > > SigPnd:	00000000
> > > > SigBlk:	00000200
> > > > SigIgn:	00001200
> > > > SigCgt:	00406c6b
> > > >
> > > >
> > > > Thanks for your Time,
> > > > Nathan
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > > > For additional commands, e-mail: users-help@httpd.apache.org
> > > >
> > > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > > For additional commands, e-mail: users-help@httpd.apache.org
> > >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message