You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Chief Gadgeteer <ga...@elegantinnovations.org> on 2002/12/21 00:32:50 UTC

[users@httpd] apr_proc_mutex_lock failed

Hi,

When I start httpd-2.0.43 (linux-2.4.19 based system) the error_log
grows rapidly i.e. cycles the lock/unlock failed messages.  I am running
the server as an unprivileged user so I think it is a simple matter of
re-setting the permission on the appropriate file.

tail error_log
[.....]
[Fri Dec 20 14:38:30 2002] [emerg] (13)Permission denied:
apr_proc_mutex_lock failed. Attempting to shutdown process gracefully.
[Fri Dec 20 14:38:30 2002] [emerg] (13)Permission denied:
apr_proc_mutex_unlock failed. Attempting to shutdown process gracefully.
[Fri Dec 20 14:38:30 2002] [notice] caught SIGTERM, shutting down

Looked at the files in ~/httpd-2.0.43/srclib/apr/locks/unix/
Unfortunately, I am not good enough at following source code to figure
out which file it is trying to lock/unlock.

-- 
Chief Gadgeteer
Elegant Innovations


---------------------------------------------------------------------
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] apr_proc_mutex_lock failed

Posted by Chief Gadgeteer <ga...@elegantinnovations.org>.
Some additional info I should have include in my OP.

--with-mpm=perchild
--enable-mods-shared=all

On Fri, 2002-12-20 at 16:32, Chief Gadgeteer wrote:
> [Fri Dec 20 14:38:30 2002] [emerg] (13)Permission denied:
> apr_proc_mutex_lock failed. Attempting to shutdown process gracefully.

Did not know what a "mutex" was earlier.  The permission denied still
looks like it is trying to write to a directory it does not have
permission.

~/mpm/experimental/perchild/

     apr_thread_mutex_lock(pipe_of_death_mutex)

and the playing of a lottery.  Someone is either have fun or needs to
switch to de-caff.  :-)

hum... just found the error message in
~/mpm/experimental/threadpool/threadpool.c

I wonder if I am digging too deep?

-- 
Chief Gadgeteer
Elegant Innovations


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