ThreadPoll model problems (traces for the maxServerThreadPerConnection=1)
Serguei Kolos <[email protected]> Mon, 23 Feb 2004 12:51:40 +0100
| Newsgroups | gmane.comp.corba.omniorb.devel |
|---|---|
| Message-ID | <[email protected]> |
Just a small addition, which might be usefulr. If I set maxServerThreadPerConnection=1 the the client hangs trying to connect the server. Here are the server and the claent traces: SERVER: omniORB: giopRendezvouser task execute for giop:tcp:137.138.90.234:2745 omniORB: Scavenger task execute. omniORB: Adding root/ipc/partition<initial> (activating) to object table. omniORB: State root/ipc/partition<initial> (activating) -> active omniORB: Creating ref to local: root/ipc/partition<initial> target id : IDL:ipc/partition:1.0 most derived id: IDL:ipc/partition:1.0 omniORB: Server accepted connection from giop:tcp:137.138.90.234:2748 omniORB: AsyncInvoker: thread id = 3 has started. Total threads = 3 omniORB: giopWorker task execute. omniORB: Accepted connection from giop:tcp:137.138.90.234:2748 because of this rule: "* unix,ssl,tcp" omniORB: inputMessage: from giop:tcp:137.138.90.234:2748 96 bytes omniORB: 4749 4f50 0102 0100 5400 0000 0200 0000 GIOP....T....... 0300 0000 0000 0000 1600 0000 ff69 7063 .............ipc 2f70 6172 7469 7469 6f6e 0069 6e69 7469 /partition.initi 616c 0000 0e00 0000 5f6e 6f6e 5f65 7869 al......_non_exi 7374 656e 7400 0000 0100 0000 0100 0000 stent........... 0c00 0000 0100 0000 0100 0100 0901 0100 ................ omniORB: recieve codeset service context and set TCS to (ISO-8859-1,UTF-16) omniORB: sendChunk: to giop:tcp:137.138.90.234:2748 25 bytes omniORB: 4749 4f50 0102 0101 0d00 0000 0200 0000 GIOP............ 0000 0000 0000 0000 00 ......... omniORB: Scan for idle connections (1077536899,356093000) omniORB: Scavenger reduce idle count for strand 0x8066f78 to 35 omniORB: Scan for idle connections done (1077536899,356093000). omniORB: Scan for idle connections (1077536904,356813000) omniORB: Scavenger reduce idle count for strand 0x8066f78 to 34 omniORB: Scan for idle connections done (1077536904,356813000). CLIENT: omniORB: Initialising incoming endpoints. omniORB: Bind to address 0.0.0.0. omniORB: Starting serving incoming endpoints. omniORB: Creating ref to remote: root/ipc/partition<initial> target id : IDL:omg.org/CORBA/Object:1.0 most derived id: IDL:ipc/partition:1.0 omniORB: send codeset service context: (ISO-8859-1,UTF-16) omniORB: Client opened connection to giop:tcp:137.138.90.234:2745 omniORB: sendChunk: to giop:tcp:137.138.90.234:2745 96 bytes omniORB: 4749 4f50 0102 0100 5400 0000 0200 0000 GIOP....T....... 0300 0000 0000 0000 1600 0000 ff69 7063 .............ipc 2f70 6172 7469 7469 6f6e 0069 6e69 7469 /partition.initi 616c 0000 0e00 0000 5f6e 6f6e 5f65 7869 al......_non_exi 7374 656e 7400 0000 0100 0000 0100 0000 stent........... 0c00 0000 0100 0000 0100 0100 0901 0100 ................ omniORB: AsyncInvoker: thread id = 1 has started. Total threads = 2 omniORB: giopRendezvouser task execute for giop:tcp:137.138.90.234:2747 omniORB: AsyncInvoker: thread id = 2 has started. Total threads = 2 omniORB: Scavenger task execute. omniORB: inputMessage: from giop:tcp:137.138.90.234:2745 25 bytes omniORB: 4749 4f50 0102 0101 0d00 0000 0200 0000 GIOP............ 0000 0000 0000 0000 00 ......... omniORB: LocateRequest to remote: root/ipc/partition<initial> omniORB: sendChunk: to giop:tcp:137.138.90.234:2745 46 bytes omniORB: 4749 4f50 0102 0103 2200 0000 0400 0000 GIOP...."....... 0000 0000 1600 0000 ff69 7063 2f70 6172 .........ipc/par 7469 7469 6f6e 0069 6e69 7469 616c tition.initial omniORB: Scan for idle connections (1077536904,161153000) omniORB: Scan for idle connections done (1077536904,161153000). Here the client hangs