Search found 4 matches

by Doobla
02 Jul 2012, 22:42
Forum: Report Bugs (csf)
Topic: Global ignore list seems to cause high CPU usage
Replies: 9
Views: 10742

Re: Global ignore list seems to cause high CPU usage

Perfect. Appreciate the quick turnaround.
by Doobla
02 Jul 2012, 22:11
Forum: Report Bugs (csf)
Topic: Global ignore list seems to cause high CPU usage
Replies: 9
Views: 10742

Re: Global ignore list seems to cause high CPU usage

The problem I can see with that solution is that if lfd is restarted then it will lose any knowledge of our global ignore list. Or am I misreading the code?

Thanks for the quick reply. If I can get verification on the above then I'll work on implementing this tonight.
by Doobla
02 Jul 2012, 19:36
Forum: Report Bugs (csf)
Topic: Global ignore list seems to cause high CPU usage
Replies: 9
Views: 10742

Re: Global ignore list seems to cause high CPU usage

The problem is that LFD uses upwards of 100% cpu for up to 3 seconds when checking the (locally cached) global ignore list. Since this is done continually in LFD then LFD becomes a cpu hog. The loop which is responsible for the "continual" part begins with while (1) { $0 = "lfd - proc...