PacketFence - BTS - PacketFence
View Issue Details
0001363PacketFencedhcppublic2012-01-10 14:022012-10-19 14:17
dwuelfrath 
dwuelfrath 
highminoralways
assignedopen 
 
investigate 
0001363: DHCPd slow startup
Seen in inline mode when there's huge lease files (a lot of devices).
PacketFence can take up to 3 minutes to start due to the slow start up of dhcpd.
On startup, after reading the dhcpd.conf file, dhcpd also reads the saved dhcpd.leases file
http://www.qnx.com/developers/docs/6.3.2/neutrino/utilities/d/dhcpd.leases.html [^]

https://lists.isc.org/pipermail/dhcp-users/2006-June/000857.html [^]

https://lists.isc.org/pipermail/dhcp-users/2010-August/011887.html [^]
No tags attached.
? dhcp.spec (4,756) 2012-01-13 14:23
https://www.packetfence.org/bugs/file_download.php?file_id=128&type=bug
? dhcp-4.1.1-9.centos5.x86_64.rpm (1,003,432) 2012-01-17 09:38
https://www.packetfence.org/bugs/file_download.php?file_id=132&type=bug
Issue History
2012-01-10 14:02dwuelfrathNew Issue
2012-01-13 14:23dwuelfrathNote Added: 0002536
2012-01-13 14:23dwuelfrathFile Added: dhcp.spec
2012-01-13 14:24dwuelfrathNote Added: 0002537
2012-01-17 09:38dwuelfrathFile Added: dhcp-4.1.1-9.centos5.x86_64.rpm
2012-01-17 09:40dwuelfrathNote Added: 0002539
2012-01-17 09:45dwuelfrathAssigned To => dwuelfrath
2012-01-17 09:45dwuelfrathStatusnew => assigned
2012-01-30 11:01obilodeauNote Added: 0002560
2012-01-30 11:10dwuelfrathNote Added: 0002561
2012-10-19 14:17fgaudreaultTarget Version => investigate
2012-10-19 14:17fgaudreaultNote Added: 0003188

Notes
(0002536)
dwuelfrath   
2012-01-13 14:23   
Latest packaged version (dhcp-3.0.5-29.el5_7.1): 2min30sec with kinda huge leases files
Latest sources version (dhcp-4.2.3-P2): 30secs with the same leases files
(0002537)
dwuelfrath   
2012-01-13 14:24   
Uploaded .spec file for 4.2.3-P2 package
(0002539)
dwuelfrath   
2012-01-17 09:40   
Due to some kind of problems in the 4.2.3-P2 spec file (can't manage to correctly update the 3.0 dhcp package), we decided to use a previous version which still correct the problem.
Uploaded rpm 4.1.1-9 for centos 5 x64
(0002560)
obilodeau   
2012-01-30 11:01   
Experienced the slow dhcpd restart causing freeradius watchdog to fail because PF took too long to restart radiusd.

I wonder if we should put that rpm in our repo so that it'll be installed by default.
(0002561)
dwuelfrath   
2012-01-30 11:10   
I think it's really something we need to look into.
It's causing problem on a lot of client setups.
(0003188)
fgaudreault   
2012-10-19 14:17   
Need a status on this.