https://bugzilla.novell.com/show_bug.cgi?id=846178 https://bugzilla.novell.com/show_bug.cgi?id=846178#c0 Summary: Support setting per service ulimits Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: Other OS/Version: Other Status: ASSIGNED Severity: Normal Priority: P5 - None Component: Network AssignedTo: mrueckert@suse.com ReportedBy: mrueckert@suse.com QAContact: qa-bugs@suse.de CC: werner@suse.com, p.heinlein@heinlein-support.de, fcrozat@suse.com Found By: --- Blocker: --- This is originally a request from Peer Heinlein to allow setting maxfilehandles per service. proposed solution: /etc/systemd/system/${servicename}.service.d/limits.conf the fileformat will be from man 5 systemd.conf. For setting the maxfilehandles. the file would look like. [[[ [Service] LimitNOFILE=8192 ]]] Todos: 1. systemd 1.1 on 13.1 or later: nothing. systemd will automerge all files in /etc/systemd/system/${servicename}.service.d/ when handling ${servicename}.service. Support for this was introduced in v198. 1.2 12.3 and older. The user needs to create a file /etc/systemd/system/${servicename}.service with 2 lines: include /usr/lib/systemd/system/${servicename}.service include /etc/systemd/system/${servicename}.service.d/limits.conf If the unit author decides he wants to support this out of the box, they can ship the limits.conf and include it in the /usr/lib/systemd/system/${servicename}.service. 2. sysvinit Ideally if you introduce this way to support per service ulimits, it should also work with init scripts. For this we propose a patch to rc.status which converts the systemd syntax into ulimit calls. It will also handle translations like infinity -> unlimited. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.