[systemd-devel] systemd and mysql with large memory pages

Reindl Harald h.reindl at thelounge.net
Mon Sep 19 12:29:14 PDT 2011



Am 19.09.2011 20:48, schrieb Lennart Poettering:
> On Mon, 19.09.11 20:42, Reindl Harald (h.reindl at thelounge.net) wrote:
>>> limits.conf is generally only applied to logins, not to system services
>>
>> i remeber that was the reaso include it in the /etc/initd./service because
>> started processes from here should use the limits from the
>> parent-shell
> 
> systemd invokes all services in clean defined execution contexts with
> reset resource limits. This problem should not exist on systemd hence.

you missunderstood me

the problem was "limuts.conf" ignored fro mysqld and solved by the
init-shellscript using ulimit - so with systemd a problem comes back

>> but why is "limits.conf" ignored by services?
> 
> It's the configuration file of pam_limits, and since PAM is for user
> authentication and session management and mysql is a service we don't
> invoke it

bad - in my opinion "limts.conf" would be the right place from
the user-side becasue it affects users/groups and finally services
are running as a user/group - so sould be there not exist one
central point of configuration?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20110919/0b255b70/attachment.pgp>


More information about the systemd-devel mailing list