ID:189762
 
This has been a long time problem for Zeta, but the game "Locks up." By this I mean some commands become useless, and people are not able to login/create a character. The game basically goes into a halt. If you're logged in when this happens, you can still walk around etc.. But, strangely rebooting the world doesn't help, it's still "locked up." I must log into shell, and take it down manually, which is somewhat of a pain. I'm in need of some suggestions what this could be, and if people need me to paste some code from parts of the game, I will do so.

Thanks,

RaeKwon
maybe it is a user overload like when there are too many people playing. Or maybe you just have too much code and dreemseeker can't handle it all. Or maybe its a combination of the two, I dunno...

~Starwarspower~

In response to Starwarspower
Starwarspower wrote:
maybe it is a user overload like when there are too many people playing. Or maybe you just have too much code and dreemseeker can't handle it all. Or maybe its a combination of the two, I dunno...

~Starwarspower~


The CPU builds then it freezes. I now realized that rebooting won't reboot the unix server like it does on windows, so I'm going to have to find a way around it. Disappointment.

RaeKwon
In response to RaeKwon
In the shell do a

"kill -10 pid" On the game, you can run "ps -ax" to see which pid Zeta is running on.
In response to Nadrew
Nadrew wrote:
In the shell do a

"kill -10 pid" On the game, you can run "ps -ax" to see which pid Zeta is running on.

I know, but when none of us that know the shell are on, the game remains locked up for hours on end.

RaeKwon
In response to RaeKwon
You could probably write a script that reboots the game every few hours.
In response to Nadrew
Nadrew wrote:
You could probably write a script that reboots the game every few hours.

Using the shutdown() proc, I made it shut the game down every hour, then made a script for shell to boot it back up if the game is down for more than 3 minutes. Lets see how this works.

RaeKwon