httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Cutright <acutri...@borland.com>
Subject Re: Children blocking USR1
Date Fri, 24 May 2002 20:30:46 GMT
my two cents,

are you using apachectl to start & stop the server?

cheers,
andy

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

--
Borland -- Enabling a new digital world where our customers have the
freedom of choice to develop, deploy, and integrate applications across
the enterprise and  the Internet. http://www.borland.com

Don't miss the 13th Annual Borland® Conference, May 18-22 in Anaheim,
California. Hundreds of sessions are being offered  to help you enable
the new digital world  with best-in-class solutions for Web Services,
Java™ technologies, mobile and enterprise computing, cross-platform
development, .NET™ and J2EE™  platform technologies, and more!
Register today! http://www.borland.com/conf2002

This e-mail, and any attachments thereto, is intended only for use by the
addressee(s) named herein and may contain legally privileged and/or confidential

information.  If you are not the intended recipient of this e-mail, you are
hereby
notified that any dissemination, distribution or copying of this e-mail, and any

attachments thereto, is strictly prohibited.  If you have received this e-mail
in
error,
please immediately and permanently delete the original and any copy of any
e-mail
and any printout thereof.



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


Mime
View raw message