Search found 3 matches

by mikerobinson
14 Aug 2012, 05:24
Forum: Suggestions (csf)
Topic: LFD should use resident memory instead of virtual memory
Replies: 4
Views: 5926

Re: LFD should use resident memory instead of virtual memory

Since there are many people who already have csf/lfd installed, I would assume that the above fix would not be the best idea since virtual memory usage tends to be significantly higher than physical memory usage, so making the above changes would likely mean that many processes should be killed but ...
by mikerobinson
14 Aug 2012, 04:11
Forum: Suggestions (csf)
Topic: LFD should use resident memory instead of virtual memory
Replies: 4
Views: 5926

Re: LFD should use resident memory instead of virtual memory

The fix is super simple: In /usr/sbin/lfd , line 3106 change: if ($line =~ /^VmSize:\s+(\d+) kB$/) {$vmsize = $1} to: if ($line =~ /^VmRSS:\s+(\d+) kB$/) {$vmsize = $1} and line 3342, change: $resource = "Virtual Memory Size"; to: $resource = "Memory Usage (RSS)"; And if you want...
by mikerobinson
12 Aug 2012, 05:54
Forum: Suggestions (csf)
Topic: LFD should use resident memory instead of virtual memory
Replies: 4
Views: 5926

LFD should use resident memory instead of virtual memory

Virtual memory doesn't cost anything. I could have a process that maps a large file on my hard drive and this will be through the roof. I got the following error today: Time: Sat Aug 11 21:59:45 2012 -0600 Account: mike Resource: Virtual Memory Size Exceeded: 1110 > 1000 (MB) Executable: /usr/bin/km...