httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Administrator <ad...@daily-net.jp>
Subject Re: [users@httpd] Urgent!!!Apache Restart Problem
Date Thu, 07 Apr 2005 09:07:14 GMT
On Thu, 07 Apr 2005 09:29:53 +0100
Nick Kew <nick@webthing.com> wrote:

> Administrator wrote:
> 
> > [Thu Apr 07 10:45:19 2005] [warn] child process 6971 still did not exit, sending
a SIGTERM
> > [Thu Apr 07 10:45:19 2005] [warn] child process 6475 still did not exit, sending
a SIGTERM
> > [huge list chopped]
> 
> So, you seem to have something that's not shutting down cleanly.
what did you mean "not shutting down clealy"?
The way I am shutting down apache after I've changed httpd.conf is 
>/etc/init.d/httpd reload 
By the way, every day logrotate also restarts Apache
/bin/kill -USR1 `cat /var/run/httpd.pid 2>/dev/null` 2> /dev/null || true

So what I supposed to do to restart Apache more properly?

> > [Thu Apr 07 10:45:25 2005] [notice] mod_python: Creating 32 session mutexes based
on 250 max processes and 0 max threads.
> 
> That looks like a possible culprit, in view of the following
> 
> > [Thu Apr 07 10:45:25 2005] [error] (28)No space left on device: mod_python: Failed
to create global mutex 16 of 32 (/tmp/mpmtx702816).
> > [Thu Apr 07 10:45:25 2005] [error] mod_python: We can probably continue, but with
diminished ability to process session locks.
> > [Thu Apr 07 10:45:25 2005] [error] mod_python: Hint: On Linux, the problem may be
the number of available semaphores, check 'sysctl kernel.sem'
> > [Thu Apr 07 10:45:25 2005] [emerg] (28)No space left on device: Couldn't create
accept lock
> > 
> 
> Did you *read* those messages?  How many semaphores are left over from
> your unclean shutdown?  RTFM ipcs, and remove them.
Unfortunately , I couldn't see the semaphore status as I rebooted server
entirely.

After all what shall I do not to happen again such problem?
 
> -- 
> 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
> 

-- 
Administrator <admin@daily-net.jp>



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


Mime
View raw message