Archived
This forum has been archived. Please start a new discussion on GitHub.
Communicator connection limit
Hi , in our team work at testSuite for make stress test of our backend server.
Our client try to simulate 20.000 ( normal client ) a router for conenction , we using AMI invocation for service method.
Today we have found a probability physical limit, we can't do more then 15.000 connection because at 16.000 we have that :
is that a physical limit?
note: the client PC and Server don't have memory problem
thanks
Andrea
Our client try to simulate 20.000 ( normal client ) a router for conenction , we using AMI invocation for service method.
Today we have found a probability physical limit, we can't do more then 15.000 connection because at 16.000 we have that :
*** glibc detected *** ./test_suite: corrupted double-linked list: 0x00007f3f3e309ae0 *** ======= Backtrace: ========= /lib/libc.so.6[0x7f45f050e28c] /lib/libc.so.6(cfree+0x8c)[0x7f45f0511c1c] /usr/lib/libIce.so.33(_ZN11IceInternal6Buffer9ContainerD1Ev+0x18)[0x7f45f32a81bc] /usr/lib/libIce.so.33(_ZN11IceInternal6BufferD2Ev+0x2c)[0x7f45f32bd94c] /usr/lib/libIce.so.33(_ZN11IceInternal11BasicStreamD0Ev+0xfd)[0x7f45f32bda9b] /usr/lib/libIce.so.33(_ZN11IceInternal28OutgoingAsyncMessageCallback23__releaseCallbackNoSyncEv+0x42)[0x7f45f33859aa] /usr/lib/libIce.so.33(_ZN11IceInternal28OutgoingAsyncMessageCallback17__releaseCallbackEv+0x27)[0x7f45f33612fb] /home/scardaci/testSuite/trunk/libiceproxies/libiceidl_argo.so(_ZN3ade4argo21AMI_iUserService_echo10__responseEb+0x149)[0x7f45f1984939] /usr/lib/libIce.so.33(_ZN11IceInternal13OutgoingAsync10__finishedERNS_11BasicStreamE+0xcf4)[0x7f45f3387cd0] /usr/lib/libIce.so.33(_ZN3Ice11ConnectionI7messageERN11IceInternal11BasicStreamERKNS1_6HandleINS1_10ThreadPoolEEE+0x16a)[0x7f45f32eaec8] /usr/lib/libIce.so.33(_ZN11IceInternal10ThreadPool3runEv+0xc92)[0x7f45f33f9d3a] /usr/lib/libIce.so.33(_ZN11IceInternal10ThreadPool18EventHandlerThread3runEv+0x92)[0x7f45f33fa5fa] /usr/lib/libIceUtil.so.33[0x7f45f2ec3d86] /lib/libpthread.so.0[0x7f45efc673f7] /lib/libc.so.6(clone+0x6d)[0x7f45f0571b2d] ======= Memory map: ======== 00400000-0041b000 r-xp 00000000 08:01 17932458 /home/scardaci/testSuite/trunk/test_suite 0061b000-0061c000 rw-p 0001b000 08:01 17932458 /home/scardaci/testSuite/trunk/test_suite 0061c000-124bb000 rw-p 0061c000 00:00 0 [heap] 40489000-4048a000 ---p 40489000 00:00 0 4048a000-40c8a000 rw-p 4048a000 00:00 0 41072000-41073000 ---p 41072000 00:00 0 41073000-41873000 rw-p 41073000 00:00 0 41873000-41874000 ---p 41873000 00:00 0 41874000-42074000 rw-p 41874000 00:00 0 42074000-42075000 ---p 42074000 00:00 0 42075000-42875000 rw-p 42075000 00:00 0 42875000-42876000 ---p 42875000 00:00 0 42876000-43076000 rw-p 42876000 00:00 0 43076000-43077000 ---p 43076000 00:00 0 43077000-43877000 rw-p 43077000 00:00 0 43877000-43878000 ---p 43877000 00:00 0 43878000-44078000 rw-p 43878000 00:00 0 44078000-44079000 ---p 44078000 00:00 0 44079000-44879000 rw-p 44079000 00:00 0 44879000-4487a000 ---p 44879000 00:00 0 4487a000-4507a000 rw-p 4487a000 00:00 0 4507a000-4507b000 ---p 4507a000 00:00 0 4507b000-4587b000 rw-p 4507b000 00:00 0 4587b000-4587c000 ---p 4587b000 00:00 0 4587c000-4607c000 rw-p 4587c000 00:00 0 4607c000-4607d000 ---p 4607c000 00:00 0 4607d000-4687d000 rw-p 4607d000 00:00 0 4687d000-4687e000 ---p 4687d000 00:00 0 4687e000-4707e000 rw-p 4687e000 00:00 0 4707e000-4707f000 ---p 4707e000 00:00 0 4707f000-4787f000 rw-p 4707f000 00:00 0 4787f000-47880000 ---p 4787f000 00:00 0 47880000-48080000 rw-p 47880000 00:00 0 48080000-48081000 ---p 48080000 00:00 0 48081000-48881000 rw-p 48081000 00:00 0 48881000-48882000 ---p 48881000 00:00 0 48882000-49082000 rw-p 48882000 00:00 0 49082000-49083000 ---p 49082000 00:00 0 10/12/08 03:17:47.766 error: cannot create thread for `Ice.ThreadPool.Client': Thread.cpp:445: IceUtil::ThreadSyscallException: syscall exception: Cannot allocate memory 10/12/08 03:17:47.780 error: cannot create thread for `Ice.ThreadPool.Client': Thread.cpp:445: IceUtil::ThreadSyscallException: syscall exception: Cannot allocate memory 10/12/08 03:17:47.781 error: cannot create thread for `Ice.ThreadPool.Client': Thread.cpp:445: IceUtil::ThreadSyscallException: syscall exception: Cannot allocate memory 10/12/08 03:17:47.781 error: cannot create thread for `Ice.ThreadPool.Client': Thread.cpp:445: IceUtil::ThreadSyscallException: syscall exception: Cannot allocate memory 10/12/08 03:17:47.781 error: cannot create thread for `Ice.ThreadPool.Client': Thread.cpp:445: IceUtil::ThreadSyscallException: syscall exception: Cannot allocate memory 10/12/08 03:17:47.781 error: cannot create thread for `Ice.ThreadPool.Client': Thread.cpp:445: IceUtil::ThreadSyscallException:
is that a physical limit?
note: the client PC and Server don't have memory problem
thanks
Andrea
0
Comments
-
Hi Andrea,
You may be running out of virtual memory. See http://www.zeroc.com/faq/threadStackSize.html.
Cheers,
Bernard0 -
I have already see the topic "Threads and Concurrency" on FAQ
great thanks a lot.
Andrea0