NPCs cause lags on linux server
#1

Hello, I've finally find out what has been causing lags on my server, it's NPCs.

When I have 0 NPCs connected to server, server load is 0-1 and server ticks in GetNetworkStats() are 160-180.
With 20 NPCs, load is 0-2 but server ticks are only 100-140
With 50 NPCs, load is 1-5, and server ticks are now 20-100, which cause huge lag spikes on server.
The default server ticks should be 200.

Is there anything I might be doing wrong? The server has 200 player slots and is running on Debian 6 32bit, CPU is 3x2100 Mhz and RAM 2048 MB so I guess HW is okay for this server. This has been tested with grand larceny gamemode with 0 players connected and there was no code in npc scripts. When I test this on my PC with Win7 and 2x2.56Ghz CPU no lags appear.

Please help! Thanks in advance.
Reply


Messages In This Thread
NPCs cause lags on linux server - by niCe - 20.12.2011, 14:44
Re: NPCs cause lags on linux server - by niCe - 21.12.2011, 10:58
Re: NPCs cause lags on linux server - by Thresholdold - 21.12.2011, 11:00
Re: NPCs cause lags on linux server - by Fool - 21.12.2011, 11:20
Re: NPCs cause lags on linux server - by niCe - 21.12.2011, 13:38
Re: NPCs cause lags on linux server - by Thresholdold - 21.12.2011, 13:45
Re: NPCs cause lags on linux server - by niCe - 09.01.2012, 17:01
Re: NPCs cause lags on linux server - by Guest9328472398472 - 09.01.2012, 21:47

Forum Jump:


Users browsing this thread: 1 Guest(s)