Go Back   ZeroC Forums > Bug Reports

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 04-11-2007
GlacierX GlacierX is offline
Registered User
 
Name: Rong Xian
Organization: BMC
Project: my private interest
 
Join Date: Apr 2005
Posts: 20
Send a message via MSN to GlacierX
-->
Bug of Glacier2Router

Let me describe the scenario first.

I deployed my service behind glacier2router.

My service upgraded to IcePy 3.2 recently and the glacier2router is the origin binary exe from Ice 3.2 distribution.

The basic way I do communication is that client register to service as callback interface, service push data to client through that callback interface.

Before I upgrade to 3.2, the service may slow down occasionally, times of callback usually drop to around 300/10s since it was 4000/10s when everything is ok.

I tried to solve that and modified my service. I reset communicator and all adapters since I found the situation above had appeared. That works on most occasions. However sometimes communicator failed to restart(I shut down the old communicator first and create it a new one after that), it blocked when communicator was trying to shutdown.

After that, I decided to upgrade to 3.2.

Things became worse after I did so. The glacier2router may halt sometimes. I can connect to glacier2router's endpoint but cannot get the 'IceP' magic number. All the communications seem to be deadlock since that.

My question is that if it's possible in Ice 3.2 that glacier2router in a state of deadlocked? What updates you guys have made could cause that?
Reply With Quote
  #2 (permalink)  
Old 04-11-2007
benoit's Avatar
benoit benoit is offline
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,535
Hi,

I'm afraid it's difficult to help without more information. The best way to figure out if the glacier2router is deadlocked is to attach the debugger to the process and retrieve the stack traces of each thread. Can you try out to get this information?

Also, which operating system do you use?

Cheers,
Benoit.
Reply With Quote
  #3 (permalink)  
Old 04-11-2007
GlacierX GlacierX is offline
Registered User
 
Name: Rong Xian
Organization: BMC
Project: my private interest
 
Join Date: Apr 2005
Posts: 20
Send a message via MSN to GlacierX
-->
Yepp, I'll try to do that.
BTW, I'm afraid that I can only use release version of glacier2router to retrive the call stack information. Could that be helpful?
Reply With Quote
  #4 (permalink)  
Old 04-11-2007
benoit's Avatar
benoit benoit is offline
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,535
Hi,

The best would be to get this information with a debug build (you easily build it by using the Ice source packages). Whether or not you'll get a useful thread dump with a release build depends on the operating system you're using, just try it out to see how it looks.

Cheers,
Benoit.
Reply With Quote
  #5 (permalink)  
Old 04-11-2007
GlacierX GlacierX is offline
Registered User
 
Name: Rong Xian
Organization: BMC
Project: my private interest
 
Join Date: Apr 2005
Posts: 20
Send a message via MSN to GlacierX
-->
I deployed my services on Windows 2003 sp1
Reply With Quote
  #6 (permalink)  
Old 04-11-2007
benoit's Avatar
benoit benoit is offline
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,535
You should rebuild Ice with debug information, otherwise I'm pretty sure you won't get useful stack traces with a release build on Windows. Another option would be to write a small self-contained and compilable test case that you could post here.

Cheers,
Benoit.
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
Problems with glacier2router davidcr1983 Help Center 5 08-10-2006 02:50 PM
shutdown glacier2router when running as daemon xdm Help Center 1 06-22-2006 04:28 AM
Glacier2Router can be linked in series? OrNot Help Center 4 06-30-2005 06:43 AM


All times are GMT -4. The time now is 07:21 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.