1024 Connection Limit

Alex Davies alex at davz.net
Fri Aug 13 00:25:24 BST 2010


Hi,

I apologise if this is not the correct mailing list to ask this question.

As a inexperienced user of upstart, I have several times hit what appears to
be a limit of 1024 connections for jobs started by upstart. For example, the
following super-simple upstart job:

start on runlevel [3456]
stop on runlevel [!3456]

script
  /opt/mongod/mongod --config=/etc/mongo/mongod.conf
end script

Will start a MongoDB process which will believe that the output of ulimit -n
is 1024. Starting it on the command line will produce the correct value (in
my case, an order of magnitude more).

I cant find this obvious in the documentation; is there a easy way to remove
this limit?

Many thanks!

Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/upstart-devel/attachments/20100813/d49f76ca/attachment-0001.htm 


More information about the upstart-devel mailing list