You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Rocke Robertson <Ro...@PWGSC.GC.CA> on 2004/07/12 21:11:18 UTC

[users@httpd] RE: SUSPECT: Re: [users@httpd] apache 2.0.49 / Solaris 7 SPARC seg faults

Wow, that was fast. Yes, its all on Netapp disk or NFS. Infact I have a whole bunch of servers running off of that Netapp, and only one apache instance thats giving me trouble. I will look into this enablemmap & enablesendfile option.

Thanks very much.

~rocker

-----Original Message-----
From: Evan Borgstrom [mailto:evan.borgstrom@ca.mci.com]
Sent: Monday, July 12, 2004 2:58 PM
To: users@httpd.apache.org
Subject: SUSPECT: Re: [users@httpd] apache 2.0.49 / Solaris 7 SPARC seg
faults


Is your document root or where the script is running from a NFS mount?
MMAP and SendFile don't play well with NFS and cause segfaults.

 http://httpd.apache.org/docs-2.0/mod/core.html#enablemmap
 http://httpd.apache.org/docs-2.0/mod/core.html#enablesendfile

-Evan

On Mon, 2004-07-12 at 14:58, Rocke Robertson wrote:
> Hi all. Errors are:
> 
> [Sat Jul 10 22:33:38 2004] [error] (12)Not enough space: couldn't create child process: 12:404source.pl
> [Sat Jul 10 22:33:39 2004] [notice] child pid 9863 exit signal Segmentation fault (11)
> [Sat Jul 10 22:33:41 2004] [notice] child pid 15605 exit signal Segmentation fault (11)
> [Sat Jul 10 23:04:55 2004] [warn] child process 18901 still did not exit, sending a SIGTERM
> [Sat Jul 10 23:04:55 2004] [warn] child process 18901 still did not exit, sending a SIGTERM
> [Sat Jul 10 23:04:56 2004] [warn] child process 18901 still did not exit, sending a SIGTERM
> [Sat Jul 10 23:05:00 2004] [notice] caught SIGTERM, shutting down
> 
> This scenario happens a couple times a week. Apache server has trouble and dies a slow death. First line (12)Not enough space:    Does this mean its out of memory ? Because system logs dont substantiate this scenario. 
> 
> Here's how the server was built.
> 
>  ->$ ./httpd -V
> Server version: Apache/2.0.49
> Server built:   May 20 2004 08:41:24
> Server's Module Magic Number: 20020903:7
> Architecture:   32-bit
> Server compiled with....
>  -D APACHE_MPM_DIR="server/mpm/worker"
>  -D APR_HAS_MMAP
>  -D APR_USE_PROC_PTHREAD_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="/opt/apache_2.0.49"
>  -D SUEXEC_BIN="/opt/apache_2.0.49/sbin/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"
> 
> Many thanks.
> 



---------------------------------------------------------------------
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] RE: SUSPECT: Re: [users@httpd] apache 2.0.49 / Solaris 7 SPARC seg faults

Posted by Nick Kew <ni...@webthing.com>.
On Mon, 12 Jul 2004, Rocke Robertson wrote:

> Wow, that was fast. Yes, its all on Netapp disk or NFS. Infact I have a
  whole bunch of servers running off of that Netapp, and only one apache
  instance thats giving me trouble. I will look into this enablemmap &
  enablesendfile option.

Over and above that, the No space left on device error typically happens
when you have a shared memory segment left over from an unclean shutdown.
There's no evidence to suggest that's your problem, but it might be worth
checking you're not trying to access shm over nfs in any case.

-- 
Nick Kew

---------------------------------------------------------------------
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