Page MenuHomeFreeBSD

dmitry.wagin_ya.ru (Dmitry Wagin)
User

Projects

User does not belong to any projects.

User Details

User Since
Sep 6 2018, 6:18 AM (205 w, 2 d)

Recent Activity

Dec 1 2021

dmitry.wagin_ya.ru added a comment to D33199: Revert "libc: Some enhancements to syslog(3)".

In my opinion, the original fix is indirectly related to the problem described by Alan.

Dec 1 2021, 6:10 PM
dmitry.wagin_ya.ru added a comment to D33199: Revert "libc: Some enhancements to syslog(3)".

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.

Dec 1 2021, 5:58 PM
dmitry.wagin_ya.ru added a comment to D33199: Revert "libc: Some enhancements to syslog(3)".

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"?

Dec 1 2021, 5:47 PM
dmitry.wagin_ya.ru added a comment to D33199: Revert "libc: Some enhancements to syslog(3)".

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...

Dec 1 2021, 5:14 PM

Nov 30 2021

dmitry.wagin_ya.ru added a comment to D33199: Revert "libc: Some enhancements to syslog(3)".

Set SO_SNDBUF change what limit net.local.dgram.maxdgram=2048

Nov 30 2021, 6:25 PM
dmitry.wagin_ya.ru added a comment to D33199: Revert "libc: Some enhancements to syslog(3)".

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.

Nov 30 2021, 6:10 PM

Mar 22 2021

dmitry.wagin_ya.ru added inline comments to D27206: syslogd: Added -M option that limit maximum length of forwarded message.
Mar 22 2021, 9:16 PM
dmitry.wagin_ya.ru updated the diff for D27206: syslogd: Added -M option that limit maximum length of forwarded message.

changed some messages

Mar 22 2021, 9:14 PM
dmitry.wagin_ya.ru updated the diff for D27205: libc: Some enhancements to syslog(3).
  • fixed "#define" position
  • revert some unimportant changes
Mar 22 2021, 9:05 PM
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 22 2021, 9:00 PM

Mar 14 2021

dmitry.wagin_ya.ru added a comment to D27206: syslogd: Added -M option that limit maximum length of forwarded message.

ping

Mar 14 2021, 7:20 PM
dmitry.wagin_ya.ru added a comment to D27205: libc: Some enhancements to syslog(3).

ping

Mar 14 2021, 7:19 PM

Nov 13 2020

dmitry.wagin_ya.ru updated the diff for D27205: libc: Some enhancements to syslog(3).

added a cast to void

Nov 13 2020, 9:57 PM
dmitry.wagin_ya.ru added inline comments to D27205: libc: Some enhancements to syslog(3).
Nov 13 2020, 9:55 PM
dmitry.wagin_ya.ru added inline comments to D27206: syslogd: Added -M option that limit maximum length of forwarded message.
Nov 13 2020, 5:17 PM
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.

Nov 13 2020, 5:15 PM
dmitry.wagin_ya.ru updated the summary of D27206: syslogd: Added -M option that limit maximum length of forwarded message.
Nov 13 2020, 5:01 PM
dmitry.wagin_ya.ru added inline comments to D27206: syslogd: Added -M option that limit maximum length of forwarded message.
Nov 13 2020, 5:00 PM
dmitry.wagin_ya.ru requested review of D27206: syslogd: Added -M option that limit maximum length of forwarded message.
Nov 13 2020, 3:29 PM
dmitry.wagin_ya.ru requested review of D27205: libc: Some enhancements to syslog(3).
Nov 13 2020, 3:24 PM

Oct 4 2020

dmitry.wagin_ya.ru updated the diff for D26644: syslogd: fixed hostname processing and optimizing timestamp parsing for RFC 5424.
Oct 4 2020, 2:46 PM

Oct 2 2020

dmitry.wagin_ya.ru updated the summary of D26644: syslogd: fixed hostname processing and optimizing timestamp parsing for RFC 5424.
Oct 2 2020, 4:17 PM
dmitry.wagin_ya.ru requested review of D26644: syslogd: fixed hostname processing and optimizing timestamp parsing for RFC 5424.
Oct 2 2020, 4:10 PM

Aug 1 2020

bofh renamed dmitry.wagin_ya.ru from dmitry.wagin to dmitry.wagin_ya.ru.
Aug 1 2020, 4:01 PM
bofh renamed dmitry.wagin_ya.ru from dmitry.wagin_ya.ru to dmitry.wagin.
Aug 1 2020, 3:40 PM
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.

Aug 1 2020, 2:57 PM