extension test failed

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

Moderators: Lapo, Bax

Post Reply
juanespain
Posts: 2
Joined: 07 Jul 2011, 13:13
Location: Argentina
Contact:

extension test failed

Post 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?
BigFIsh
Posts: 1698
Joined: 25 Feb 2008, 19:26
Location: New Zealand

Post 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?
Smartfox's forum is my daily newspaper.
juanespain
Posts: 2
Joined: 07 Jul 2011, 13:13
Location: Argentina
Contact:

Post 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
Post Reply