httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Sabljak <steve.sabl...@bbc.co.uk>
Subject RE: ap2 , parent process in worker mpm dies under load
Date Fri, 14 Mar 2003 15:25:28 GMT
The problem also occurs in 32-bit mode. Here are the backtraces from
pstack and dbx.

-- core.httpd.25359.u0 (pstack) --
core '/var/core/core.httpd.25359.u0' of 25359:
             /usr/local/apache2/bin/httpd -f /etc/httpd2.conF
-----------------  lwp# 1 / thread# 1  --------------------
 00060408 server_main_loop (0, 6c8, 7, 0, 119af0, df6a0) + 338
 000609d8 ap_mpm_run (117d00, 141da8, 119af0, 119af0, 0, 0) + 580
 0006f1c0 main     (3, ffbefd6c, ffbefd7c, fd000, 0, 0) + e98
 00048d88 _start   (0, 0, 0, 0, 0, 0) + 108
-----------------  lwp# 2 / thread# 2  --------------------
 fefced24 sigaddset (ff0eb1c0, a, 0, 0, 0, 0) + 4c
 ff0be9b4 _sigredirect (a, ff0def98, 3, ff0e5930, ff0e5948, ff01f7b4) + 34
 ff0bee80 _dynamiclwps (ff0de000, ff3d19b4, ff3a0dd8, ff3e66c0, ff29e381, 0)
+ 148
 ff0c2030 thr_yield (0, 0, 0, 0, 0, 0) + 8c
-----------------  lwp# 4  --------------------------------
 ff0c9774 private___lwp_cond_wait (4, ff0ded9c, ff0de000, 0, 0, ff01f7b4) +
8
 ff0c6bc4 _sc_door_func (ffffffff, ff0df688, ff0df6a0, 3, ff0de000, 1) + 74
 ff0ba740 _lwp_start (fef65d70, 0, 6000, ffbef98c, 0, 0) + 18
 ff0c2030 thr_yield (0, 0, 0, 0, 0, 0) + 8c
--------------------------  thread# 3  --------------------
 ff0bddbc _reap_wait (ff0e29e0, 20520, 0, ff0de000, 0, 0) + 38
 ff0bdb14 _reaper  (ff0dee30, ff0e4740, ff0e29e0, ff0dee08, 1, fe400000) +
38
 ff0cb728 _thread_start (0, 0, 0, 0, 0, 0) + 40
-- core.httpd.25359.u0 (pstack) --

-- core.httpd.25359.u0 (dbx) --
t@1 (l@1) terminated by signal BUS (invalid address alignment)
Current function is server_main_loop
 1645           perform_idle_server_maintenance();
(/tool/lang9.1/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx) where
current thread: t@1
=>[1] server_main_loop(remaining_children_to_start = 0), line 1645 in
"worker.c"
  [2] ap_mpm_run(_pconf = 0x117d00, plog = 0x141da8, s = 0x119af0), line
1745 in "worker.c"
  [3] main(argc = 3, argv = 0xffbefd6c), line 644 in "main.c"
-- core.httpd.25359.u0 (dbx) --

-- core.httpd.8656.u0 (pstack) --
core '/var/core/core.httpd.8656.u0' of 8656:
             /usr/local/apache2/bin/httpd -f /etc/httpd2.conf
-----------------  lwp# 1 / thread# 1  --------------------
 ff2b8974 apr_proc_wait_all_procs (31, 45, 49, 1, 117d00, df46c) + 44
 0007be2c ap_wait_or_timeout (49, 45, 31, 117d00, 0, 0) + ac
 0006015c server_main_loop (0, 6c8, 7, 0, 119af0, df6a0) + 8c
-----------------  lwp# 2 / thread# 2  --------------------
 fefced24 sigaddset (ff0eb1c0, a, 0, 0, 0, 0) + 4c
 ff0be9b4 _sigredirect (a, ff0def98, 3, ff0e5930, ff0e5948, ff01f7b4) + 34
 ff0bee80 _dynamiclwps (ff0de000, ff3d19b4, ff3a0dd8, ff3e66c0, ff29e381, 0)
+ 148
 ff0c2030 thr_yield (0, 0, 0, 0, 0, 0) + 8c
