CPU overloading when using Java Extension

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

Moderators: Lapo, Bax

eyal
Posts: 35
Joined: 29 Nov 2009, 11:18

CPU overloading when using Java Extension

Postby eyal » 23 Feb 2010, 09:26

Hi,
We are using extension for monitoring and controlling our games.
All extension are written with Java.
Recentlly, we have notice that when client calling

Code: Select all

handleRequest(String cmd, JSONObject jso, User u, int fromRoom)
the server CPU usage have ben reached to highter loading levels. sometimes to 100% CPU usage.
We have tried to call this method which do nothing and the sever shows higher level of usage.
Do you know how to solve this problem?
Thanks,
Eyal.
User avatar
Lapo
Site Admin
Posts: 23007
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 23 Feb 2010, 14:39

Hi,
I would require more details.
Is one call to the JSON method able to produce the problem?
Are you able to reproduce the issue at will? If so can you provide a sequence of actions to generate the issue?

Does the problem occur if you do not run any custom code in the JSON handler?
Lapo
--
gotoAndPlay()
...addicted to flash games
eyal
Posts: 35
Joined: 29 Nov 2009, 11:18

Postby eyal » 24 Feb 2010, 08:17

Hi,
I have removed all the traces and now it is running perfect.
Thanks,
Eyal.

Return to “Server Side Extension Development”

Who is online

Users browsing this forum: No registered users and 12 guests