[omniORB] Hundred of threads in recv

Andrea Venturoli ml at netfence.it
Sat Aug 14 13:14:12 BST 2010


Hello.

This morning we had to restart a server application we developed, since 
it was not responding any more.

We saw a lot of this error in the logs:

> omniORB: Exception trying to start new thread (11). Task queued.

Also, there were hundreds of threads like the following:

> #0  0xb780c424 in __kernel_vsyscall ()
> #1  0xb6aabae7 in poll () from /lib/tls/i686/cmov/libc.so.6
> #2  0xb6d6f2a8 in omni::SocketCollection::Select (this=0xb3b00fd8) at ../../../../../src/lib/omniORB/orbcore/SocketCollection.cc:500
> #3  0xb6d93c9a in omni::tcpEndpoint::AcceptAndMonitor (this=0xb3b00fd0, func=0xb6d542b0 <omni::giopRendezvouser::notifyReadable(void*, omni::giopConnection*)>, cookie=0xb3b018d0)
>     at ../../../../../src/lib/omniORB/orbcore/tcp/tcpEndpoint.cc:659
> #4  0xb6d540e8 in omni::giopRendezvouser::execute (this=0xb3b018d0) at ../../../../../src/lib/omniORB/orbcore/giopRendezvouser.cc:92
> #5  0xb6cf6d30 in omniAsyncWorker::real_run (this=0xb3b01900) at ../../../../../src/lib/omniORB/orbcore/invoker.cc:232
> #6  0xb6cf67eb in omniAsyncWorkerInfo::run (this=0x2) at ../../../../../src/lib/omniORB/orbcore/invoker.cc:280
> #7  0xb6cf6fea in omniAsyncWorker::run (this=0xb3b01900) at ../../../../../src/lib/omniORB/orbcore/invoker.cc:159
> #8  0xb77fa937 in omni_thread_wrapper (ptr=0xb3b01900) at ../../../../src/lib/omnithread/posix.cc:456
> #9  0xb6e3e4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
> #10 0xb6ab649e in clone () from /lib/tls/i686/cmov/libc.so.6

The OS is Ubuntu with OmniORB 4.1.2.


Any help or hint on this?

  bye & Thanks
	av.



More information about the omniORB-list mailing list