Page 1 of 1

extension test failed

Posted: 07 Jul 2011, 13:15
by juanespain
we are testing SFS and our extensions

We have running

1 SmartFoxServer 1.6.6 Pro with Unlimited Users license

2 At first we had the VM with 512 MB, later with 1 GB (with the same results), enought disk space, linux suse,

3 a room extension wrote in java (we changed a couple of times the architecture focusing in possible threading issues)

4 an application that starts rooms (1 per seccond aprox) each game runs a couple of hours without clients, then it destroy

5 our goal is to have 1000 rooms running simultaneously


6 we start the test

the server starts to generate rooms
you can play normally
but it hangs near the 700 rooms always

then
the java process uses the 98 % of the prossesor
and it doest work any more

do you have any ideas?

Posted: 09 Jul 2011, 00:15
by BigFIsh
I ran a simulation test, and was able to create

20,000 rooms + extension (and counting), and the statistics (from AdminTool) shows that the server load is 0% and my CPU usage is 4%. I'm simulating 20 room creation per sec.

JVM max memory is set to 1GB

The room extension doesn't do anything though. So I suspect that the problem may be related to the coding on server side for each game. If possible, try simplifying your game code as an attempt to narrow down the problem.

Maybe there is a leak in your code?

Posted: 19 Jul 2011, 17:44
by juanespain
now we succeded in both tests

there were 2 interesting points

1-no traces, may be we had a lot

2 the permgen memory 512M , for the java extensions