Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 10-28-2004
simpley simpley is offline
Registered User
 
 
Join Date: Aug 2003
Location: beijing
Posts: 43
error info of Ice.ThreadPool.Server

in my application on Ice, I set the property of Ice_ThreadPool.Server to 4, but when I run serval clients less than 2, the server side will show some warn info such as:
thread pool "Ice.ThreadPool.Server" is running low on threads size =4, sizeMax = 4, SizeWarn = 3
but if run more than 3 clients, the server would down with error info as:
kgepop: no error frame to pop to for error 21500

but if I do not set the "Ice.ThreadPool.Server", there is no any problem, why?
Reply With Quote
  #2 (permalink)  
Old 10-28-2004
marc's Avatar
marc marc is offline
ZeroC Staff
 
Name: Marc Laukien
Organization: ZeroC, Inc.
Project: The Internet Communications Engine
 
Join Date: Feb 2003
Location: Florida
Posts: 1,781
If you do not modify Ice.ThreadPool.Server.Size, then the default will be used, meaning just one thread, and no warnings. Therefore you don't see any warnings.

The error message "kgepop: no error frame to pop to for error 21500" does not originate from Ice, so you must check your own application code for the cause. Since the error message does not appear if you use only one thread, my guess is that the error message is being caused by the application not being thread safe.

You get the warning message whenever the number of threads used from the thread pool reaches Ice.ThreadPool.Server.SizeWarn. Please see the Ice manual for more information on this property. Note that threads are not only used for dispatching requests, but also for accepting new connections.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
icessl get unknow exception threadpool.server Jacky_Lee Help Center 5 09-26-2006 12:32 PM
error: filedescriptor 1257 not registered with `Ice.ThreadPool.Server' kent Help Center 11 08-23-2006 08:21 AM
unknown exception in `Ice.ThreadPool.Server' aroan Bug Reports 5 03-27-2006 12:21 AM
unknown exception in 'Ice.ThreadPool.Server' Mr.Freeze Help Center 1 09-24-2003 12:22 PM
How to get connection info? amrufon Help Center 15 08-26-2003 09:23 AM


All times are GMT -4. The time now is 05:40 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.