[syslog-ng] Too Many Open Files

Zeek Anow zeekstern at gmail.com
Tue Jan 13 15:34:53 CET 2009


We are running Solaris 9, syslog-ng 2.0.5,

We are getting:
Error opening file for writing; filename='/logs/combo/combo.log.01',
error='Too many open files (24)'

I went into the startup script, /etc/init.d/syslog-ng and tried to up the
limit by putting this in the startup section:

ulimit -n 4096.

When I stop and start syslog-ng and look at the ulimit settings, it still
shows 256.
core file size          (blocks, -c) unlimited
data seg size           (kbytes, -d) unlimited
file size               (blocks, -f) unlimited
open files                      (-n) 256
pipe size            (512 bytes, -p) 10
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 29995
virtual memory          (kbytes, -v) unlimited

Any ideas on how to set this?

Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20090113/8e54f306/attachment.htm 


More information about the syslog-ng mailing list