๐Ÿ’พ Archived View for bbs.geminispace.org โ€บ u โ€บ tjp โ€บ 11709 captured on 2023-11-14 at 09:07:56. Gemini links have been rewritten to link to archived content

View Raw

More Information

โžก๏ธ Next capture (2023-12-28)

-=-=-=-=-=-=-

Comment by ๐ŸŒŠ tjp

Re: "help debugging likely disk write issue?"

In: s/FreeBSD

I finally figured this out.

Based on the frequency of the problem arising I thought it might be connected with svlogd's log rotation, and the svlogd manpage refers to a possibility of it locking up when an external log file processor fails. So to induce it more quickly I reduced the max log file size and generated a bunch of traffic to my server with a shell script.

I was using the !processor functionality of svlogd to run rotated log files through a script (`!gzip`), but also starting svlogd with `chpst -p 1`, which sets a soft limit of 1 process. I removed that limit and it works fine now.

๐ŸŒŠ tjp

19 hours ago

Original Post

๐ŸŒ’ s/FreeBSD

help debugging likely disk write issue? โ€” I have a server service running in a freebsd server I manage, which is connected via a pipe to a logging service which writes to disk. Periodically (generally after a few weeks), the server entirely stops doing anything. It doesn't respond to any requests, and even after a restart it doesn't bind to any ports and none of the usual startup log messages come through. The only way I've found to get it un-stuck is to restart the logging service in the...

๐Ÿ’ฌ tjp ยท 8 comments ยท Nov 07 ยท 7 days ago