Project

General

Profile

Actions

Bug #1090

closed

When editing DHCP records, ISC backend times out if the number of subnets is large.

Added by Bash Shell over 13 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
DHCP
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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

dhcpd3-subnets.conf dhcpd3-subnets.conf 355 KB Bash Shell, 11/15/2012 01:55 PM

Related issues 3 (1 open2 closed)

Related to Foreman - Bug #5847: Successfully adds DHCP record, while GUI reports timeoutNew05/21/2014Actions
Related to Smart Proxy - Tracker #1051: Optimize the smart proxyRejected07/18/2011

Actions
Related to Smart Proxy - Bug #2687: Performance issues with large ISC dataset (DHCP smart proxy)Closed06/20/2013Actions
Actions #1

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

Actions #2

Updated by Bash Shell almost 13 years ago

After the holidays, I'll privately send a similar config file.

Actions #3

Updated by Ohad Levy over 12 years ago

  • Status changed from New to Need more information
Actions #4

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.

Actions #5

Updated by Bash Shell about 12 years ago

Attached is a dhcpd subnets file which can be included in the main dhcpd.conf.

Actions #6

Updated by Benjamin Papillon over 11 years ago

  • Status changed from Need more information to New
Actions #7

Updated by Dominic Cleal over 10 years ago

  • Related to Bug #5847: Successfully adds DHCP record, while GUI reports timeout added
Actions #8

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

Actions #9

Updated by Ohad Levy over 8 years ago

Actions #10

Updated by Anonymous over 8 years ago

  • Related to Bug #2687: Performance issues with large ISC dataset (DHCP smart proxy) added
Actions #11

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.

Actions #12

Updated by Anonymous over 7 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF