LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] syslog lockup

[ILUG] syslog lockup

Nick Hilliard nick at iol.ie
Fri Mar 10 17:23:47 GMT 2000


> My working theory is that syslogging started blocking for some
> reason, thus stalling anything that wanted to log anything (which
> stalls named, anything with tcpwrappers, mail, news, etc).

I have seen this behaviour before several times.  However, the code-base for
syslogd on RH has changed at least several times since then, so who knows if
it's the same bug now as then.  The applications block when trying to write
to the syslog pipe, so calls to syslog() never return and programs hang.

> I think the discussion was whether the syslog libc function should
> open /dev/log in blocking or non-blocking mode.  If it opens it in
> blocking mode and syslogd dies, then all apps will block on writing
> to /dev/log.  Does this ring a bell with anyone?

On the grounds that things start working again when you kill syslogd, this
doesn't sound correct.  It's syslogd which goes tits up and which causes the
write processes to block.

Nick




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell