You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jason Arden <ja...@rsna.org> on 2005/07/13 16:08:29 UTC

[users@httpd] Browser hangs when accessing Apache2 Server

I have had over 20 users report this happening only when trying to 
access pages on my server. It only happens once in awhile and I have 
experienced this as well. It will load have the page and then the 
browser goes into a Not Responding state.

I notice these errors in the error log....

[Wed Jul 13 09:03:49 2005] [info] (104)Connection reset by peer: 
core_output_filter: writing data to the network
[Wed Jul 13 09:04:08 2005] [notice] child pid 5797 exit signal 
Segmentation fault (11)
[Wed Jul 13 09:04:24 2005] [info] (104)Connection reset by peer: 
core_output_filter: writing data to the network
[Wed Jul 13 09:05:05 2005] [info] (104)Connection reset by peer: 
core_output_filter: writing data to the network
[Wed Jul 13 09:05:45 2005] [info] (32)Broken pipe: core_output_filter: 
writing data to the network

========

Server version: Apache/2.0.54
Server built:   Jun 29 2005 12:40:39
Server's Module Magic Number: 20020903:9
Architecture:   64-bit
Server compiled with....
  -D APACHE_MPM_DIR="server/mpm/worker"
  -D APR_HAS_SENDFILE
  -D APR_HAS_MMAP
  -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
  -D APR_USE_SYSVSEM_SERIALIZE
  -D APR_USE_PTHREAD_SERIALIZE
  -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
  -D APR_HAS_OTHER_CHILD
  -D AP_HAVE_RELIABLE_PIPED_LOGS
  -D HTTPD_ROOT="/home/www2"
  -D SUEXEC_BIN="/home/www2/bin/suexec"
  -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
  -D DEFAULT_ERRORLOG="logs/error_log"
  -D AP_TYPES_CONFIG_FILE="conf/mime.types"
  -D SERVER_CONFIG_FILE="conf/httpd.conf"

========


Does anyone have any ideas on how I can track down what is causing 
these.. especially the Seg fault?

Thanks much!

-J



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Browser hangs when accessing Apache2 Server

Posted by Joshua Slive <js...@gmail.com>.
On 7/13/05, Jason Arden <ja...@rsna.org> wrote:
> OK I have enabled mod_log_forensic and have run the check_forensic
> script.  The files that it shows are just random PHP scripts, it even
> shows some images.   CoreDumpDirectory doesnt seem to be leaving me any
> information.  Whats next?

Well, it seems you are using the worker mpm with PHP.  Do you
understand all the thread safety issues?  Have you verified that all
the libraries being used by PHP are thread safe?  If not, switch to
the perfork mpm or to a cgi/fastcgi version of PHP.

When a thread crashes, it will take down the whole process, meaning
that some requests will be victums of other requests doing bad things.
 That's probably why you see images showing up in check_forensic.

If you are confident that thread safety is not the issue, then you
need to get to debugging.  The method of assuring that a core file
will be created is very operating-system specific.  At minimum, you
need to check your ulimit settings.  Then you need to figure out how
to debug a multi-threaded core.  I don't have any experience with
that.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Browser hangs when accessing Apache2 Server

Posted by Jason Arden <ja...@rsna.org>.
OK I have enabled mod_log_forensic and have run the check_forensic 
script.  The files that it shows are just random PHP scripts, it even 
shows some images.   CoreDumpDirectory doesnt seem to be leaving me any 
information.  Whats next?

-J

Joshua Slive wrote:
> On 7/13/05, Jason Arden <ja...@rsna.org> wrote:
> 
>>Does anyone have any ideas on how I can track down what is causing
>>these.. especially the Seg fault?
> 
> 
> See the CoreDumpDirectory directive to try to get a core dump to debug.
> 
> See mod_log_forensic for a way to isolate which requests are not completing.
> 
> Joshua.
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Browser hangs when accessing Apache2 Server

Posted by Joshua Slive <js...@gmail.com>.
On 7/13/05, Jason Arden <ja...@rsna.org> wrote:
> Does anyone have any ideas on how I can track down what is causing
> these.. especially the Seg fault?

See the CoreDumpDirectory directive to try to get a core dump to debug.

See mod_log_forensic for a way to isolate which requests are not completing.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org