Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hslogger socket can block on sendTo #7

Open
pheaver opened this issue Jan 18, 2012 · 1 comment
Open

hslogger socket can block on sendTo #7

pheaver opened this issue Jan 18, 2012 · 1 comment

Comments

@pheaver
Copy link

pheaver commented Jan 18, 2012

We are on Linux. We just discovered that even though the socket is opened in datagram mode, writing to the /dev/log socket can still block if the queue is full, unless the socket is opened in nonblocking mode. This means that our application using hslogger will hang if syslog is broken. Alternatively, logging to localhost UDP 514 would also fix this problem.

@pheaver
Copy link
Author

pheaver commented Jun 23, 2012

ping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant