Welcome! Log In Create A New Profile

Advanced

Re: Part of debug log in reply instead of reply if nginx runs under debugger.

Maxim Dounin
June 27, 2016 09:36AM
Hello!

On Mon, Jun 27, 2016 at 12:30:19PM +0300, Andrey Kulikov wrote:

> I stuck in rather strange situation: if I run nginx under debugger, and
> request zero-length file it gives me correct reply on first connection. But
> on second connection it reply it output part of debug log (what supposed to
> be written to debug log, but wasn't).
> At the same time if nginx runs normally (without debugger attached) -
> everything works as it should.
>
> Is is normal situation when nginx runs under debugger?

No, it's not. Though it looks like you are using 'master_process
off' and reloading the configuration:

[...]

> master_process off;

[...]

> 2016/06/27 12:24:30 [notice] 32736#0: signal 1 (SIGHUP) received, reconfiguring

This can cause various unexpected effects. If you didn't mean to
do a reload - check your debugger documentation if it's
responsible for this.

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

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

Part of debug log in reply instead of reply if nginx runs under debugger. Attachments

Andrey Kulikov 1159 June 27, 2016 05:32AM

Re: Part of debug log in reply instead of reply if nginx runs under debugger.

Maxim Dounin 198 June 27, 2016 09:36AM

Re: Part of debug log in reply instead of reply if nginx runs under debugger.

Andrey Kulikov 223 June 27, 2016 12:44PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

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