#32 When logger output FD blocks everything blocks

Closed
opened 4 years ago by yannweb · 2 comments
yannweb commented 4 years ago

The logger’s output FD has to be non-blocking. Else dprintf(FD,…) will block forever freezing all processes trying to log (all of them…)

Including stderr if --verbose option given !

The logger's output FD has to be non-blocking. Else dprintf(FD,...) will block forever freezing all processes trying to log (all of them...) __Including stderr if --verbose option given !__
yannweb added this to the BETA version milestone 4 years ago
yannweb added the
bug
label 4 years ago
yannweb added the
_core
label 4 years ago
yannweb commented 4 years ago
Owner

The bug can be reproduce on stderr using --verbose argument, screen and siege. Entering in copy mode for a long time makes pyfcgi wait & freeze.

The bug can be reproduce on stderr using --verbose argument, screen and siege. Entering in copy mode for a long time makes pyfcgi wait & freeze.
yannweb changed title from Set logger output FD non-blocking to When logger output FD blocks everything blocks 4 years ago
yannweb commented 4 years ago
Owner

Syslog function logging to stderr continue to block all processes when passing in screen copy mode…

Syslog function logging to stderr continue to block all processes when passing in screen copy mode...
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
Cancel
Save
There is no content yet.