[Server] Gmod Garbage Collection causing severe FPS spikes.

Iv run gmod servers for about 3-4 years and have always had one similar issue with them. After a while, there an fps dip (2-4fps) precisely every 21 seconds.
Last night a good friend of mine figured out it was the Garbagecollection causing it by forcing gc via lua.

Now, I can make the server lag on command (it can dip to 2-4 fps for up to 2 seconds) by manually running GC.

Last night I tried to narrow down which addon/s where causing it because it sounds like a memory leak, as it doesnt matter how much I spam GC, it will ALWAYS lag for a second or two.
I didn’t really have much luck, although I did try running this.



local function CollectNow()
 collectgarbage("step",150);
end
hook.Add("Think","PermanentLowresourceGC",CollectNow)
print("GarbageCollection has started running")


This is where I just couldn’t understand what was going on any more. What happened with this, is it was completely fine for about 5 minutes. I spawned about 5-6 F1 cars and it had no trouble. After monitoring the cpu, I noticed it was slowly climbing and climbing untill it reached 100%. If I removed the e2 from one car it was fine for another two minutes, untill 100%, then this just carried on.

All that command did was basically accelerate the process.

Does anyone have any clue what I could try?

[editline]31st May 2013[/editline]

hmm, this is interesting. Im only running Wiremod, which I just cleanly downloaded from the wiremod github.

Excuse this huge log, but you can see what I mean.



> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
48.07  2.81       2.54        2       0            66.59    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
50.00  2.90       2.52        2       0            62.53    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
48.66  2.89       2.52        2       0            71.59    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
53.84  2.90       2.51        2       0            66.48    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
53.84  2.91       2.50        2       0            62.42    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
53.84  2.93       2.49        2       0            66.58    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
57.72  3.04       2.48        2       0            62.44    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
57.72  3.07       2.48        2       0            62.45    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
57.72  3.07       2.48        2       0            62.54    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
57.72  3.07       2.48        2       0            66.57    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
57.74  3.09       2.48        2       0            66.63    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
57.74  3.09       2.48        2       0            66.63    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
57.74  3.12       2.49        2       0            66.63    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
57.74  3.12       2.49        2       0            66.63    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
57.74  3.12       2.50        2       0            62.57    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
57.74  3.12       2.50        2       0            66.65    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
57.74  3.12       2.50        2       0            61.33    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
57.74  3.12       2.50        2       0            66.55    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
57.74  3.12       2.50        2       0            66.61    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
61.12  3.10       2.50        2       0            66.64    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
61.12  3.10       2.50        2       0            71.32    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
61.12  3.11       2.50        2       0            66.61    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
61.12  3.11       2.50        2       0            66.61    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
61.12  3.11       2.50        2       0            66.47    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
61.12  3.11       2.50        2       0            66.66    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
61.12  3.10       2.50        2       0            66.62    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
61.12  3.10       2.50        2       0            62.52    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
69.74  3.10       2.50        2       0            62.47    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
69.74  3.11       2.50        2       0            66.63    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
69.74  3.11       2.49        2       0            62.47    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
69.74  3.11       2.49        2       0            66.49    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
69.74  3.11       2.49        2       0            62.53    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
69.74  3.11       2.49        2       0            66.71    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
69.74  3.11       2.49        2       0            66.63    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
69.74  3.11       2.49        2       0            66.62    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
68.98  3.11       2.48        2       0            66.64    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
68.98  3.11       2.48        2       0            62.43    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
68.98  3.11       2.47        2       0            62.45    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
68.98  3.11       2.47        2       0            66.62    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
68.98  3.11       2.47        2       0            62.37    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
68.98  3.11       2.47        2       0            66.62    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
68.98  3.11       2.45        2       0            66.54    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
69.68  3.11       2.45        2       0            62.46    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
69.68  3.11       2.45        2       0            66.62    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
69.68  3.11       2.45        2       0            66.64    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
69.68  3.11       2.43        2       0            62.54    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
69.68  3.12       2.43        2       0            66.60    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
69.68  3.12       2.42        2       0            66.58    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
69.68  3.12       2.42        2       0            66.61    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
69.68  3.12       2.41        2       0            66.73    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
55.95  2.88       2.53        2       0            71.38    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
55.95  2.92       2.51        2       0            66.58    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
55.95  2.96       2.51        2       0            71.49    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
59.11  2.96       2.50        2       0            66.77    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
59.11  3.00       2.50        2       0            62.46    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
59.11  3.00       2.50        2       0            66.64    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
59.11  3.02       2.48        2       0            66.60    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
59.11  3.02       2.48        2       0            62.44    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
59.11  3.04       2.47        2       0            62.54    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
59.11  3.04       2.47        2       0            62.45    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
59.11  3.04       2.47        2       0            66.65    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
59.11  3.07       2.47        2       0            62.44    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
76.77  3.07       2.46        2       0            66.64    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
76.77  3.09       2.46        2       0            66.64    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
76.77  3.08       2.46        2       0            71.35    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
76.77  3.08       2.46        2       0            66.61    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
76.77  3.09       2.46        2       0            66.60    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
76.77  3.09       2.46        2       0            66.64    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
72.45  3.10       2.46        2       0            71.41    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
72.45  3.10       2.46        2       0            62.35    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
72.45  3.11       2.47        2       0            66.57    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
72.45  3.11       2.47        2       0            66.54    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
72.45  3.11       2.46        2       0            66.62    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
72.45  3.11       2.46        2       0            66.62    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
72.10  3.11       2.45        2       0            62.32    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
72.10  3.11       2.44        2       0            66.63    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
72.10  3.11       2.44        2       0            66.61    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
72.10  3.11       2.42        2       0            71.52    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
72.10  3.11       2.42        2       0            66.55    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
72.10  3.12       2.41        2       0            62.45    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
73.44  3.12       2.41        2       0            66.57    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
73.44  3.12       2.40        2       0            66.62    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
73.44  3.12       2.40        2       0            66.63    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
73.44  3.12       2.38        2       0            66.47    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
73.44  3.12       2.38        2       0            66.64    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
73.44  3.12       2.37        2       0            62.54    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
73.44  3.12       2.37        2       0            66.61    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
78.07  3.12       2.36        2       0            66.62    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
78.07  3.12       2.36        2       0            66.65    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
78.07  3.12       2.35        2       0            66.63    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
78.07  3.11       2.35        2       0            66.76    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
78.07  3.11       2.34        2       0            66.62    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
78.07  3.11       2.34        2       0            71.38    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
78.07  3.11       2.34        2       0            66.63    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
77.53  3.12       2.34        2       0            71.27    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
77.53  3.12       2.34        2       0            71.35    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
77.53  3.12       2.35        2       0            66.55    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
77.53  3.12       2.35        2       0            66.62    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
77.53  3.12       2.34        2       0            62.34    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
77.53  3.12       2.34        2       0            66.61    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
77.53  3.12       2.33        2       0            66.57    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
75.80  3.12       2.33        2       0            66.62    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
75.80  3.12       2.32        2       0            66.62    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
80.71  2.65       2.31        3       0            66.47    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
79.81  2.72       2.36        3       0            66.95    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
79.81  2.76       2.39        3       0            65.22    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
79.81  2.76       2.39        3       0            68.20    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
79.81  2.80       2.41        3       0            65.67    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
79.81  2.83       2.41        3       0            69.02    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
82.22  2.87       2.41        3       0            64.24    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
82.22  2.86       2.39        3       0            40.92    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
82.22  2.85       2.38        3       0            66.75    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
85.97  2.85       2.38        3       0            72.45    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
85.97  2.85       2.35        3       0            42.50    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
85.97  2.85       2.35        3       0            30.30    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
85.97  2.85       2.35        3       0            20.86    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
85.97  2.88       2.30        3       0            73.01    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
85.97  2.88       2.25        3       0            98.85    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
85.97  2.88       2.25        3       0            36.67    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
92.95  2.87       2.21        3       0            29.91    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
92.95  2.87       2.21        3       0            23.99    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
92.95  2.86       2.16        3       0            20.75    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
92.95  2.86       2.16        3       0            14.44    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
92.95  2.86       2.16        3       0            13.82    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
92.95  2.87       2.08        3       0            10.41    1        1       
> collectgarbage ( )...
CPU    In (KB/s)  Out (KB/s)  Uptime  Map changes  FPS      Players  Connects
92.95  2.87       1.99        3       0            20.48    1        1       



ALL I have spawned in the server is ONE e2 with no addons.

The e2 in question is extremely simple.



@name 
@inputs 
@outputs 
@persist A
@trigger 

interval(1)

for(I=1,100){
 A=A+1   
}



I think its wiremod / e2 that has a leak. You can see the CPU going up and up and up even though nothing apart from that e2 is running. I only ran this experiment say, 3 minutes? All this is being done with the GC step as it accelerates the problem I get on the main server, just I don’t need 10 people to experiment with.

Heres some more information.

http://puu.sh/35ce3.png

You can see when I spawned the chip and map changed at the end.