[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: mdb_stat question
- To: Frank Swasey <Frank.Swasey@uvm.edu>, OpenLDAP Technical List <openldap-technical@openldap.org>
- Subject: Re: mdb_stat question
- From: Howard Chu <hyc@symas.com>
- Date: Wed, 4 Jan 2017 19:08:56 +0000
- In-reply-to: <WM!ee19411710bf7a95401e0e21c3b8584aa8fccd8c3e69525f996e291f200e460b8c174ac1a7651e8ae98047e4d5dc3b35!@mailstronghold-2.zmailcloud.com>
- References: <alpine.OSX.2.20.1701041342560.23017@vc104198.hiz.rqh> <WM!ee19411710bf7a95401e0e21c3b8584aa8fccd8c3e69525f996e291f200e460b8c174ac1a7651e8ae98047e4d5dc3b35!@mailstronghold-2.zmailcloud.com>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0 SeaMonkey/2.46a2
Frank Swasey wrote:
I have noticed that the mdb_stat (-e parameter) now shows the number of pages
used, so I can use that instead of running a du and compare it to the Max
pages value to see how "full" the data.mdb has become.
We use nagios to monitor such things... is there a frequency of running
mdb_stat that would be too frequent and could cause issues with a moderately
loaded (handling 14 million operations per day) ldap server?
It takes more CPU time to fork a process and load the mdb_stat binary than it
takes to read and print the statistic.
Should I have nagios not perform the mdb_stat check more frequently than some
recommended amount of time?
Whatever, it's your CPU load.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/