<div dir="ltr">I have a server VM running Ubuntu 14.04. It mostly just runs apt-cacher-ng, which I suspect is running into its limit on open files. What&#39;s the proper way to increase this limit? I know there&#39;s the limit in /etc/security/limits.conf, but I&#39;ve read elsewhere that doesn&#39;t apply! I&#39;ve also read about &quot;stanzas&quot; for &quot;Upstart&quot; in Ubuntu, but I have no idea where to look for the right place to put that. I&#39;m expecting something like<div>limit nofiles 20000</div><div>or some such. I believe the process is running under its own userid &quot;apt-cacher-ng&quot;.</div><div><br></div><div>Any pointers?</div><div><br></div><div>Kevin</div></div>