Joined: 17 Jul 2009
Posts: 76
|
|
Hi, we had some complains that there is big lag with the sf server and responses are later (3-4 seconds lag):
When I checked the server:
1. Usually the sfs stays at 1%, this time it was at 99%.
2. There were constantly 100 messages in the extension queue.
3. There were some users with "undefined" name.
4. We had 500 users and 300 rooms online - pretty strange, as we have temporary rooms and games are played by 2 people, also there are people in the lobby.
5. The strangest thing - the smartfox admin tool showed that our total VM memory is 3G, when we set it to 2.8G, and I am sure that it is usually correctly displayed in the admin tool.
Restart fixed all the problems, but I wonder what were the causes..
The sole thing I can think of is the max message queue - it currently is set to 200, and evenings we have about 1500 people. I guess we can decrease it to 50, but is that possible reason and does somebody have any other ideas?
P.S. What does ./sfs dump do? I saw it invokes kill -3, I guess you handle it in your code and do sth, but what and where?  |
|
|
|