[Deploying Sakai] "Too many open files" and search indexing

Matthew Buckett matthew.buckett at oucs.ox.ac.uk
Mon Nov 14 03:50:34 PST 2011


On 14 November 2011 06:42, Colin Tatham <colin.tatham at unimelb.edu.au> wrote:
>
> We increased the value set in /etc/security/limits.conf:
>
> *  soft   nofile    65535
> *  hard   nofile    65535
>
> which seems to have changed the limit:
> [sakai at crete ~]$ ulimit -n
> 65535
>
> but I still get the errors?

How are you starting tomcat? as /etc/security/limits.conf only applies
to process started after a login, if you have an upstart script then
they won't bet getting picked up.

If you have a script to start tomcat which if run as root (before
running the tomcat process as another user) then I'd upp the limits in
there.

-- 
  Matthew Buckett
  VLE Developer, LTG, Oxford University Computing Services


More information about the production mailing list