PacketFence - BTS - PacketFence | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0001117 | PacketFence | performance | public | 2010-11-16 10:48 | 2015-02-13 15:24 |
Reporter | rbalzard | ||||
Assigned To | obilodeau | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | open | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
fixed in git revision | |||||
fixed in mtn revision | |||||
Summary | 0001117: Violations are loaded way too often when monitoring PacketFence status (pfcmd service pf command) | ||||
Description | By looking at PF logs, I noticed we call read_violations_conf() too often. In pfcmd we see: print "service|command\n"; if ($command !~ /^stop$/){ print "config files|$command\n"; require pf::os; pf::os::read_dhcp_fingerprints_conf(); read_violations_conf(); if (! ($Config{'network'}{'mode'} =~ /vlan/i)) { print "iptables|$command\n"; require pf::iptables; pf::iptables::iptables_generate(); } } Does it mean that we reload violations for every command that is not 'stop' ? if yes, we reload violations on status, watch, stop, restart. I guess we should only load violations on start, no ? | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2010-11-16 10:48 | rbalzard | New Issue | |||
2010-11-16 10:48 | rbalzard | Status | new => assigned | ||
2010-11-16 10:48 | rbalzard | Assigned To | => obilodeau | ||
2010-11-17 09:19 | rbalzard | Note Added: 0001763 | |||
2011-01-18 11:41 | obilodeau | Target Version | => 2.1.0 | ||
2011-03-03 15:15 | obilodeau | Target Version | 2.1.0 => +1 | ||
2011-03-03 15:18 | obilodeau | Target Version | +1 => +2 | ||
2015-02-13 15:24 | lmunro | Note Added: 0003667 | |||
2015-02-13 15:24 | lmunro | Status | assigned => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|