Grzegorz Nosek
June 26, 2009 09:19AM
On Fri, Jun 26, 2009 at 09:06:36AM -0400, meto wrote:
> There's been a massacre at 3pm for nginx procs:
> 2009/06/26 14:56:35 3039#0: worker process 3040 exited on signal 11
> 2009/06/26 14:56:35 3039#0: worker process 3043 exited on signal 11
> 2009/06/26 14:56:36 3039#0: worker process 3041 exited on signal 11
> 2009/06/26 14:56:36 3039#0: worker process 6622 exited on signal 11
> 2009/06/26 14:56:36 3039#0: worker process 3042 exited on signal 11
> 2009/06/26 14:56:36 3039#0: worker process 6625 exited on signal 11
> 2009/06/26 14:56:36 3039#0: worker process 6623 exited on signal 11
> 2009/06/26 14:56:36 3039#0: worker process 6626 exited on signal 11
> 2009/06/26 14:56:36 3039#0: worker process 6627 exited on signal 11
> 2009/06/26 14:56:37 3039#0: worker process 6624 exited on signal 11
> 2009/06/26 14:56:37 3039#0: worker process 6630 exited on signal 11
> 2009/06/26 14:56:37 3039#0: worker process 6631 exited on signal 11
> 2009/06/26 14:56:37 3039#0: worker process 6632 exited on signal 11
> 2009/06/26 14:56:39 3039#0: worker process 6633 exited on signal 11
> 2009/06/26 14:56:39 3039#0: worker process 6634 exited on signal 11
>
> That's also viewable on the graph (http://xgame.pl/nginx/), but no coredump was saved due to chmod i believe :/ So, that was a good guess with workers dieing. I'll try to provide coredumps later on.

Compile Nginx --with-cc-opt="-O0 -g3" first. It will be a bit slower
(and noticeably larger) but should be easier to debug compared to
tightly optimised release code.

Are you using any addon modules/3rd party patches?

> The second question is why were there so many of them, since i've set worker numer to 4 and affinity proc/core. maybe thets the problem?

If you're on anyhow modern Linux, try something like this:

mkdir -p /var/lib/core
chmod 1733 /var/lib/core
echo /var/lib/core/core.pid%p.sig%s.%t > /proc/sys/kernel/core_pattern

And restart Nginx with unlimited core dump size, just to be sure:

killall nginx
ulimit -c unlimited
nginx

I have never seen Nginx segfault (apart from my own hacks), so
congratulations, I guess :)

Best regards,
Grzegorz Nosek
Subject Author Posted

Keep Alive piles up

meto June 25, 2009 10:07AM

Re: Keep Alive piles up

Maxim Dounin June 25, 2009 12:33PM

Re: Keep Alive piles up

meto June 25, 2009 03:49PM

Re: Keep Alive piles up

Maxim Dounin June 25, 2009 05:10PM

Re: Keep Alive piles up

meto June 25, 2009 06:25PM

Re: Keep Alive piles up

Maxim Dounin June 25, 2009 07:47PM

Re: Keep Alive piles up

meto June 26, 2009 02:00AM

Re: Keep Alive piles up

meto June 26, 2009 08:02AM

Re: Keep Alive piles up

meto June 26, 2009 09:06AM

Re: Keep Alive piles up

Grzegorz Nosek June 26, 2009 09:19AM

Re: Keep Alive piles up

meto June 26, 2009 09:53AM

Re: Keep Alive piles up

Grzegorz Nosek June 26, 2009 10:17AM

Re: Keep Alive piles up

meto June 26, 2009 10:43AM

Re: Keep Alive piles up

meto June 26, 2009 01:17PM

Re: Keep Alive piles up

Grzegorz Nosek June 26, 2009 02:03PM

Re: Keep Alive piles up

meto June 26, 2009 02:42PM

Re: Keep Alive piles up

meto June 26, 2009 03:03PM

Re: Keep Alive piles up

meto June 26, 2009 03:54PM

Re: Keep Alive piles up

Grzegorz Nosek June 26, 2009 04:04PM

Re: Keep Alive piles up

meto June 26, 2009 06:10PM

Re: Keep Alive piles up

meto June 26, 2009 06:29PM

Re: Keep Alive piles up

Grzegorz Nosek June 27, 2009 04:23AM

Re: Keep Alive piles up

meto June 27, 2009 06:02AM

Re: Keep Alive piles up

Grzegorz Nosek June 27, 2009 06:50AM

Re: Keep Alive piles up

meto June 27, 2009 07:34AM

Re: Keep Alive piles up

meto June 27, 2009 07:40AM

Re: Keep Alive piles up

meto June 27, 2009 08:48AM

Re: Keep Alive piles up

Tomasz Pajor June 28, 2009 03:58AM

Re: Keep Alive piles up

meto June 28, 2009 05:29AM

Re: Keep Alive piles up

Maxim Dounin June 29, 2009 06:38AM

Re: Keep Alive piles up

meto June 29, 2009 09:43AM

Re: Keep Alive piles up

meto June 29, 2009 10:18AM

Re: Keep Alive piles up

Maxim Dounin June 29, 2009 11:55AM

Re: Keep Alive piles up

Maxim Dounin June 29, 2009 10:46AM

Re: Keep Alive piles up

meto June 29, 2009 11:32AM

Re: Keep Alive piles up

meto June 29, 2009 11:34AM

Re: Keep Alive piles up

Maxim Dounin June 29, 2009 12:10PM

Re: Keep Alive piles up

meto June 29, 2009 01:00PM

Re: Keep Alive piles up

Maxim Dounin June 29, 2009 02:21PM

Re: Keep Alive piles up

meto June 29, 2009 03:27PM

Re: Keep Alive piles up

Maxim Dounin June 29, 2009 04:18PM

Re: Keep Alive piles up

Toni Mueller July 16, 2009 05:55AM

Re: Keep Alive piles up

Maxim Dounin July 16, 2009 12:20PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 294
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready