summaryrefslogtreecommitdiffstats
path: root/ctdb/config/ctdb.sysconfig
diff options
context:
space:
mode:
Diffstat (limited to 'ctdb/config/ctdb.sysconfig')
-rw-r--r--ctdb/config/ctdb.sysconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/ctdb/config/ctdb.sysconfig b/ctdb/config/ctdb.sysconfig
new file mode 100644
index 0000000..fc57929
--- /dev/null
+++ b/ctdb/config/ctdb.sysconfig
@@ -0,0 +1,11 @@
+# If using SYSV init, install this as /etc/sysconfig/ctdb,
+# /etc/default/ctdb or similar
+
+# Allow 1M open files
+ulimit -n 1048576
+
+# Allow core files to be created
+ulimit -c unlimited
+
+# Useful if default detection doesn't work
+# CTDB_INIT_STYLE=debian