Setting open files for a process started by runit (using chpst)

From: Aaron Cline <>
Date: Fri, 13 May 2016 10:57:21 -0500


We have servers that use runit to manage our deployed processes (tomcat and
logstash). We had some issues with having too many open files in our
tomcat processes and so we're trying to increase the limit. I'm using the
/proc/<PID>/limits file to check to make sure the limits are increased.

We've tried increasing the limits in /etc/security/limits.conf, but that
didn't seem to work for the runit processes. Then I found the chpst man
page and started adding the -o option with a higher open files number
there, but that also doesn't seem to increase the number for neither the
tomcat or logstash process according to the proc filesystem.

Is there some other gotcha I'm missing here?

I'm using runit 2.1.2.

Thanks for any help.

Received on Fri May 13 2016 - 15:57:21 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:19 UTC