Don't ask for unlimited files
There's a bug reported on Launchpad (https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1420640) that describes a similar situation. The solution is to request a lower limit of open files for the process.
This commit is contained in:
@ -12,7 +12,7 @@ respawn
|
|||||||
# respawn limit 2 5
|
# respawn limit 2 5
|
||||||
|
|
||||||
# Unlimited open files
|
# Unlimited open files
|
||||||
limit nofile unlimited unlimited
|
limit nofile 65535 65535
|
||||||
|
|
||||||
# Make sure /var/run/maxscale exists
|
# Make sure /var/run/maxscale exists
|
||||||
pre-start exec /usr/bin/install -d -o maxscale -g maxscale @MAXSCALE_VARDIR@/run/maxscale
|
pre-start exec /usr/bin/install -d -o maxscale -g maxscale @MAXSCALE_VARDIR@/run/maxscale
|
||||||
|
Reference in New Issue
Block a user