Bug #1090
closedWhen editing DHCP records, ISC backend times out if the number of subnets is large.
Description
When adding hosts through Foreman, foreman-proxy times out if the number of subnets is large.
With 3k subnets, it takes 3-4 minutes to add the record.
In this time, the logs show that the proxy is "Enumerating hosts" for each subnet.
Something in-efficient is happening, and needs to be improved?
Files
Updated by Ohad Levy almost 13 years ago
could you provide (here or privately) an example of such configuration? its would be much easier to optimize this way.
thanks
Updated by Bash Shell almost 13 years ago
After the holidays, I'll privately send a similar config file.
Updated by Ohad Levy over 12 years ago
- Status changed from New to Need more information
Updated by Bash Shell about 12 years ago
I can't provide the company dhcpd.conf file.
But this is easy to re-produce.
Create a large number of subnets (say 500) and this problem happens.
Updated by Bash Shell about 12 years ago
- File dhcpd3-subnets.conf dhcpd3-subnets.conf added
Attached is a dhcpd subnets file which can be included in the main dhcpd.conf.
Updated by Benjamin Papillon over 11 years ago
- Status changed from Need more information to New
Updated by Dominic Cleal over 10 years ago
- Related to Bug #5847: Successfully adds DHCP record, while GUI reports timeout added
Updated by Daniel Gagnon almost 10 years ago
I successfully used the isc provider to manage over 3000 subnets and while it was slow and took a while to load them each time, never had a timeout.
YMMV
Updated by Ohad Levy over 8 years ago
- Related to Tracker #1051: Optimize the smart proxy added
Updated by Anonymous over 8 years ago
- Related to Bug #2687: Performance issues with large ISC dataset (DHCP smart proxy) added
Updated by Dominic Cleal over 8 years ago
- Description updated (diff)
- Category set to DHCP
- Status changed from New to Feedback
The inotify-related changes from ticket #2687 have now been made in develop (nightly) for 1.13, which should drastically reduce the amount of re-parsing of config/lease files during smart proxy requests and moves the bulk of the work to the service startup. I'm moving this ticket state to feedback as hopefully the next release will resolve this issue.