panic: MUTEX_LOCK (22) [op.c:352].

merlin corey merlincorey at dc949.org
Sat Jan 30 02:38:10 MSK 2010


On Fri, Jan 29, 2010 at 11:56 AM, Pavel Pragin
<Pavel.Pragin at solutionset.com> wrote:
> I am getting these in the Ngnix error log. The app freezes up an needs to be
> restarted. Please help.
>
>
>
> Error:
>
> panic: MUTEX_LOCK (22) [op.c:352].
>
> panic: MUTEX_LOCK (22) [op.c:352].
>
>
>
> Info:
>
> [root at upload1:/home/ppragin/nginx-0.7.64] /usr/local/nginx/sbin/nginx -V
>
> nginx version: nginx/0.7.64
>
> built by gcc 4.1.2 20071124 (Red Hat 4.1.2-42)
>
> configure arguments: --without-http_upstream_ip_hash_module
>
>
>
> Pavel Pragin
> solutionset
> P: 650.328.3900   F: 650.328.3901  M: 408.806.8621   275 Alma Street, Palo
> Alto, CA 94301
> ppragin at solutionset.com
>
> This message is intended for the addressee(s) only and may contain
> confidential or privileged
> information. Any use of this information by persons other than addressee(s)
> is prohibited. If you
> have received this message in error, please reply to the sender and delete
> or destroy all copies.
>
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>
>

As you were told in the channel:

$ pwd | tail -c 19 && find . | grep op\.c | wc -l
nginx/nginx-0.8.32
0

And a minute of searching tells me why:
http://forum.nginx.org/read.php?2,3811

Apparently it is a problem with perl being threaded.  Either build
perl non-threaded or build nginx without perl.

-- Merlin



More information about the nginx mailing list