Ns-slapd process taking too much cpu time

Dear All,
I am currently using directory server 6.2 and it comes out that the ns-slapd process is taking almost 95% of cpu time. This goes for 2 to 3 hours then it comes back to normal. This is happening every alternate day. I have monitored the log but could not find any suspected activity which may be causing this.
Is this something vulnerable in 6.2?
Any tunings that i should undergo?
Regards,
Scotty

Dear Ludovic,
i am finding alot of the below unindexed searches:
[30/Oct/2007:16:30:27 +0400] - WARNING<20805> - Backend Database - conn=-1 op=0 msgId=-1 - search is not indexed base='cn=changelog' filter='(&(nsroledn=un=xxcccvvvcb823f7,ou=gdf016926,ou=people,ou=2005,ou=r444,ou=mail,o=kas.ac,o=pblebs,o=pab)(|(objectclass=*)(objectclass=ldapsubentry)))' scope='sub'
and prstat is showing
PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/LWPID
13433 root 4357M 2727M run 32 0 1:44:10 3.6% ns-slapd/101
13433 root 4357M 2727M run 32 0 2:40:40 3.6% ns-slapd/84
13433 root 4357M 2727M run 33 0 0:55:00 3.5% ns-slapd/97
13433 root 4357M 2727M run 33 0 1:35:56 3.4% ns-slapd/57
13433 root 4357M 2727M run 33 0 0:24:45 3.4% ns-slapd/94
13433 root 4357M 2727M run 43 0 2:06:04 3.1% ns-slapd/86
and even more
Would it be of the unindexed searches?
Thanks,
Scorry

Similar Messages

  • Playing Video files taking too much CPU processing(50 % )

    Hello everyone,
    My macbook taking too much CPU processing power for playing Video file.Below shared the statistics..Is it a issue..? can you please help me here..I can't play simultaneously 2-3 MKV videos..distorted picture Quality.
    Macbook:
    mkv
         Qucik Time PLayer (using perian plugin):50%
         vlc:40%
          mplayer:60%
    normal(example Mp4)
         Qucik Time PLayer (using perian plugin):30%
         vlc:25%
    where a normal Linux system takes
      mkv file with VLC : 20-25%
    Thanks in advance...

    Simple thing to try would be to disable composite and see how you fare then
    Check the logs first, though

  • Server0 process taking too much time

    Hi All,
        Once i start the Netweaver server, the server) process taking too much time.
    When i was installed Netweaver that time 13 min, after 2 months 18 min.. then 25 min now it is taking 35 minutes.... to become green color.
    Why it is taking too much time, what might be the cause.....
    Give some ideas to solve this problem..............
    The server0 developer trace has this information continuously 6 to 7 times...
    [Thr 4204] *************** STISEND ***************
    [Thr 4204] STISEND: conversation_ID: 86244265
    [Thr 4204] STISEND: sending 427 bytes
    [Thr 4204] STISearchConv: found conv without search
    [Thr 4204] STISEND: send synchronously
    [Thr 4204] STISEND GW_TOTAL_SAPSEND_HDR_LEN: 88
    [Thr 4204] NiIWrite: hdl 0 sent data (wrt=515,pac=1,MESG_IO)
    [Thr 4204] STIAsSendToGw: Send to Gateway o.k.
    [Thr 4204] STIAsRcvFromGw: timeout value: -1
    [Thr 4204] NiIRead: hdl 0 recv would block (errno=EAGAIN)
    [Thr 4204] NiIRead: hdl 0 received data (rcd=3407,pac=2,MESG_IO)
    [Thr 4204] STIAsRcvFromGw: Receive from Gateway o.k.
    [Thr 4204] STISEND: data_received: CM_COMPLETE_DATA_RECEIVED
    [Thr 4204] STISEND: received_length: 3327
    [Thr 4204] STISEND: status_received: CM_SEND_RECEIVED
    [Thr 4204] STISEND: request_to_send_received: CM_REQ_TO_SEND_NOT_RECEIVED
    [Thr 4204] STISEND: ok
    [Thr 4204] STIRCV: new buffer state = BUFFER_EMPTY
    [Thr 4204] STIRCV: ok
    [Thr 4204] *************** STSEND ***************
    [Thr 4204] STSEND: conversation_ID: 86244265
    [Thr 4204] STISearchConv: found conv without search
    [Thr 4204] STSEND: new buffer state = BUFFER_DATA
    [Thr 4204] STSEND: 106 bytes buffered
    [Thr 4204] *************** STIRCV ***************
    [Thr 4204] STIRCV: conversation_ID: 86244265
    [Thr 4204] STIRCV: requested_length: 16000 bytes
    [Thr 4204] STISearchConv: found conv without search
    [Thr 4204] STIRCV: send 106 buffered bytes before receive
    [Thr 4204] STIRCV: new buffer state = BUFFER_DATA2
    [Thr 4204] *************** STISEND ***************
    then
    [Thr 4252] JHVM_NativeGetParam: get profile parameter DIR_PERF
    [Thr 4252] JHVM_NativeGetParam: return profile parameter DIR_PERF=C:\usr\sap\PRFCLOG
    this message continuously
    Can i have any solution for the above problem let me know .
    Thanks & regards,
    Sridhar M.

    Hello Manoj,
           Thanks for your quick response, Previously the server has 4GB RAM and now also it has same.
    Yesterday i found some more information, like deployed(through SDM) applications also take some memory at the time of starting the J2EE server...Is it right?
    Any other cause...let me know
    Thanks & Regards,
    Sridhar M.

  • Apple mobile device service uses too much cpu time

    Apple mobile device service uses too much cpu time, from 88% to 99% of the CPU time.

    The best way to fix this is to completely remove all aspects of iTunes then reinstall. Step by step directions are on this article. Good luck
    http://support.apple.com/kb/HT1925?viewlocale=en_US

  • How to tune the query..."sum" operation is taking too much long time...

    how to reduce the execution time for the below query..."sum" operation is taking too much long time....
    SELECT
    B.DP_AVPS_STATUS,
    SUM(DP_AD_CURR_BAL*D.ISIN_CLOSE_PRICE) Qty,
    B.DP_NET_WORTH,
    B.CMN_DP_FLAG,
    B.RESTRAIN_TYPE ,
    B.LETT_GENR_DATE,
    E.MAX_NET_WORTH,
    E.MIN_NET_WORTH
    FROM DPMADV0 A, PABRNCHDTLP0 B, PABANKCCYP0 D,PADPNETWORTHDTLP0 E,
    (SELECT CID_NUMB FROM CFCUSTMASTD0
    WHERE SUB_TYPE NOT IN (1,2,5,6,7,28,29,30,31,40,41,48,49,50,57,83)) C
    WHERE A.DP_AD_BR_NBR = B.BRNCH_NUMB
    AND A.DP_AD_CCY_CDE = D.CCY_ALPHA_CODE
    AND A.DP_AD_ACCT_NBR = C.CID_NUMB
    AND E.DP_ACCOUNT_TYPE = B.DP_ACCOUNT_TYPE
    AND SUBSTR(B.BRNCH_NUMB,1,3) like SUBSTR(:hvBrnchNumb,1,3)
    AND ((B.DP_TYPE IN (2) AND B.DP_ACCOUNT_TYPE IN (10, 11)) or
    (B.DP_TYPE IN (3) and B.DP_ACCOUNT_TYPE=11 ) )
    AND B.DEL_FLAG = 'N'
    AND B.DP_STATUS = 'A'
    AND D.ISIN_STATUS = 'A'
    GROUP BY B.DP_NET_WORTH,B.RESTRAIN_TYPE,B.DP_AVPS_STATUS,E.MAX_NET_WORTH,
    E.MIN_NET_WORTH,B.CMN_DP_FLAG,B.LETT_GENR_DATE;

    Hi,
    please produce a plan with rowsource statistics (if not sure how, follow instructions in http://savvinov.com/2012/09/24/a-sqlplus-script-for-diagnosing-poor-sql-plans/) and post it using tags to preserve formatting.
    Best regards,
      Nikolay
    P.S. I also suggest that you work on your open threads:
    Handle:      946903 
    Status Level:      Newbie
    Registered:      Jul 16, 2012
    Total Posts:      11
    Total Questions:      5 (5 unresolved)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to uninstall Mcafee anti-virus from my machine because of machine bootup is taking too much of time for usage?

    Hi,
    How to uninstall Mcafee anti-virus from my machine because of machine bootup is taking too much of time for usage? so that i moved all mcafee related file to trash but while machine boot up mcafee showing and asking Authentication so any one give me better suggestion on this.
    Thanks in advance,
    Suresh Balakrishnan

    Hi All,
    i uninstalled AV successfully using as below mentioned links:
    Moved to VirusScan Other where hopefully an expert can help you.
    Until they do I Googled 'How to uninstall VirusScan 8.6 for MAC' and got this as one of the many choices:  https://kc.mcafee.com/corporate/index?page=content&id=KB54975
    There are also uninstall instructions in the User Guide: https://kc.mcafee.com/resources/sites/MCAFEE/content/live/PRODUCT_DOCUMENTATION/ 22000/PD22134/en_US/VirusScan%20for%20Mac%208.6.1%20User%20Guide%20Addendum.pdf
    By condemning files to the bin you may have scotched any automated method of removal but I will defer to the experts on that.
    Thanks lot,
    Suresh Balakrishann

  • SYSTEM IDLE PROCESS SHOWING TOO MUCH CPU USAGE

    I Have problem with system idle process showing too much cpu usage.but the process is normal.nothing more else.my laptop is toshiba satelite pro m300.pls give the solution as earliest as possible.

    Without knowing the excat model or what software, hardware or external components are running CPU usage is just an average measurement.  If you have alot of background components/software running can cause a high reading, as it you allowed updating to runn consistently, or IM Messenger to consistently gain access. 

  • Taking too much of time in po change mode

    Dear all
    please let me know that whay system taking too much time in p.o. change mode and when p.o. in change mode while clicking the condition tab it takes lot of time to open
    regrds
    s.m.pandit

    Hi Pandit,
    Tell us more about your situation. What version of SAP you use and recently have applied any patch to your system? Also have look at t.code ST03N to analyze the performance of your system.
    Regards
    Melih

  • CORBA - tnameserv uses too much CPU time

    The tnameserv we are using from JDK 1.3 uses a lot of CPU time.
    Anyone has advice on it?>
    Thanks in advance.

    I think if you want commercial performance you need to purchase a commercial product like Visibroker.

  • Photos App taking too much CPU usage

    Hi everyone,
    This morning I just installed Yosemite 10.10.3 and started to new Photos App.
    Now, there is a processus taking almost 100% of CPU usage which I can't definitely kill : it always come back, even after I totally rebooted my MacBook Air. The Photos App is not running, but the process is.
    See my the screenshot below.
    The fan is spinning at more that 6000 rpm.
    Anyone else having this issue?

    Photos on my iMac uses 150% or more of the processor whenever it is open...even when I'm not doing anything in the app.  Once I close the app the processor returns to normal usage.  I just converted my Aperture library so perhaps it is doing background housekeeping?  I don't know, but this doesn't look right.

  • OEM agent taking too much db time

    Hi,
    In my db, the OEMAgent was always the top consumer of CPU and IO times (because of the dynamic sql code?). The violating SP is attached at the end. For some reason, it is getting called thousands of times.
    Is this normally? What is the reason? How can this be alleviated?
    /* OracleOEM */ DECLARE l_log_mode VARCHAR2(32); l_flashback_on VARCHAR2(32); l_flash_recovery_area VARCHAR2(512); l_usable_area NUMBER; l_oldest_flashback_time VARCHAR2(512); TYPE data_cursor_type IS REF CURSOR; data_cursor data_cursor_type; v_db_version VARCHAR2(10); db_version_102 CONSTANT VARCHAR2(10) := '10.2.0.0.0'; BEGIN -- Database version SELECT LPAD(version, 10, '0') INTO v_db_version FROM v$instance; -- Log Mode, Flashback On SELECT log_mode, flashback_on INTO l_log_mode, l_flashback_on FROM v$database; -- Flash Recovery Area SELECT value INTO l_flash_recovery_area FROM v$parameter WHERE name='db_recovery_file_dest'; -- Usable Flash Recovery Area (10gR2) l_usable_area := NULL; IF (v_db_version >= db_version_102) THEN IF (length(l_flash_recovery_area) > 0) THEN EXECUTE IMMEDIATE 'SELECT (100 - sum(percent_space_used)) + sum(percent_space_reclaimable) FROM v$flash_recovery_area_usage' INTO l_usable_area; END IF; END IF; -- Oldest Flashback Time BEGIN SELECT to_char(oldest_flashback_time, 'YYYY-MM-DD HH24:MI:SS') INTO l_oldest_flashback_time FROM v$flashback_database_log; EXCEPTION WHEN OTHERS THEN l_oldest_flashback_time := ''; END; OPEN data_cursor FOR SELECT l_log_mode, l_flash_recovery_area, l_usable_area, l_flashback_on, l_oldest_flashback_time from dual; :1 := data_cursor; END;

    Check the Collection frequency of the metrics. E.g the space usage related metrics (tablespace etc). You will find that is is set to every 15 secs by default. You can reduce the frequency to ease the load on the CPU

  • Why is query taking too much time ?

    Hi gurus,
    I have a table name test which has 100000 records in it,now the question i like to ask is.
    when i query select * from test ; no proble with responce time, but when the next day i fire the above query it is taking too much of time say 3 times.i would also like to tell you that everything is ok in respect of tuning,the db is properly tuned, network is tuned properly. what could be the hurting factor here ??
    take care
    All expertise.

    Here is a small test on my windows PC.
    oracle 9i Rel1.
    Table : emp_test
    number of records : 42k
    set autot trace exp stat
    15:29:13 jaffar@PRIMEDB> select * from emp_test;
    41665 rows selected.
    Elapsed: 00:00:02.06 ==> response time.
    Execution Plan
    0 SELECT STATEMENT Optimizer=CHOOSE (Cost=24 Card=41665 Bytes=916630)
    1 0 TABLE ACCESS (FULL) OF 'EMP_TEST' (Cost=24 Card=41665 Bytes=916630)
    Statistics
    0 recursive calls
    0 db block gets
    2951 consistent gets
    178 physical reads
    0 redo size
    1268062 bytes sent via SQL*Net to client
    31050 bytes received via SQL*Net from client
    2779 SQL*Net roundtrips to/from client
    0 sorts (memory)
    0 sorts (disk)
    41665 rows processed
    15:29:40 jaffar@PRIMEDB> delete from emp_test where deptno = 10;
    24998 rows deleted.
    Elapsed: 00:00:10.06
    15:31:19 jaffar@PRIMEDB> select * from emp_test;
    16667 rows selected.
    Elapsed: 00:00:00.09 ==> response time
    Execution Plan
    0 SELECT STATEMENT Optimizer=CHOOSE (Cost=24 Card=41665 Bytes=916630)
    1 0 TABLE ACCESS (FULL) OF 'EMP_TEST' (Cost=24 Card=41665 Bytes=916630)
    Statistics
    0 recursive calls
    0 db block gets
    1289 consistent gets
    0 physical reads
    0 redo size
    218615 bytes sent via SQL*Net to client
    12724 bytes received via SQL*Net from client
    1113 SQL*Net roundtrips to/from client
    0 sorts (memory)
    0 sorts (disk)
    16667 rows processed

  • Theater 550 Pro's PowerCinema 4 take too much CPU resource?

    Hello all Theater 550 Pro users,
    I am experiencing Power Cinema 4 is taking too much CPU utilization on my PC, versus any other TV viewer apps like WinAmp TV, FlyTV, etc. CLCapSvc.exe is the process that blatantly taking most juice out of the CPU, causing TV viewing experience on Power Cinema 4 bad. Anyone know how to fix this? Any known patch for Powercinema4?
    Now I'm using WinAmp's TV plugin until I find a better TV Viewer prog. Any suggestion?
    Do you guys use any other TV Viewer app?

    Thanks Stu. I'm still figuring how to get mediaportal working on my PC as over here only have analog TV, no EPG, no scheduler, no nothing... just plain old TV Viewer is all I want. However, PowerCinema4's CLCapSvc.exe issue shouldn't be ignored too...

  • Why is FF sucking up so much CPU time & Why can I not preform a search on FAQ's?

    Why is FF sucking up so much CPU time &
    Why can I not preform a search on FAQ's?
    FF is sucking up way too much CPU time from 30 to 98% for great/long periods of time on a Sony Vaio laptop platform running P4 CPU w/XP prof w/SP3 & 2Gb RAM.
    Why can I not preform a search on FAQ's so that might not have repeat a question that might have been asked previously?
    Searching 24xx pages is not my idea of how to spend precious time to find an answer that I am looking for.

    Safe mode or turning off the plugins does not work with this bug. If they are still installed firefox will open plugincontainer, the plugins need to be uninstalled or disabled at OS level.
    "''clearing Cookies will start an instance of plugin-container for almost all of the plugins installed on the system, regardless of enable/disable state for each one.''"

  • Why it is taking too much time to kill the process?

    Hi All,
    Today,one of my user ran the calc script and the process is taking too much time, then i kill the process. I am wondering about one thing here even it is taking too long to kill the process, generally it will not take more than 2 sec. I did this through EAS.
    After that I ran Maxl statement
    alter system kill request 552599515;
    there is no use at all.
    Please reply if you have any solutions to kill this process.
    Thanks in advance.
    Ram.

    Hi Ram,
    1. Firstly, How much time does your calculation scripts normally run.
    2. While it was running, you can go to the logs and monitor where exactly the script is taking time .
    3. Sometimes, it does take time to cancel a transaction ( as it might be in between).
    4. Maxl is always good to kill ,as you did . It should be succesful . Check the logs what it says ,and also the "sessions" which might say "terminating" and finish it off.
    5. If nothing works ,and in the worst case scenarion , if its taking time without doing anything. Then log off all the users and stop the databas and start it .
    6. Do log off all the users, so that you dont corrupt any filter related sec file.
    Be very careful , if its production ( and I assume you have latest backups)
    Sandeep Reddy Enti
    HCC
    http://hyperionconsultancy.com/

Maybe you are looking for