Add systemd support

David Disseldorp ddiss at suse.de
Wed Feb 1 09:46:07 MST 2012


Hi Sumit,

The changes look good. One minor comment:

--- /dev/null
+++ b/config/ctdb.service
@@ -0,0 +1,19 @@
...
+[Service]
+Type=forking
+LimitCORE=infinity

config/systemd/ctdb.systemd sets the core file size limit via ulimit,
are both LimitCORE and ulimit settings needed?
It may also be worth considering a LimitNOFILE setting, ctdbd requires
one fd per client, exceeding the default limit under heavy load results
in a busy EMFILE loop around accept() (at least it did in ctdb-1.0.112).

Cheers, David


More information about the samba-technical mailing list