[syslog-ng] syslog-ng 3.3.1 quits at reload

Michael Hocke michael.hocke at nyu.edu
Tue Nov 29 19:10:39 CET 2011


-----BEGIN PGP SIGNED MESSAGE-----


On Nov 29, 2011, at 12:47 PM, Michael Hocke wrote:

> I just upgraded to 3.3.3 and I am still experiencing syslog-ng quitting on me after 16 HUPs: [ ... ]

Sorry for following up on my own posting. I just checked the OpenSolaris sources and it is definitely something specific to Solaris. The /dev/log device can only be cloned up to LOG_NUMCLONES times which is defined as 16 in <sys/log.h>. Every open call on /dev/log clones the device and since it seems that /dev/log is not closed when a HUP is received the number of clones accumulate until after the 16th HUP signal it tries to execute open64("/dev/log", O_RDONLY|O_NONBLOCK|O_NOCTTY) which results in an ENXIO error. Can this be fixed easily?

- - Michael


-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 10.0.3 (Build 1)
Charset: us-ascii

wsBVAwUBTtUgIZbfnpCg64TVAQEufgf+NDFPW2oHlmvT33CQCysBWiVFuWRjDv4n
4cHaT6H1bkxHf1D+PgGbNmgW0VUbQSS583BhsJf0JUkllc7NYn4DeE/5EwV+cd9G
LiRQWP9L3+RmXhmwxyx/STZiC3G54a2qStPZVyDBJkne8ixkggG86ddVQAYZsjMl
4Acb7psRfotrPFmAY+LGw5qQ7Qr6UW7TtrbyPTrBK2nvaMouUOfljnpduc4zn75M
6aECDDJEwsNBO8wSqvC6LmDyUkUOCO6yGlnXpPcb3anO9YvgxF5JAABkgRvuO1fl
HH9Bx+Z5dKVz//Zp1Bh8H16lCldaxI41+DjJHTd8U9OgIE6yzM7rFQ==
=ICpP
-----END PGP SIGNATURE-----


More information about the syslog-ng mailing list