-----------------  lwp# 4  --------------------------------
 ff0c9774 private___lwp_cond_wait (4, ff0ded9c, ff0de000, 0, 0, ff01f7b4) +
8
 ff0c6bc4 _sc_door_func (ffffffff, ff0df688, ff0df6a0, 3, ff0de000, 1) + 74
 ff0ba740 _lwp_start (fef65d70, 0, 6000, ffbef9e4, 0, 0) + 18
 ff0c2030 thr_yield (0, 0, 0, 0, 0, 0) + 8c
--------------------------  thread# 3  --------------------
 ff0bddbc _reap_wait (ff0e29e0, 20520, 0, ff0de000, 0, 0) + 38
 ff0bdb14 _reaper  (ff0dee30, ff0e4740, ff0e29e0, ff0dee08, 1, fe400000) +
38
 ff0cb728 _thread_start (0, 0, 0, 0, 0, 0) + 40
-- core.httpd.8656.u0 (pstack) --

-- core.httpd.8656.u0 (dbx) --
t@1 (l@1) terminated by signal BUS (invalid address alignment)
0xff2b8974:     <bad address 0xff2b8974>
Current function is ap_wait_or_timeout
  223       if (APR_STATUS_IS_EINTR(rv)) {
(/tool/lang9.1/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx) where
current thread: t@1
  [1] 0xff2b8974(0x31, 0x45, 0x49, 0x1, 0x117d00, 0xdf46c), at 0xff2b8973
=>[2] ap_wait_or_timeout(status = 0x49, exitcode = 0x45, ret = 0x31, p =
0x117d00), line 223 in "mpm_common.c"
dbx: warning: invalid frame pointer
-- core.httpd.8656.u0 (dbx) --

Regards,
Steve
-- 
Steve Sabljak                  | BBC Technology - Internet Operations
Tel: +44 (0) 1628 407708       | Maiden House, Vanwell Road
URL: http://support.bbc.co.uk  | Maidenhead, SL6 4UB

> -----Original Message-----
> From:	Jeff Trawick [SMTP:trawick@attglobal.net]
> Sent:	Monday, March 03, 2003 2:04 PM
> To:	dev@httpd.apache.org
> Subject:	Re: ap2 , parent process in worker mpm dies under load
> 
> Andre Breiler wrote:
> 
> > Hi,
> >
> > On Sun, 2 Mar 2003, Jeff Trawick wrote:
> >
> >
> > >Andre Breiler wrote:
> > >
> > >
> > >>the ap2 (2.0.43) parent process dies (but childs arn't) under load.
> > >>This is with worker mpm on solaris 8 (multiprocessor).
> 
> ...
> 
> > --- snip 1 ---
> > program terminated by signal BUS (Bus Error)
> > 0xffffffff7ee2c880:
> > Current function is ap_wait_or_timeout
> >   222       rv = apr_proc_wait_all_procs(ret, exitcode, status, 
> > APR_NOWAIT, p);
> > (/tool/lang9.1/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx) where
> >   [1] 0xffffffff7ee2c880(0xffffffff0000080e, 0xffffffff00000836, 
> > 0xffffffff0000083a, 0x1, 0x100133e58, 0x0), at 0xffffffff7ee2c87f
> > =>[2] ap_wait_or_timeout(status = 0xffffffff0000083a, exitcode = 
> > 0xffffffff00000836, ret = 0xffffffff0000080e, p = 0x100133e58), line 
> > 222 in "mpm_common.c"
> > dbx: warning: invalid frame pointer
> > --- snap core.httpd.323.u0 ---
> 
> Can you reproduce the problem in 32-bit mode?
> 
> If you run pstack on the core, does it display something similar?
> 
> Thanks!
> 
> 


BBCi at http://www.bbc.co.uk/

This e-mail (and any attachments) is confidential and may contain 
personal views which are not the views of the BBC unless specifically 
stated.
If you have received it in error, please delete it from your system, do 
not use, copy or disclose the information in any way nor act in 
reliance on it and notify the sender immediately. Please note that the 
BBC monitors e-mails sent or received. Further communication will 
signify your consent to this.


Mime
View raw message