Page 1 of 1

CPU overloading when using Java Extension

Posted: 23 Feb 2010, 09:26
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.

Posted: 23 Feb 2010, 14:39
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?

Posted: 24 Feb 2010, 08:17
by eyal
Hi,
I have removed all the traces and now it is running perfect.
Thanks,
Eyal.