DPS 6.3 takes 100% of CPU time
I've 2 couple of DPS 6.3 proxy servers running upstream 2 couple of DS 6.3 on RHAS 4U6, JRE 1.5.0_16-b02
located on 2 different sites.(6.3_KS_6661375_6670752_6654625_6513526_6653253_663073_6723858 B2008.0717.2043)
I notice about once a week to every 2 weeks that a proxy server on each site starts to send
to me warning messages about an LDAP data source not available on the remote site.
The proactive monitor thread logs messages such as "exceeded maximum allowed timeout of 10000 ms" .
The problem is that when it occurs, the proxy starts to take all the available CPU time so that there's
no other solution than restarting it .
Known problem ?
The problem occured today, I had about 35 threads running among which the 5 below were taking all the CPU time,
the others being under 2% CPU :
PID USER PR NI %CPU TIME+ %MEM VIRT RES SHR S COMMAND
15333 root 25 0 90 14:03.92 55.3 1003m 558m 11m R java
15309 root 21 0 85 15:12.86 55.3 1003m 558m 11m R java
15353 root 23 0 85 17:57.53 55.3 1003m 558m 11m R java
15335 root 25 0 68 16:56.31 55.3 1003m 558m 11m R java
15312 root 25 0 63 4175:46 55.3 1003m 558m 11m R java
The jstack trace extract is as follows for the above threads:
Thread 15309: (state = IN_VM)
- java.lang.Throwable.getStackTraceElement(int) @bci=0 (Compiled frame; information may be imprecise)
- java.lang.Throwable.getOurStackTrace() @bci=34, line=592 (Compiled frame)
- java.lang.Throwable.getStackTrace() @bci=1, line=583 (Compiled frame)
- com.sun.directory.proxy.util.StringBufferPool.getBuffer() @bci=130, line=109 (Compiled frame)
- com.sun.directory.proxy.util.Log.exceptionToString(java.lang.Exception) @bci=3, line=892 (Compiled frame)
- com.sun.directory.proxy.asn1.ASN1Reader.readElement() @bci=958, line=513 (Compiled frame)
- com.sun.directory.proxy.asn1.ASN1Reader.readElement(int) @bci=36, line=226 (Compiled frame)
- com.sun.directory.proxy.server.MultiplexedOpConnectionV2.readMessage(int, int) @bci=309, line=338 (Compiled frame)
- com.sun.directory.proxy.server.OpConnection.readMessage(int) @bci=12, line=333 (Compiled frame)
- com.sun.directory.proxy.server.LDAPServer.getConnection(int, com.sun.directory.proxy.server.ClientConnection, com.sun.directory.proxy.ldap.BindRequest, int) @bci=449, line=1806 (Compiled frame)
- com.sun.directory.proxy.server.LDAPServer.getReadConnection(int, boolean, com.sun.directory.proxy.server.ClientConnection, com.sun.directory.proxy.ldap.BindRequest) @bci=284, line=1649 (Compiled frame)
- com.sun.directory.proxy.extensions.ProportionalLoadBalancingAlgorithm.getSearchConnection(com.sun.directory.proxy.server.ClientOperation, int, boolean, com.sun.directory.proxy.server.ClientConnection, com.sun.directory.proxy.ldap.BindRequest) @bci=371, line=2132 (Compiled frame)
- com.sun.directory.proxy.server.BackendSet.getSearchConnection(com.sun.directory.proxy.server.ClientOperation, com.sun.directory.proxy.server.ClientConnection, int, boolean, com.sun.directory.proxy.ldap.BindRequest) @bci=70, line=822 (Compiled frame)
- com.sun.directory.proxy.server.LDAPDataView.getSearchContext(com.sun.directory.proxy.server.ClientOperation, boolean, java.lang.StringBuffer, com.sun.directory.proxy.server.DataViewOpContext) @bci=152, line=220 (Compiled frame)
- com.sun.directory.proxy.server.LDAPDataView.getSearchContext(com.sun.directory.proxy.server.ClientOperation, java.lang.StringBuffer, com.sun.directory.proxy.server.DataViewOpContext) @bci=5, line=137 (Compiled frame)
- com.sun.directory.proxy.server.WorkerThread.runThread() @bci=166, line=150 (Compiled frame)
Error occurred during stack walking:
Thread 15312: (state = IN_JAVA)
Thread 15333: (state = IN_VM)
- java.lang.Thread.yield() @bci=0 (Compiled frame; information may be imprecise)
- com.sun.directory.proxy.server.MultiplexedOpConnectionV2.readFromNetwork(int, int) @bci=72, line=663 (Compiled frame)
- com.sun.directory.proxy.server.MultiplexedOpConnectionV2.readMessage(int, int) @bci=309, line=338 (Compiled frame)
- com.sun.directory.proxy.server.OpConnection.readMessage(int) @bci=12, line=333 (Compiled frame)
- com.sun.directory.proxy.server.LDAPDataView.processSearchRequest(com.sun.directory.proxy.server.LDAPDataViewOpContext, com.sun.directory.proxy.ldap.LDAPMessage, com.sun.directory.proxy.server.DataViewConsumer) @bci=66, line=3387 (Compiled frame)
- com.sun.directory.proxy.server.LDAPDataViewOpContext.processSearchRequest(com.sun.directory.proxy.ldap.LDAPMessage, com.sun.directory.proxy.server.DataViewConsumer) @bci=10, line=203 (Compiled frame)
- com.sun.directory.proxy.server.WorkerThread.runThread() @bci=166, line=150 (Compiled frame)
Error occurred during stack walking:
Thread 15335: (state = IN_VM)
- java.net.SocketInputStream.socketRead0(java.io.FileDescriptor, byte[], int, int, int) @bci=0 (Compiled frame; information may be imprecise)
- java.net.SocketInputStream.read(byte[], int, int) @bci=84, line=129 (Compiled frame)
- com.sun.directory.proxy.asn1.ASN1Reader.readElement(int) @bci=36, line=226 (Compiled frame)
- com.sun.directory.proxy.server.MultiplexedOpConnectionV2.readMessage(int, int) @bci=309, line=338 (Compiled frame)
- com.sun.directory.proxy.server.OpConnection.readMessage(int) @bci=12, line=333 (Compiled frame)
- com.sun.directory.proxy.server.LDAPServer.getConnection(int, com.sun.directory.proxy.server.ClientConnection, com.sun.directory.proxy.ldap.BindRequest, int) @bci=449, line=1806 (Compiled frame)
- com.sun.directory.proxy.server.LDAPServer.getReadConnection(int, boolean, com.sun.directory.proxy.server.ClientConnection, com.sun.directory.proxy.ldap.BindRequest) @bci=284, line=1649 (Compiled frame)
- com.sun.directory.proxy.extensions.ProportionalLoadBalancingAlgorithm.getSearchConnection(com.sun.directory.proxy.server.ClientOperation, int, boolean, com.sun.directory.proxy.server.ClientConnection, com.sun.directory.proxy.ldap.BindRequest) @bci=371, line=2132 (Compiled frame)
- com.sun.directory.proxy.server.BackendSet.getSearchConnection(com.sun.directory.proxy.server.ClientOperation, com.sun.directory.proxy.server.ClientConnection, int, boolean, com.sun.directory.proxy.ldap.BindRequest) @bci=70, line=822 (Compiled frame)
- com.sun.directory.proxy.server.LDAPDataView.getSearchContext(com.sun.directory.proxy.server.ClientOperation, boolean, java.lang.StringBuffer, com.sun.directory.proxy.server.DataViewOpContext) @bci=152, line=220 (Compiled frame)
- com.sun.directory.proxy.server.LDAPDataView.getSearchContext(com.sun.directory.proxy.server.ClientOperation, java.lang.StringBuffer, com.sun.directory.proxy.server.DataViewOpContext) @bci=5, line=137 (Compiled frame)
- com.sun.directory.proxy.server.WorkerThread.runThread() @bci=166, line=150 (Compiled frame)
Error occurred during stack walking:
Thread 15353: (state = IN_VM)
- java.lang.Throwable.fillInStackTrace() @bci=0 (Compiled frame; information may be imprecise)
- java.lang.Throwable.<init>() @bci=10, line=181 (Compiled frame)
- com.sun.directory.proxy.util.Log.exceptionToString(java.lang.Exception) @bci=3, line=892 (Compiled frame)
- com.sun.directory.proxy.asn1.ASN1Reader.readElement() @bci=958, line=513 (Compiled frame)
- com.sun.directory.proxy.asn1.ASN1Reader.readElement(int) @bci=36, line=226 (Compiled frame)
- com.sun.directory.proxy.server.MultiplexedOpConnectionV2.readMessage(int, int) @bci=309, line=338 (Compiled frame)
- com.sun.directory.proxy.server.OpConnection.readMessage(int) @bci=12, line=333 (Compiled frame)
- com.sun.directory.proxy.server.LDAPServer.getConnection(int, com.sun.directory.proxy.server.ClientConnection, com.sun.directory.proxy.ldap.BindRequest, int) @bci=449, line=1806 (Compiled frame)
- com.sun.directory.proxy.server.LDAPServer.getReadConnection(int, boolean, com.sun.directory.proxy.server.ClientConnection, com.sun.directory.proxy.ldap.BindRequest) @bci=284, line=1649 (Compiled frame)
- com.sun.directory.proxy.extensions.ProportionalLoadBalancingAlgorithm.getSearchConnection(com.sun.directory.proxy.server.ClientOperation, int, boolean, com.sun.directory.proxy.server.ClientConnection, com.sun.directory.proxy.ldap.BindRequest) @bci=371, line=2132 (Compiled frame)
- com.sun.directory.proxy.server.BackendSet.getSearchConnection(com.sun.directory.proxy.server.ClientOperation, com.sun.directory.proxy.server.ClientConnection, int, boolean, com.sun.directory.proxy.ldap.BindRequest) @bci=70, line=822 (Compiled frame)
- com.sun.directory.proxy.server.LDAPDataView.getSearchContext(com.sun.directory.proxy.server.ClientOperation, boolean, java.lang.StringBuffer, com.sun.directory.proxy.server.DataViewOpContext) @bci=152, line=220 (Compiled frame)
- com.sun.directory.proxy.server.LDAPDataView.getSearchContext(com.sun.directory.proxy.server.ClientOperation, java.lang.StringBuffer, com.sun.directory.proxy.server.DataViewOpContext) @bci=5, line=137 (Compiled frame)
- com.sun.directory.proxy.server.WorkerThread.runThread() @bci=166, line=150 (Compiled frame)
Error occurred during stack walking:
I'll double check the proxy logs but the last time it occured, I had such like messages:
[04/Nov/2008:10:06:02 +0100] - CONN - WARN - [Thread Worker Thread 33] Unable to create a connection to LDAP server ..... Exception: Unable to open socket to ..... -- exceeded maximum allowed timeout of 10000 ms
[04/Nov/2008:10:06:02 +0100] - CONN - WARN - [Thread Worker Thread 32] Unable to create a connection to LDAP server ......Exception: Unable to open socket to ..... -- exceeded maximum allowed timeout of 10000 ms
[04/Nov/2008:10:06:02 +0100] - BACKEND - WARN - Availability check indicated that LDAP server ...... is not available. Stopping server.
[04/Nov/2008:10:06:02 +0100] - BACKEND - WARN - Availability check indicated that LDAP server ...... is not available. Stopping server.
Similar Messages
-
Syslogd daemon take lot of cpu time arounf 50% of cpu utilization.
syslogd daemon problem it take lot of cpu time arounf 50% of cpu utilization. How do i solve this issue without reboot.
You can try then a "/etc/init.d/syslog stop" and "/etc/init.d/syslog start"
This is only a solution which perhaps will solve your load problem. But obviously
you should investigate why you have this strange behavior.
Grouch_fr
Edited by: Groucho_fr on Mar 17, 2009 2:19 AM -
Timer instance grabs 100% of CPU time
Hi Javapeople,
I have a java process I want to run at regular time intervals, once a day when the code is actually deployed.
I sort of have it working but the problem is that java.exe takes all of the CPU time on my NT 4 Workstation machine and everything else running is starved.
My code for scheduling is:
public class PacTimer {
Timer timer;
public PacTimer(int seconds) {
timer = new Timer();
timer.scheduleAtFixedRate(new PacTask(), seconds*1000, 20000);
class PacTask extends TimerTask {
public void run()
new PacMailer();
public static void main(String args[]) {
System.out.println("About to schedule task.");
new PacTimer(5);
System.out.println("Task scheduled.");
while(true);
In this case, the process to schedule is 'new PacMailer();' and it runs every 20 seconds.
What's the best way of scheduling something as a background process to run at regular intervals does anybody know? Thanks very much!I have a similar problem in an application, instead of waiting for a schedule time it listen to events. I think the solution must be multi-threading, we can use a low priority thread to hold the bucle, but I have to check it
-
Standalone program utlising 100 percent CPU time
We are struck with a problem, our standalone program is occupying most of cpu time and limiting existing processes access to cpu. We need to bring down cpu utilization of the process.
Java program when run polls to MQ, gets the xml message from mq, stores in databse, spans a thread which converts the message to relevant sql statements, executes them on the database. There is a limitation on maximum threads can be allowed, if more messages than max count of threads arrive they are stored and when the threads are free this message would be passed to a newly created thread.
Thread pooling is not implemented.Hi
I think I found the cause to my problem and also solved it?
When I investigated my "Console Log" the next message was repeated :
... mDNSResponder[202] Failed to obtain NAT port mapping from router 10.0.1.1 external address xxx.xxx.xxx.xxx internal port 9999
This gave me an idea and pointed in the NAT configurations.
What have I done (which solved my problem) :
• opened "Airport Utility"
• selected my Airport Base Station
• choose "manual Setup"
• choose "internet connection"
• after that i selected the tab "NAT"
• where I deactivated "Enable NAT port mapping protocol"
• and then I updated my Airport Base station
=> since then, no more the problem and de message disappeared from the "Console Log"
Greetings
Peter -
I have an itunes library of 4000+ albums and 70k+ songs. Worked great until itunes 11 today. Now, when ever I go to the search field and type 1 character, I go to 100% CPU busy and all the other characters are lost. "itunes not responding" for a couple of minutes.
Also happens when I am importing a CD from physical media, and I switch to music and try and find another album. Gui becomes unresponsive and activity monitor ends up reporting "Itunes (not responding)".
How go I go back to the working itunes?Thanks. That was it I don't know why it got changed during the upgrade to iTunes 11.
However, it still takes 5-10 seconds for this menu to appear, with the cpu at 100% one core. Seems like iTunes should support multi-threaded/multi-core processing, especially for the GUI. -
Processing files takes 100% of CPU
When downloading an album, it takes a >5 minutes for each track to get through the "Processing files" stage. iTunes uses 100% of my CPU while processing, also.
I've used iTunes to download albums without problems before-- this seems to be a new problem.Go to folder "downloads" in iTunes music folder which is the temporary downloads folder for Tunes itself.
If there is any item within (as a leftover from a former download), delete it. -
Installdb process takes 100% of CPU
Hello, I've just installed OS X 10.5 Leopard as Tiger upgrade. Everything work really slow, comparing to Tiger. The thing I've noticed — process named installdb takes all the rest of cpu power. I mean, cpu usage is always about 100% because of this. I've tried to quit installdb process, but it relaunched again. What is this and is there any way to kill it?
PS I'm currently running Safari, Finder and Activity monitor only.
Message was edited by: wpmwpm
Message was edited by: wpmwpmI am seeing the same problem... this is why I came to the forum...
Something isn't right. -
Hi,
when I am using iWeb, the mds process takes de 100% of the CPU. If I close iWeb, it stops. It also happens when I a watch a video on Aperture 3.
It started after 10.6.3.
What can I do?
Thanks in advanced
Message was edited by: plcnThe mds process is Spotlight indexing your hard drive. As you create new files/projects, it indexes them for fast searching.
It is extremely processor hoggy and personally I turn off indexing on my drives because of this issue, and I never use Spotlight to search for anything anyhow. I know where I put/keep my stuff.
To turn off indexing, go to *System Preferences* > Spotlight > Privacy and add your hard drive to the list.
The mds process will bother you no more. -
10.6.8 another problem dock takes 100% of cpu
I discovered 10.6.8 broke the printing on my Epson RX650 multifunction printer. There are work arounds to deal with that I understand.
Now I find in Activity Monitor that the dock is consuming 100% of one CPU. I can force it to quit, it comes back after a short while at around 14% CPU then shoots up to 100% again. In the floating CPU window of Activity Monitor I see one core is fully utilised. I get Dock to quit and it will come back and hog another core.
Any suggestions?Problem sorted. Saw another discussion that found Parallels as the culprit. Also saw that an update is available from Parallels that fixes the bug.
-
Airport process consuming 90-100% of cpu time
I have first gen Macbook Pro, 2Ghz. Just in the last day or so, I've noticed that the "airport" process is pretty well using up one of my CPU cores. I can kill it and I don't notice any problems.
I have read the article explaining that third party VPN software can cause this, but I have no such software installed.
edit: I've noticed that it does this when first booted. If I use airport status in the menu bar to turn off the airport card and then turn it back on, the cpu usage goes back down. Anyone know what might cause this?
Macbook Pro Mac OS X (10.4.9)I have first gen Macbook Pro, 2Ghz. Just in the last day or so, I've noticed that the "airport" process is pretty well using up one of my CPU cores. I can kill it and I don't notice any problems.
I have read the article explaining that third party VPN software can cause this, but I have no such software installed.
edit: I've noticed that it does this when first booted. If I use airport status in the menu bar to turn off the airport card and then turn it back on, the cpu usage goes back down. Anyone know what might cause this?
Macbook Pro Mac OS X (10.4.9) -
IChatAgent takes more than 100% of CPU
The iChatAgent takes more than 100% of CPU. It works normally for 10-15min with little CPU usage but then takes 100% of CPU and stays like that until I quit/kill the process. I tried waiting for hours to see it might go down is usage, but no, and the cpu fan remains on continuously.
I simply use it for text based chatting, and have disabled audio, video,microphone etc, and still this behavior that I can't use it for more than 15min.
Here is the iChat version: Version 5.0.3 (745)
Macbook Pro/10.6.4/Intel Core i7
I have tried removing ~/Library/preferences/com.apple.iChatAgent.plist as suggested elsewhere, and that hasn't helped either.Thanks again Ralph.
No, I do not have any add-ons, just out-of-the-box ichat without any audio, video in use.
At this stage unfortunately, I can't continue using iChat as it hogs up the CPU in less than 15min. And that I do not experience any problem with other chat-clients such as AIM or jabber, so switching over to those until there is a resolution.
Suhas
Here is a process-inspection done through ActivityMonitor when it was taking 100%:
Sampling process 517 for 3 seconds with 1 millisecond of run time between samples
Sampling completed, processing symbols...
Analysis of sampling iChatAgent (pid 517) every 1 millisecond
Call graph:
2457 Thread_7542 DispatchQueue_1: com.apple.main-thread (serial)
2457 start
2457 main
2454 -[NSRunLoop(NSRunLoop) run]
2439 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
2160 CFRunLoopRunSpecific
2087 __CFRunLoopRun
670 machport_insertmember
662 mach_msg
661 machmsgtrap
1 mach_msg
5 machport_insertmember
3 migget_replyport
596 machport_extractmember
589 mach_msg
577 machmsgtrap
12 mach_msg
4 machport_extractmember
3 migget_replyport
389 mach_msg
371 machmsgtrap
18 mach_msg
355 __CFRunLoopDoSources0
237 _MessageAvailable(void*)
110 XprtGetMessage
106 XPRT::InternalGetMessage(void*, unsigned int&, void*&, void*&, bool)
39 XPRT::TMessageQueue::GetMessage(bool)
14 XPRT::TPtrList::RemoveHead()
7 XPRT::TList<void*, XPRT::TDynamicTraits>::FreeNode(XPRT::TList<void*, XPRT::TDynamicTraits>::TNode*)
6 XPRT::TList<void*, XPRT::TDynamicTraits>::FreeNode(XPRT::TList<void*, XPRT::TDynamicTraits>::TNode*)
1 XPRT::TDynamicTraits::VOrphanElement(void*) const
7 XPRT::TPtrList::RemoveHead()
11 pthreadmutexunlock
8 pthreadmutexlock
4 spinlock
2 OSSpinLockUnlock
2 pthreadmutexlock
3 XPRT::TMessageQueue::GetMessage(bool)
3 _spinlock
31 free
20 szone_size
11 free
24 szonefree_definitesize
23 szonefree_definitesize
1 spinlock
5 XPRT::InternalGetMessage(void*, unsigned int&, void*&, void*&, bool)
5 operator delete(void*)
1 XPRT::TCritSec::Unlock()
1 _spinlock
2 XprtTlsGetValue
2 pthread_getspecific
110 XprtGiveMessage
85 COOL::TSocket::SocketMessageProc(unsigned int, void*, void*)
50 XprtPostMessage
48 XPRT::InternalPostMessage(void*, unsigned int, void*, void*)
25 operator new(unsigned long)
21 malloc
18 malloczonemalloc
10 szonemalloc_shouldclear
6 szonemalloc_shouldclear
4 _cpunumber
5 malloczonemalloc
2 _spinlock
1 szone_malloc
3 malloc
4 operator new(unsigned long)
10 XPRT::TMessageQueue::PostMessage(XPRT::SMessage*)
5 XPRT::TPtrList::AddTail(void*)
4 XPRT::TList<void*, XPRT::TDynamicTraits>::NewNode(void*, XPRT::TList<void*, XPRT::TDynamicTraits>::TNode*, XPRT::TList<void*, XPRT::TDynamicTraits>::TNode*)
1 XPRT::TPtrList::AddTail(void*)
4 pthreadmutexlock
1 _spinlock
6 pthreadmutexunlock
5 pthreadmutexunlock
1 spinlock
2 XPRT::InternalPostMessage(void*, unsigned int, void*, void*)
2 _spinlock
1 XPRT::TCritSec::Lock()
1 dyldstub__spinlock
1 dyldstub__spinunlock
2 XprtPostMessage
14 COOL::TSocket::FireDataAvailable()
13 COOL::TProxiedSocket::OnDataAvailable(IInputStream*, IUnknown*)
6 XPTL::CComObject<COOL::TProxiedSocket>::AddRef()
5 XPTL::CComObject<COOL::TProxiedSocket>::Release()
2 COOL::TProxiedSocket::OnDataAvailable(IInputStream*, IUnknown*)
1 COOL::TSocket::FireDataAvailable()
7 non-virtual thunk to COOL::TProxiedSocket::OnDataAvailable(IInputStream*, IUnknown*)
6 COOL::TSocket::SocketMessageProc(unsigned int, void*, void*)
6 XPRT::TPtrFromPtrMap::Lookup(void*, void*&) const
6 XPRT::TMap<void*, void*, XPRT::TDynamicKeyTraits, XPRT::TDynamicTraits>::Lookup(void*, void*&) const
3 XPRT::TMap<void*, void*, XPRT::TDynamicKeyTraits, XPRT::TDynamicTraits>::GetNode(void*, unsigned int&, unsigned int&, XPRT::TMap<void*, void*, XPRT::TDynamicKeyTraits, XPRT::TDynamicTraits>::TNode*&) const
2 XPRT::TMap<void*, void*, XPRT::TDynamicKeyTraits, XPRT::TDynamicTraits>::GetNode(void*, unsigned int&, unsigned int&, XPRT::TMap<void*, void*, XPRT::TDynamicKeyTraits, XPRT::TDynamicTraits>::TNode*&) const
1 XPRT::TDynamicKeyTraits::VHashKey(void const*) const
3 XPRT::TMap<void*, void*, XPRT::TDynamicKeyTraits, XPRT::TDynamicTraits>::Lookup(void*, void*&) const
2 XPTL::CComObject<COOL::TSocket>::AddRef()
17 XPRT::TMessageMap::Lookup(unsigned int)
7 XPRT::TPtrFromPtrMap::Lookup(void*, void*&) const
5 XPRT::TMap<void*, void*, XPRT::TDynamicKeyTraits, XPRT::TDynamicTraits>::Lookup(void*, void*&) const
4 XPRT::TMap<void*, void*, XPRT::TDynamicKeyTraits, XPRT::TDynamicTraits>::GetNode(void*, unsigned int&, unsigned int&, XPRT::TMap<void*, void*, XPRT::TDynamicKeyTraits, XPRT::TDynamicTraits>::TNode*&) const
3 XPRT::TMap<void*, void*, XPRT::TDynamicKeyTraits, XPRT::TDynamicTraits>::GetNode(void*, unsigned int&, unsigned int&, XPRT::TMap<void*, void*, XPRT::TDynamicKeyTraits, XPRT::TDynamicTraits>::TNode*&) const
1 XPRT::TDynamicKeyTraits::VHashKey(void const*) const
1 XPRT::TMap<void*, void*, XPRT::TDynamicKeyTraits, XPRT::TDynamicTraits>::Lookup(void*, void*&) const
2 XPRT::TPtrFromPtrMap::Lookup(void*, void*&) const
3 _spinlock
3 pthreadmutexunlock
2 XPRT::TMessageMap::Lookup(unsigned int)
2 pthreadmutexlock
1 OSSpinLockUnlock
1 pthreadmutexlock
8 XprtGiveMessage
6 _MessageAvailable(void*)
4 CFRunLoopSourceSignal
3 CFRunLoopSourceSignal
1 spinlock
4 _IMWillLog
2 _spinlock
1 OSSpinLockUnlock
85 CFSetApplyFunction
84 CFBasicHashApply
40 CFBasicHashGetBucket
28 _CFSetApplyFunction_block_invoke1
20 __CFRunLoopCollectSources0
12 __CFRunLoopCollectSources0
4 CFRetain
3 _CFRetain
1 OSAtomicCompareAndSwap32Barrier
1 _compare_andswap32
8 _CFSetApplyFunction_block_invoke1
16 CFBasicHashApply
1 CFSetApplyFunction
16 __CFRunLoopDoSources0
4 CFRelease
3 _CFRelease
2 CFGetTypeID
2 dyldstubOSAtomicCompareAndSwap32Barrier
2 dyldstub_IMWillLog
1 CFBasicHashGetCount
1 CFSetGetCount
1 OSAtomicCompareAndSwap32Barrier
1 _compare_andswap32
1 OSSpinLockUnlock
29 CFSetContainsValue
25 CFBasicHashGetCountOfKey
25 _CFBasicHashFindBucket1
13 _CFBasicHashFindBucket1
10 __CFStringHash
1 CFHash
1 __CFBasicHashStandardCallback
4 CFSetContainsValue
24 __CFRunLoopRun
9 _spinlock
5 dispatch_get_main_queue_port4CF
3 CFRunLoopGetMain
2 OSSpinLockUnlock
2 dyldstubOSSpinLockLock
1 dyldstub_mach_msgtrap
1 pthread_getspecific
1 pthreadmainnp
36 __CFRunLoopFindMode
31 CFSetGetValue
30 CFBasicHashFindBucket
29 _CFBasicHashFindBucket1
9 __CFStringHash
8 _CFBasicHashFindBucket1
6 CFHash
5 __CFBasicHashStandardCallback
3 CFEqual
2 __CFBasicHashStandardCallback
1 __CFRunLoopModeHash
1 CFBasicHashFindBucket
1 CFSetGetValue
2 __bzero
2 memset
1 __CFRunLoopFindMode
17 __CFRunLoopModeIsEmpty
17 CFSetContainsValue
17 CFBasicHashGetCountOfKey
17 _CFBasicHashFindBucket1
12 __CFStringHash
5 _CFBasicHashFindBucket1
8 CFRunLoopRunSpecific
7 _spinlock
2 spinlock
2 dyldstub_machmsg
1 dyldstubOSSpinLockUnlock
121 _CFRunLoopFinished
80 __CFRunLoopFindMode
66 CFSetGetValue
63 CFBasicHashFindBucket
57 _CFBasicHashFindBucket1
22 __CFBasicHashStandardCallback
16 CFEqual
14 CFEqual
2 __CFRunLoopModeEqual
6 __CFBasicHashStandardCallback
17 _CFBasicHashFindBucket1
9 __CFStringHash
6 CFHash
3 __CFRunLoopModeHash
5 CFBasicHashFindBucket
1 __CFBasicHashStandardCallback
3 CFSetGetValue
6 __bzero
5 __CFRunLoopFindMode
2 memset
1 _CFRuntimeSetInstanceTypeID
29 __CFRunLoopModeIsEmpty
19 CFSetContainsValue
14 CFBasicHashGetCountOfKey
13 _CFBasicHashFindBucket1
7 __CFStringHash
3 _CFBasicHashFindBucket1
2 __CFBasicHashStandardCallback
1 CFHash
1 CFBasicHashGetCountOfKey
5 CFSetContainsValue
6 pthreadmainnp
2 pthread_getspecific
1 CFRunLoopGetMain
1 __CFRunLoopModeIsEmpty
6 _CFRunLoopFinished
2 OSSpinLockUnlock
2 _spinlock
2 dyldstub_pthread_mainnp
39 _CFAutoreleasePoolPop
23 _CFAutoreleasePoolPop
7 pthread_setspecific
3 pthread_getspecific
2 objcgetFreedObjectClass
2 objc_collectingEnabled
2 pthread_self
29 -[NSCFString isEqual:]
11 -[NSCFString isEqual:]
8 CFStringGetCStringPtr
4 object_getClass
3 objcmsgSendvtable2
2 _CFStringGetLength2
1 NSClassFromObject
28 CFAbsoluteTimeGetCurrent
21 gettimeofday
18 __gettimeofday
12 __nanotime
6 __gettimeofday
3 gettimeofday
7 CFAbsoluteTimeGetCurrent
17 _CFAutoreleasePoolPush
8 pthread_setspecific
7 _CFAutoreleasePoolPush
2 objc_collectingEnabled
13 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
6 NSPopAutoreleasePool
2 NSPopAutoreleasePool
2 _CFExecutableLinkedOnOrAfter
2 objc_collectingEnabled
5 _spinlock
4 objc_msgSend
3 dyldstub_CFStringGetLength2
3 dyldstub_pthreadsetspecific
2 CFRunLoopRunInMode
2 CFRunLoopGetCurrent
2 dyldstubCFStringGetCStringPtr
2 dyldstubOSSpinLockUnlock
1 dyldstub__objcgetFreedObjectClass
1 dyldstubgettimeofday
1 dyldstub_objccollectingEnabled
1 dyldstub_pthreadgetspecific
1 objcmsgSendvtable12
9 objc_msgSend
3 -[NSRunLoop(NSRunLoop) run]
1 +[NSDate distantFuture]
1 CFRunLoopRunInMode
1 NSPushAutoreleasePool
3 dyldstub_objcmsgSend
2457 Thread_7543 DispatchQueue_2: com.apple.libdispatch-manager (serial)
2457 start_wqthread
2457 pthreadwqthread
2457 dispatch_workerthread2
2457 dispatch_queueinvoke
2457 dispatch_mgrinvoke
2457 kevent
2457 Thread_7553
2457 thread_start
2457 pthreadstart
2457 XPRT::_ThreadProc(void*)
2457 XPRT::TTimer::ThreadProc(void*)
2457 XPRT::TCondVar::Wait(int)
2457 pthread_condwait
2457 _semwaitsignal
2457 Thread_7554
2457 thread_start
2457 pthreadstart
2457 XPRT::_ThreadProc(void*)
2457 COOL::TSocket::SocketThreadProc(void*)
2457 select$DARWIN_EXTSN
Total number in stack (recursive counted multiple, when >=5):
11 _spinlock
6 OSSpinLockUnlock
5 __CFBasicHashStandardCallback
5 __CFStringHash
5 _CFBasicHashFindBucket1
5 spinlock
Sort by top of stack, same collapsed (when >= 5):
_semwaitsignal 2457
kevent 2457
select$DARWIN_EXTSN 2457
machmsgtrap 1609
__CFStringHash 47
_CFBasicHashFindBucket1 46
CFBasicHashGetBucket 40
_spinlock 37
mach_msg 31
__CFRunLoopRun 24
_CFAutoreleasePoolPop 23
szonefree_definitesize 23
szone_size 20
pthreadmutexunlock 19
CFEqual 17
CFBasicHashApply 16
__CFRunLoopDoSources0 16
pthread_setspecific 15
CFHash 14
-[NSRunLoop(NSRunLoop) runMode:beforeDate:] 13
objc_msgSend 13
__CFBasicHashStandardCallback 12
__CFRunLoopCollectSources0 12
__nanotime 12
-[NSCFString isEqual:] 11
free 11
CFSetContainsValue 9
OSSpinLockUnlock 9
spinlock 9
CFRunLoopRunSpecific 8
CFStringGetCStringPtr 8
XprtGiveMessage 8
_CFSetApplyFunction_block_invoke1 8
__bzero 8
pthread_getspecific 8
CFAbsoluteTimeGetCurrent 7
XPRT::TPtrList::RemoveHead() 7
_CFAutoreleasePoolPush 7
non-virtual thunk to COOL::TProxiedSocket::OnDataAvailable(IInputStream*, IUnknown*) 7
pthreadmainnp 7
pthreadmutexlock 7
CFBasicHashFindBucket 6
COOL::TSocket::SocketMessageProc(unsigned int, void*, void*) 6
XPRT::TList<void*, XPRT::TDynamicTraits>::FreeNode(XPRT::TList<void*, XPRT::TDynamicTraits>::TNode*) 6
XPTL::CComObject<COOL::TProxiedSocket>::AddRef() 6
_CFRunLoopFinished 6
_MessageAvailable(void*) 6
__CFRunLoopFindMode 6
__gettimeofday 6
migget_replyport 6
objc_collectingEnabled 6
szonemalloc_shouldclear 6
XPRT::InternalGetMessage(void*, unsigned int&, void*&, void*&, bool) 5
XPRT::TMap<void*, void*, XPRT::TDynamicKeyTraits, XPRT::TDynamicTraits>::GetNode(void*, unsigned int&, unsigned int&, XPRT::TMap<void*, void*, XPRT::TDynamicKeyTraits, XPRT::TDynamicTraits>::TNode*&) const 5
XPTL::CComObject<COOL::TProxiedSocket>::Release() 5
dispatch_get_main_queue_port4CF 5
machport_insertmember 5
malloczonemalloc 5
operator delete(void*) 5
Sample analysis of process 517 written to file /dev/stdout -
Zenity takes 100% CPU Time
When I run as root or normal User
zenity --notification --text="test"
The zenity process takes 100% Cpu time
System:
Arch 32bit gnome 2.22
Last edited by brickwedde.eu (2008-05-06 11:26:00)I GOT IT... I think.
zenity --notification actually calls libnotify! I was trying out a script and suddenly realized something, because by chance dbus decided to take a break. Take a look at these two code fragments.
$ zenity --info --text "hello"
$ _
$ zenity --notification --text "hello"
libnotify-Message: Unable to get session bus: Failed to connect to socket /tmp/dbus-jmMdFXbznS: Connection refused
<hang>
<100% CPU usage>
I've figured out why: it's basic socket programming gone wrong. The notification part of zenity calls libnotify, tries to connect to libnotify's socket, and fails, using 100% CPU waiting for the connection to... end a stream that never started.
A possible solution is to just use notify-send.
-dav7
Last edited by dav7 (2008-05-09 00:27:30) -
Java process take 100% cpu
Hello,
I have a webapp running on Tomcat 5.0.28/RHEL 3.0. After some time (approximatively 1 hour), a java process take 100% cpu load and never stop, but the application do nothing.
Some detail on my configuration :
Distribution : Redhat Enterprise Linux 3.0 (updated)
Kernel 2.4.21-37.0.1.ELsmp
Glibc 2.3.2-95.37
JVM : JRockit 1.4.2.08 (the last one)
Tomcat : 5.0.28
Server : 2*Xeon 3GHz HT, 2Go RAM
JVM param : -Xmx:256m -Xms:256m
Thanks for your answers ...Try taking thread dump (send a SIGQUIT to JRockit using "kill"). If you
get a thread dump, the VM is alive, and it's probably your java program
that's broken. In that case, make a JRA recording to see what's happening:
http://e-docs.bea.com/jrockit/docs142/usingJRA/jra.html
The methods pane is probably what you're looking for.
If you don't get any thread dump when sending a SIGQUIT to JRockit,
come back here.
Regards //Johan
Gr?goire Rolland wrote:
Hello,
I have a webapp running on Tomcat 5.0.28/RHEL 3.0. After some time (approximatively 1 hour), a java process take 100% cpu load and never stop, but the application do nothing.
Some detail on my configuration :
Distribution : Redhat Enterprise Linux 3.0 (updated)
Kernel 2.4.21-37.0.1.ELsmp
Glibc 2.3.2-95.37
JVM : JRockit 1.4.2.08 (the last one)
Tomcat : 5.0.28
Server : 2*Xeon 3GHz HT, 2Go RAM
JVM param : -Xmx:256m -Xms:256m
Thanks for your answers ... -
Labview Loop Takes 100% cpu
Hello,
I'm wondering the best way to send a serial command when a button is pressed. Right now I have a while loop that checks if the button is pressed each time. If is is, it sends the serial command and adds the response to a text box via a shift register. If not, the original text box info is passed to the shift register. However, this loop takes 100% cpu (ok, only one core at 100% so technically %50), and I think its because the text box is getting overwriten every cycle. However, I'm not sure how else to do it. Attached is a print screen, let me know if you would like the file.
Thanks,
Eric
Solved!
Go to Solution.
Attachments:
loop1.png 42 KBAn event structure is the best way. The next best way is to simply put in a wait in the loop.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines -
I tried to add this in the topic already open but it kept sending me through the unending rabbit holes!
My question is: How do I figure out what release I was on, get rid of this one and got back to a functional firefox that moves in realtime. I already did all the reset and etc.... I just want to go back to the speed I had. This halting , hanging up misery of a browzer is Sad. I have had firefox for years and always recommended it ..... BUT NOT ANY MORE. I agree with the other poster ... there should be a rollback feature. Peoples time has value and right now FireFox is sucking the value down a rabbit hole.
See Below Comment Feedback submitted before I finally got here:
This new version of FireFox is making me nutz! It is SUCKING 100% CPU time almost constantly. I could just pull my hair out. I wpdated once a month or so ago and it slowed down..... but the latest update before I did the reset really slowed me down. I came here to fix it a couple of dayz ago and did the reset firefox and now it IS RUNNING SO POORLY AND SLOW I AM ABOUT TO KILL IT OFF MY MACHINE!!! Yes that is me yelling - and it happened in SSSSSSSSSSSSS LLLLLLLLL OOOOOOOO WWWWWWWWWW Motion. I have run all the security scans and cleanups ---this needs a fix ASAP!!! PS: The hang ups and slowness is EVERYWHERE I go. I only get speed doing programs not connected to ON LINE.Hello,
The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
To Reset Firefox do the following:
#Go to Firefox > Help > Troubleshooting Information.
#Click the "Reset Firefox" button.
#Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
#Firefox will open with all factory defaults applied.
Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
Did this fix your problems? Please report back to us!
Thank you.
Maybe you are looking for
-
.
-
VAT amount included in Purchase order
Hi experts: We need to create a Purchase Order where it should contain the vat amount, but in the goods receipts the mount of the Purchase order should decreased by the VAT percentage. Example: -VAT porcentage here is 13% Purchase order shpuld be cre
-
String to XML conversion using XSLT
Hi all, I have a scenario when my source input XML is in the form of a string which needs to be transformed into an XML target fields. I am using XSLT mapping to do that and its working but unfortunately, input XML contain xml declaration <?xml versi
-
PHP variables limit ??
is there limit for varibiles in AS3 and PHP i have the folowing AS3 code in my flash file var data1:Array=new Array(5000); var data2:Array=new Array(5000); var variables:URLVariables = new URLVariables(); var varSend:URLRequest = new URLRequest("http
-
WARNING: TimeMachine can unexpectedly delete all its backups!!!
I'm running 10.5.2 and for some reason TimeMachine didn't consolidate all of the previous hourly backups. So I went into TimeMachine, selected the backup folder for the particuar date and time and chose the atomator function to delete this backup ->