ubuntu 14.04 uses upstart as it's init system and upstart does 'interesting' things to the ulimits, making it very hard to override them to enable coredumps or allow more than 1024 files

It turns out that you have to add an entry to /etc/init/rsyslog.conf (not to be confused with the script in /etc/init.d/rsyslog)

prior to the pre-start section, add a line like the following to enable coredumps

limit core unlimited unlimited

to increase the filehandles

limit nofile 10000 10000

the first value is the soft limit, the second the hard limit

if enabling core dumps, you may want to force them to be written somewhere other than /

add a line like the following to /etc/sysctl.conf

kernel.core_pattern = /var/log/core-%s-%p-%e


%p: pid
%%: output one '%'
%u: uid
%g: gid
%s: signal number
%t: UNIX time of dump
%h: hostname
%e: executable filename

David Lang
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to