Walraven // Forums // Thread 3753
Why is the mud so slow?, eiroku, 2006-03-01 22:45:49
Why is the mud so slow?
Good question, acius, 2006-03-02 03:18:36
It was taking 2-3 seconds to respond to everything today. I checked the server load, but it was no more than about 20% on CPU, and most of that was from the MUD. Everything was slow, too ... command-line & MUD both.
We're looking at moving to a new server soon; that might help. By the way, it'll always be mud.simud.org, no matter where we move, so remember that ;-).
We're looking at moving to a new server soon; that might help. By the way, it'll always be mud.simud.org, no matter where we move, so remember that ;-).
lag reasonings, allaryin, 2006-06-12 18:11:51
I have discovered two different elements that were contributing to the heinous lag of a few months back.
1 - The NPC population blew out of control as a result of the server move and broke hunger ticks. Thus, more mobs were being spawned and none were starving off. We went from our comfortable range of under 1000 npc's to something like 5000. I went on a genocidal rampage, installed population caps, and generally beat this problem into submission.
2 - The new server started doing some really stupid stuff. Namely, it decided that (even though we've never configured it as a mail server) it wanted to send several hundred mails a day to undeliverable addresses. And then it went back every half hour to try to re-send all of those undelivered emails. By the time I found and stamped out the causes of this problem, there were some 14 million undelivered messages that I had the joy of deleting.
Lag is back within tolerable extremes again ;)
1 - The NPC population blew out of control as a result of the server move and broke hunger ticks. Thus, more mobs were being spawned and none were starving off. We went from our comfortable range of under 1000 npc's to something like 5000. I went on a genocidal rampage, installed population caps, and generally beat this problem into submission.
2 - The new server started doing some really stupid stuff. Namely, it decided that (even though we've never configured it as a mail server) it wanted to send several hundred mails a day to undeliverable addresses. And then it went back every half hour to try to re-send all of those undelivered emails. By the time I found and stamped out the causes of this problem, there were some 14 million undelivered messages that I had the joy of deleting.
Lag is back within tolerable extremes again ;)