[syslog-ng]Syslog Logging Delay

Balazs Scheidler bazsi@balabit.hu
Fri, 30 Mar 2001 09:27:36 +0200


On Thu, Mar 29, 2001 at 12:43:36PM -0500, Brian E. Seppanen wrote:
> On Thu, 29 Mar 2001, Balazs Scheidler wrote:
> 
> 
> > something seems to block syslog-ng. DNS maybe? syslog-ng issues a dns lookup
> > for every message if DNS is turned on. What is fd=3 ? It indicates
> > readability, but as it seems reading from it blocks.
> 
> How would I determine what that correlates too?

if you have the full strace log from startup, you should see where syslog-ng
opens fd #3 by examining the return values from open() or socket(). If you
don't, you could still check /proc/<pid>/fd/ directory where the symlink
named #3 points to, or use lsof -p <pid>

-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1