Summary: | www-servers/varnish - /etc/init.d/varnishd: allow more open files through ulimit -l | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | werner maier <werner> |
Component: | [OLD] Server | Assignee: | Anthony Basile <blueness> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
werner maier
2013-02-25 12:07:43 UTC
This is best done via the conf.d/varnishd file. Try adding the following line: rc_ulimit="-n 32786" If it works for you, I'll commit it. In fact, try removing the ulimit -l 82000 from the init.d and adding rc_ulimit="-n 32786 -l 82000" That's the cleanest solution. Let me know. ping! Does this fix work for you? I can confirm that setting rc_ulimit="-n 32786 -l 82000" in /etc/conf.d/varnishd works (tested by executing "ulimit -n -l" in the init script's start function). Okay committed without any rev bump to the ebuilds. Thanks for testing. |