Welcome! Log In Create A New Profile

Advanced

Re: nginx core dump explodes

Maxim Dounin
June 20, 2016 02:26PM
Hello!

On Fri, Jun 17, 2016 at 07:30:26AM -0400, martinproinity wrote:

> nginx version: nginx/1.11.1
> built with OpenSSL 1.0.2h 3 May 2016
>
> I try to debug those alerts currently, which only appear after a reload:
>
> 2016/06/17 13:10:49 [alert] 14624#0: *15709 open socket #626 left in
> connection 628
>
> I compiled nginx with --with-debug and set the flags CFLAGS="-g -O0"
> ./configure...
>
> The following core dump settings are defined:
>
> debug_points abort;
> working_directory /var/tmp/cores/;
> worker_rlimit_core 512M;
> error_log /var/log/nginx/error.log debug;
>
> I can see that it starts to generate the core file but it becomes very large
> (>500GB) and removes it at the end.
>
> Any idea what I'm doing wrong here?

The "worker_rlimit_core 512M" line in your configuration suggests
that the kernel should not generate core files bigger than 512M.
If a worker process core takes more than that, the behaviour you
describe looks more or less normal.

--
Maxim Dounin
http://nginx.org/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx core dump explodes

martinproinity June 17, 2016 07:30AM

Re: nginx core dump explodes

Maxim Dounin June 20, 2016 02:26PM

Re: nginx core dump explodes

martinproinity June 21, 2016 02:08AM

Re: nginx core dump explodes

Maxim Dounin June 21, 2016 09:36AM

Re: nginx core dump explodes

martinproinity June 21, 2016 04:00PM

Re: nginx core dump explodes

Valentin V. Bartenev June 22, 2016 06:44AM

Re: nginx core dump explodes

martinproinity June 22, 2016 09:11AM

Re: nginx core dump explodes

Valentin V. Bartenev June 22, 2016 10:28AM

Re: nginx core dump explodes

martinproinity June 22, 2016 11:31AM

Re: nginx core dump explodes

martinproinity June 22, 2016 02:50PM

Re: nginx core dump explodes

Valentin V. Bartenev June 22, 2016 02:36PM

Re: nginx core dump explodes

Valentin V. Bartenev June 22, 2016 03:48PM

Re: nginx core dump explodes

martinproinity June 23, 2016 04:58AM

Re: nginx core dump explodes

Valentin V. Bartenev June 23, 2016 01:42PM

Re: nginx core dump explodes

martinproinity June 23, 2016 01:58PM

Re: nginx core dump explodes

Valentin V. Bartenev June 23, 2016 02:26PM

Re: nginx core dump explodes

martinproinity June 28, 2016 02:30AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 319
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