Commit Graph

16 Commits

Author SHA1 Message Date
Matthias Gerstner d472e88441
packaging: remove SuSEfirewall2 support
removal of SuSEfirewall2 service, since SuSEfirewall2 has been replaced
by firewalld, see [1].

[1]: https://lists.opensuse.org/opensuse-factory/2019-01/msg00490.html

Fixes: http://tracker.ceph.com/issues/40738
Signed-off-by: Matthias Gerstner <matthias.gerstner@suse.de>
2019-07-12 09:55:35 +02:00
Kefu Chai 89a48189ea cmake: only create sysctl file on linux
and check 64bit platform by using the sizeof(void*)

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-20 15:45:03 +08:00
David Disseldorp 14a0c2a727 sysctl.d: set kernel.pid_max=4194304 on 64-bit systems
For CONFIG_BASE_FULL Linux kernels, the maximum number of proc/thread
IDs is set to 32768 by default. This default limit can be quite easily
hit during recovery on nodes with high OSD counts.
To avoid hitting the pid_max default limit, attempt to configure it to
4194304, which corresponds to the maximum limit possible on 64-bit
CONFIG_BASE_FULL kernels.

Fixes: http://tracker.ceph.com/issues/21929

Signed-off-by: David Disseldorp <ddiss@suse.de>
2017-11-17 14:40:23 +01:00
David Disseldorp 4d0b700688 sysctl: relocate 90-ceph-osd.conf under etc/sysctl/
Signed-off-by: David Disseldorp <ddiss@suse.de>
2017-11-17 14:40:23 +01:00
Sage Weil 19efccef24 /etc/sysconfig/ceph: remove jemalloc option
This breaks when used with rocksdb, which is now the default.

See http://tracker.ceph.com/issues/20557

Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-23 12:05:39 -05:00
Sage Weil fba2055b4e etc/default/ceph: remove jemalloc option
This breaks when used with rocksdb, which is now the default.

See http://tracker.ceph.com/issues/20557

Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-23 11:16:26 -05:00
Alexandre Derumier d1d144c03b set 128MB tcmalloc cache size by bytes 2016-04-29 03:30:05 +02:00
Alexandre Derumier 9decbd1026 etc/default/ceph: set 128MB tcmalloc cache size
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2016-04-28 23:03:09 +02:00
Star Guo 9565a50c58 set 128MB tcmalloc cache size by bytes
Signed-off-by: Star Guo <star.guo@mevoco.com>
2016-04-04 13:41:52 +08:00
Ken Dreyer 01c0a5f589 etc/sysconfig/ceph: set 128MB tcmalloc cache size
Bump up from tcmalloc's default cache size.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2016-03-04 10:26:46 -07:00
Nathan Cutler 498578dba8 etc/sysconfig/ceph: add CEPH_AUTO_RESTART_ON_UPGRADE
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2015-10-06 15:18:46 +02:00
Sage Weil 8678a8acec kill /etc/security/limits.d/ceph
This only affects login shells; not useful.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-14 12:04:50 -04:00
Sage Weil 7384a14f24 debian/rules: install systemd files and /etc/default/ceph
Fix the systemd units to use /etc/default instead of /etc/sysconfig.  There
is probably a better way...

Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-11 11:38:26 -04:00
Sage Weil c8bfc354e1 ceph.spec: install /etc/sysconfig/ceph
Make it easy to enable jemalloc, too.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-11 11:38:26 -04:00
Sage Weil c7ee798a0f set nofile ulimit in /etc/security/limits.d/ceph only
Specify the nofile ulimit in one standard place, where everyone expects it
to be.  Drop it from the ceph-osd unit file.

Leave upstart and sysvinit untouched for the time being to avoid compat
issues.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-26 20:34:15 -04:00
Tim Serong 70292658d5 packaging: move SuSEfirewall2 templates out of src
Better to have static config like this that needs to be installed in
/etc in a separate subdirectory of the project.

Signed-off-by: Tim Serong <tserong@suse.com>
2015-04-30 12:04:14 +10:00