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?
extension test failed
-
juanespain
- Posts: 2
- Joined: 07 Jul 2011, 13:13
- Location: Argentina
- Contact:
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?
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: