[Pacemaker] nofile limit with pacemaker

Daniel Jung mimianddaniel at gmail.com
Wed Nov 6 07:08:11 UTC 2013


Hi all,

I came across a problem with no file limit for one of the 
primitives(slapd) running in pacemaker. To verify that this is result of 
running in pacemaker,  i put the node in standby and start up Slapd 
manually, the nofile limit is shown as bound by 
/etc/security/limits.conf. However, if i online the node and let slapd 
start up through pacemaker, the limits seems to be inherited from 
pacemaker (as it should from forking) but with values that are not set 
in the limits.conf.

I didnt see any ulimit setting in init file. I was wondering if the 
pacemaker was compiled with set fd_setsize? Is there a way for pacemaker 
to  accept limits.conf setting instead of recompiling?

Thank you for help.

limits of pacemaker
Limit                     Soft Limit           Hard Limit Units
Max cpu time              unlimited            unlimited seconds
Max file size             unlimited            unlimited bytes
Max data size             unlimited            unlimited bytes
Max stack size            10485760             unlimited bytes
Max core file size        unlimited            unlimited bytes
Max resident set          unlimited            unlimited bytes
Max processes             127437               127437 processes
Max open files            1024                 4096 files
Max locked memory         65536                65536 bytes
Max address space         unlimited            unlimited bytes
Max file locks            unlimited            unlimited locks
Max pending signals       127437               127437 signals
Max msgqueue size         819200               819200 bytes
Max nice priority         0                    0
Max realtime priority     0                    0
Max realtime timeout      unlimited            unlimited us

limits of slapd
Limit                     Soft Limit           Hard Limit Units
Max cpu time              unlimited            unlimited seconds
Max file size             unlimited            unlimited bytes
Max data size             unlimited            unlimited bytes
Max stack size            10485760             unlimited bytes
Max core file size        unlimited            unlimited bytes
Max resident set          unlimited            unlimited bytes
Max processes             127437               127437 processes
Max open files            1024                 4096 files
Max locked memory         65536                65536 bytes
Max address space         unlimited            unlimited bytes
Max file locks            unlimited            unlimited locks
Max pending signals       127437               127437 signals
Max msgqueue size         819200               819200 bytes
Max nice priority         0                    0
Max realtime priority     0                    0
Max realtime timeout      unlimited            unlimited us


limits.conf
<snip>
*               soft    nofile          8192
*               hard    nofile          8192

Running Pacemaker 1.1.7-6.el6 on centos 6.3.   slapd version running is 
2.4.37.






More information about the Pacemaker mailing list