Server code debuging and monitoring runtime.

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

Post Reply
udikantz
Posts: 153
Joined: 24 Sep 2009, 09:36

Server code debuging and monitoring runtime.

Post by udikantz »

Hello,

Recently we have encountered with a new cpu problem on one of our games.
after x amount of time the cpu gets to 100% on several cores.
and eventually if the server is not restarted the server gets stuck.

I have checked the memory and it seems there are no leaks and there is plenty of free memory. we have allocated over 6GB of memory and the usage is usually less than 1GB.

So i suspect there's something that causes a loop in the code which i could not find after several code reviews.

How would you go and monitor your code at production to find the problematic loop?
diwip games - co founder & CPO.

http://www.diwip.com
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

I'd recommend VisualVM
http://visualvm.java.net/
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply