You'll need to disable imklog or rsyslogd won't start:
module(load="imklog") # provides kernel logging support
This is essential unless you give full privileges to your container.
Here is a full working rsyslog config in Ubuntu/Debian:
module(load="imuxsock") # provides support for local system logging
$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
$FileOwner root........
vm.swappiness = 1
vm.vfs_cache_pressure = 800
vm.dirty_ratio = 5
vm.dirty_background_ratio = 2
vm.min_free_kbytes = 65536 # Reserve 64MB for emergencies
This is mainly useful for smaller systems/VMs/dev test/Raspberry Pi etc.. but even servers with huge amounts of RAM can start putting a ton of things into buffers and cache especially if you open large files constantly.........
[Wed Jan 08 18:50:07 2014] [emerg] (28)No space left on device: Couldn't create accept lock (/etc/httpd/logs/accept.lock.15449) (5)
This may happen when trying to restart Apache and you find it dies right after starting and check /var/log/httpd/error_logs.
What is the cause of this?
You could be out of disk space (if you're not then see #2 and below)
You're out of Semaphores, you need to kill all the old ones.........