PacketFence - BTS - PacketFence |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0001363 | PacketFence | dhcp | public | 2012-01-10 14:02 | 2012-10-19 14:17 |
|
Reporter | dwuelfrath | |
Assigned To | dwuelfrath | |
Priority | high | Severity | minor | Reproducibility | always |
Status | assigned | Resolution | open | |
Platform | | OS | | OS Version | |
Product Version | | |
Target Version | investigate | Fixed in Version | | |
fixed in git revision | |
fixed in mtn revision | |
|
Summary | 0001363: DHCPd slow startup |
Description | 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. |
Steps To Reproduce | |
Additional Information | 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 [^] |
Tags | No tags attached. |
Relationships | |
Attached Files | 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 |
Date Modified | Username | Field | Change |
2012-01-10 14:02 | dwuelfrath | New Issue | |
2012-01-13 14:23 | dwuelfrath | Note Added: 0002536 | |
2012-01-13 14:23 | dwuelfrath | File Added: dhcp.spec | |
2012-01-13 14:24 | dwuelfrath | Note Added: 0002537 | |
2012-01-17 09:38 | dwuelfrath | File Added: dhcp-4.1.1-9.centos5.x86_64.rpm | |
2012-01-17 09:40 | dwuelfrath | Note Added: 0002539 | |
2012-01-17 09:45 | dwuelfrath | Assigned To | => dwuelfrath |
2012-01-17 09:45 | dwuelfrath | Status | new => assigned |
2012-01-30 11:01 | obilodeau | Note Added: 0002560 | |
2012-01-30 11:10 | dwuelfrath | Note Added: 0002561 | |
2012-10-19 14:17 | fgaudreault | Target Version | => investigate |
2012-10-19 14:17 | fgaudreault | Note Added: 0003188 | |
Notes |
|
|
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 |
|
|
|
Uploaded .spec file for 4.2.3-P2 package |
|
|
|
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 |
|
|
|
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. |
|
|
|
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
|
|
|