Hello, world!\n
> I find the behavior surprising, as bird in all other situations that I am
> aware of does not block on IO operations. It only uses blocking IO when
> writing to the log file.
Unfortunately, non-blocking operations on plain files are not supported
by most operating systems, including Linux.
Blocking for 40 seconds is a pathological case, which should not happen
on properly configured systems. Which kernel do you use?
BTW, even using syslog is not 100% safe, because the socket used for
logging can saturate its buffers if there is long-term disk contention.
Have a nice fortnight
--
Martin `MJ' Mares <[email protected]> http://mj.ucw.cz/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
Lisp Users: Due to the holiday, there will be no garbage collection on Monday.