CPU overloading when using Java Extension

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

Moderators: Lapo, Bax

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

CPU overloading when using Java Extension

Post by eyal »

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: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

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

Post by eyal »

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