In D33199#750858, @dmitry.wagin_ya.ru wrote:In my opinion, the original fix is indirectly related to the problem described by Alan.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed Advanced Search
Advanced Search
Advanced Search
Dec 1 2021
Dec 1 2021
In D33199#750852, @markj wrote:Yes, it's necessary to adjust SO_SNDBUF, but not sufficient. It does matter what size the buffer is on reception, libc should not assume that syslogd is the only possible receiver.
Of course, syslogd is not the only possible receiver. But there is no way for the sender to influence the receiver. syslog(3) should just not hang.
In D33199#750851, @asomers wrote:Real problem is not solved (infinite loop on sending).
The feature which is needed for real users is destroying in the RELEASE branch (log messages over 1kb).
What do you mean by "destroying in the RELEASE branch"?
In D33199#750825, @markj wrote:In D33199#750268, @dmitry.wagin_ya.ru wrote:Set SO_SNDBUF change what limit net.local.dgram.maxdgram=2048
I don't understand what you mean by this. As Alan pointed out, the value of SO_SNDBUF is not very important, it just controls the maximum size of a datagram. When a message is sent over a unix socket, the message is placed directly in the receive buffer. So, we need some other solution to enable large syslog messages.
I'm not sure about the SO_RCVPEERBUF idea: the receiver can change its recv buffer size at any time, so there's still some potential for problems. The default socket buffer sizes have been the same for a very long time, and I suspect that we can increase them without harm...
Nov 30 2021
Nov 30 2021
Set SO_SNDBUF change what limit net.local.dgram.maxdgram=2048
In D33199#750243, @markj wrote:Ok with me since it fixes a regression. I do wonder if it's finally time to up the default socket buffer sizes though. I'm a little surprised that rsyslog uses the default.
Mar 22 2021
Mar 22 2021
dmitry.wagin_ya.ru added inline comments to D27206: syslogd: Added -M option that limit maximum length of forwarded message.
dmitry.wagin_ya.ru updated the diff for D27206: syslogd: Added -M option that limit maximum length of forwarded message.
changed some messages
- fixed "#define" position
- revert some unimportant changes
dmitry.wagin_ya.ru changed the repository for D27205: libc: Some enhancements to syslog(3) from rS FreeBSD src repository - subversion to rG FreeBSD src repository.
Mar 14 2021
Mar 14 2021
dmitry.wagin_ya.ru added a comment to D27206: syslogd: Added -M option that limit maximum length of forwarded message.
ping
ping
Nov 13 2020
Nov 13 2020
added a cast to void
dmitry.wagin_ya.ru added inline comments to D27206: syslogd: Added -M option that limit maximum length of forwarded message.
dmitry.wagin_ya.ru updated the diff for D27206: syslogd: Added -M option that limit maximum length of forwarded message.
man:
Moved new sentences to new lines.
Added articles.
dmitry.wagin_ya.ru updated the summary of D27206: syslogd: Added -M option that limit maximum length of forwarded message.
dmitry.wagin_ya.ru added inline comments to D27206: syslogd: Added -M option that limit maximum length of forwarded message.
Oct 4 2020
Oct 4 2020
Oct 2 2020
Oct 2 2020
Aug 1 2020
Aug 1 2020
dmitry.wagin_ya.ru added a comment to D25907: Document automatic handling of font height for BDF files.
Font size for BDF font files is determined not only by FONTBOUNDINGBOX.