Page 2 of 2 FirstFirst 1 2
Results 16 to 20 of 20

Thread: Response thread

  1. #16
    ngambek2003 is offline Registered User
    Name: Budyanto Himawan
    Organization: WMS Inc.
    Project: Casino back end services
    Join Date
    Sep 2009
    Posts
    87
    I set it for the service..

    Here's a screenshot of IceGrid GUI (attached).

    Interestingly enough for the cases when it didn't hang, I do see multiple "JavaGameServer-lucketicket-1-GameService-lucketicket-Ice.ThreadPool.Server" threads in the dump. So it seems like sometimes the Communicator doesn't get setup with the right pool?, even though the IceGrid GUI shows that it does?

    Could this be because it is running on a VMware virtual machine??
    Attached Images Attached Images
    Last edited by ngambek2003; 05-03-2010 at 03:23 PM.

  2. #17
    ngambek2003 is offline Registered User
    Name: Budyanto Himawan
    Organization: WMS Inc.
    Project: Casino back end services
    Join Date
    Sep 2009
    Posts
    87
    I have another server dump that shows that two threads are in the server pool (attached). In this case the system still hangs.

    What I'm seeing is that even though I set the size to, say 5, I don't consistently get 5 threads in the dump.
    Attached Files Attached Files

  3. #18
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    This latest thread dump is definitely suspicious. Your configuration looks fine. The thread dump shows 2 threads for your service server thread pool: one is waiting on the serverToClient remote call and the other is idle waiting on the thread pool monitor.

    I don't see any threads waiting on the thread pool selector (which monitors Ice connections and eventually read data from connections). This is wrong -- there should always be such a thread unless there are no more threads available in the thread pool (which isn't the case here).

    So something must have happened to this thread.

    Do you see any errors in the stderr output of the server? You should see thread dumps of the JVM when sending the SIGQUIT signal, is perhaps something not working with the standard error output? Do you use any logging facilities such as log4j which could interfere with Ice stderr/stdout redirection (there used to be some issues with log4j, see this thread for example, I'm not sure this is still relevant though)?

    At a first step, you could try running the icegridnode from the command line and disable the stderr/stdout file redirection. The stderr/stdout output of servers should then go to the console and you should see thread dumps of Java servers when you send them the SIGQUIT signal. If this works, you could try to reproduce the deadlock with this configuration and see if any errors show up.

    Cheers,
    Benoit.

  4. #19
    ngambek2003 is offline Registered User
    Name: Budyanto Himawan
    Organization: WMS Inc.
    Project: Casino back end services
    Join Date
    Sep 2009
    Posts
    87
    I am using log4j. Once I turn off redirection, I can get the dump by sending the pid kill -3.

    I have full output from the node now. I don't really see any error but I do see these. So the pool size keeps shrinking until it's at 1.

    Code:
    -- 5/3/10 16:59:23:246 JavaGameServer-lucketicket-1-GameService-lucketicket: ThreadPool: shrinking Ice.ThreadPool.Server: Size=4
    I can send you the full log via email. Is there an email I can send it to?

    Thanks
    Budyanto

  5. #20
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    You can send it to support@zeroc.com.

    Cheers,
    Benoit.

Page 2 of 2 FirstFirst 1 2

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. fast response of a twoway after a huge batch
    By David in forum Help Center
    Replies: 2
    Last Post: 06-26-2006, 08:10 AM
  2. response timeout?
    By David in forum Help Center
    Replies: 3
    Last Post: 06-21-2006, 04:03 AM
  3. How to minimize the response time?
    By rwxybh in forum Help Center
    Replies: 4
    Last Post: 01-15-2006, 09:25 PM
  4. how to match different request-response in ami call?
    By timeguest in forum Help Center
    Replies: 1
    Last Post: 10-28-2004, 07:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •