On 6 Nov 2013, at 6:08 pm, Daniel Jung <mimianddan...@gmail.com> wrote:

> 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?

Only if that happens implicitly when limits.h is included.
Did you restart pacemaker after changing limits.conf?

> 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.
> 
> 
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org


_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to