Hi Mathieu,

Looked at the pcap and it seems that it is a 20PPS which isn't extremely high and should be handled correctly.

I've made a patch to the Fingerbank library yesterday to improve caching. It should improve things, even fix them for good.

Update it using :
# yum update fingerbank

Make sure you have 2.1.1
# rpm -qa fingerbank

A patch in the PacketFence maintenance branch extends the caching lifetime of Fingerbank. Apply using :
# /usr/local/pf/addons/pf-maint.pl

Make sure fingerbank.pm has been updated :
# grep 86400 lib/pf/fingerbank.pm
use constant FINGERBANK_CACHE_EXPIRE => 86400; # Expires cache entry after 86400s (1 day)

Restart pfqueue + httpd.webservices

Flush the queues :
# redis-cli -p 6380 FLUSHALL

Check the counters and the load and see if it helps.

- Julien

On 12/15/2015 04:59 AM, Mathieu Dirkx wrote:
Hi all,

here is an update after changing the pfqueue workers.
The change in conf/pfqueue.conf doesn't keep the count under control.
I have kept a log the last few hours.
First column is a local timestamp, the second column is the PFQueue count.

08:00        0
08:15        0
08:30     5K8
08:45     5K3
09:00     7K1
09:15    20K5
09:30    36K7
09:45    32K9
10:00    31K0
10:15    45K9
10:30    77K4
10:45    94K4

Here is the header from 'top'.
top - 10:53:31 up 18 days, 27 min,  2 users,  load average: 16.72, 16.92, 16.82
Tasks: 247 total,  17 running, 230 sleeping,   0 stopped,   0 zombie
Cpu0  : 84.4%us, 15.3%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  0.3%si,  0.0%st
Cpu1  : 83.7%us, 15.9%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  0.3%si,  0.0%st
Cpu2  : 84.1%us, 15.3%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  0.7%si,  0.0%st
Cpu3  : 84.4%us, 14.9%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  0.7%si,  0.0%st
Mem:   8061208k total,  7781764k used,   279444k free,    33604k buffers
Swap:  3096572k total,  2939104k used,   157468k free,   413396k cached
------------------------------------------------------------------------------
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users
------------------------------------------------------------------------------
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to