Hi Arun,
I've never seen any unix process disappearing because of high CPU consumption. A unix process disappears if it exits, or gets killed or got into any abnormal end case (SIGBUS, SIGSEGV, etc...).
Could you please reply to my question:
If so, did you enable core dumps to be written (ulimit -c) ?
Thanks ++Cyrille
________________________________ From: arun.sasi1@wipro.com [mailto:arun.sasi1@wipro.com] Sent: Monday, July 25, 2011 3:16 PM To: Maucci, Cyrille; openldap-technical@openldap.org Subject: RE: SlapD is using more CPU
Dear Cyrille,
Yes my ldap process is getting disappear... I assume due to CPU/high search... because only that days I can see the CPU are getting increased...
There is no crash information file for slapd
Thanks, -Arun
From: Maucci, Cyrille [mailto:cyrille.maucci@hp.com] Sent: Monday, July 25, 2011 6:19 PM To: Arun Sasi V (WI01 - Manage IT); openldap-technical@openldap.org Subject: RE: SlapD is using more CPU
Dear Arun,
And also I just want to know why my ldap service are getting stopped....
What do you mean? Do you mean the ldap unix process disappears ? If so, did you enable core dumps to be written (ulimit -c) ? Do you get a core file ?
I would not expect slapd to simply 'exit'.
Thanks ++Cyrille ________________________________ From: arun.sasi1@wipro.com [mailto:arun.sasi1@wipro.com] Sent: Monday, July 25, 2011 2:45 PM To: Maucci, Cyrille; openldap-technical@openldap.org Subject: RE: SlapD is using more CPU Dear Cyrille,
I am using Ubuntu 9.04 OS (Configured in VM), and OpenLdap OpenLDAP: slapd 2.4.15...
I have configured Multi-Master setup here... i.e two location servers will act as multimaster and remaining 7 locations are act as slave servers(read only copy).
Each location sync with master ldap and fetch the update from master Ldap (syncrepl)...
My infra the number of users are accessing the LDAP more on Sundays hence Ldap server is utilizing more cpu on those days and getting hang... Please find the attached some report which I took from Ldap server.
I have increased my cache size.. will it cause to high CPU ...? And also I just want to know why my ldap service are getting stopped....
Thanks, -Arun
From: Maucci, Cyrille [mailto:cyrille.maucci@hp.com] Sent: Monday, July 25, 2011 5:59 PM To: Arun Sasi V (WI01 - Manage IT); openldap-technical@openldap.org Subject: RE: SlapD is using more CPU
Hello Arun Sasi,
are you saying you are surprised by the fact that the more LDAP search the more CPU consumption ? ( ! ). I must have misunderstood your statement.
Since slapd is multi-threaded, I've myself pushed slapd to much more than 100% CPU. So what do you mean by 'slapd is getting stopped' ? Do you mean the process vanishes ? Does it leave a baby core file around there ? If so, you should probably send the back trace.
++Cyrille
________________________________ From: openldap-technical-bounces@OpenLDAP.org [mailto:openldap-technical-bounces@OpenLDAP.org] On Behalf Of arun.sasi1@wipro.com Sent: Monday, July 25, 2011 9:55 AM To: openldap-technical@openldap.org Subject: SlapD is using more CPU Hello Team,
Whenever the number of search increase to the master server... slapd is utilizing more about more than 100%... What could be the reason and also is there any bench mark defined...
Whenver it goes 100% slapd server is getting stopped...
Thanks & Regards, Arun Sasi V
Please do not print this email unless it is absolutely necessary.
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com
Please do not print this email unless it is absolutely necessary.
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com
Please do not print this email unless it is absolutely necessary.
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com