Menu

#632 DHCP long delay after fixed leases

1.4.15
open-works-for-me
None
5
2007-12-10
2007-04-28
Jonas
No

Hi there I recentrly noticed that the DHCP module which comes with the IPCOP takes hours load the complete site when I give some fixed leases. Total count for fixed leases when it begins to slow down is 5, at the moment I have about 40 - the page won't even load anymore now!

Thanks

Jonas

Discussion

  • Gilles Espinasse

    Logged In: YES
    user_id=691649
    Originator: NO

    Not a very clear report.
    Is your problem the display of dhcp.cgi page?

    Could you look on /var/log/httpd/error_log for possible error messages?
    You should too uncomment at the beginning of dhcp.cgi page those two directives
    use warnings
    use CGI::Carp 'fatalsToBrowser';
    Remove the # at the beginning of the line.
    This should make the report more verbose on /var/log/httpd/error_log

     
  • Jonas

    Jonas - 2007-04-28

    Logged In: YES
    user_id=1780779
    Originator: YES

    Sorry for my uncomplete report, I'm doing this this first time...

    Here the lines from /var/log/httpd/error_log concerning my problem - indeed, there seems to be a problem with dhcp.cgi

    [Sun Apr 29 17:37:06 2007] dhcp.cgi: Scalar value @ret[$i] better written as $ret[$i] at /home/httpd/cgi-bin/dhcp.cgi line 1431.
    [Sun Apr 29 17:37:06 2007] dhcp.cgi: Name "General::adminmanualurl" used only once: possible typo at /home/httpd/cgi-bin/dhcp.cgi line 655.
    [Sun Apr 29 17:37:06 2007] dhcp.cgi: Use of uninitialized value in string eq at /home/httpd/cgi-bin/dhcp.cgi line 499.
    [Sun Apr 29 17:37:06 2007] dhcp.cgi: Use of uninitialized value in string eq at /home/httpd/cgi-bin/dhcp.cgi line 750.

    (time setting of the machine is incorrect)

     
  • Olaf Westrik

    Olaf Westrik - 2007-05-29

    Logged In: YES
    user_id=1120714
    Originator: NO

    You are using IPCop 1.4.15 ?
    Any specifics to your fixed leases ?

    I just added 40+ leases (using simply 00:00:00:00:00:01 and 192.168.1.1 etc.) and noticed no slow down.

     
  • Franck Bourdonnec

    • milestone: --> 1.4.15
    • status: open --> closed-works-for-me
     
  • Franck Bourdonnec

    Logged In: YES
    user_id=1041094
    Originator: NO

    No more info, no real problem, warnings fixed(1.4.16).
    Reopen if necessary.

     
  • Olaf Westrik

    Olaf Westrik - 2007-12-10
    • status: closed-works-for-me --> open-works-for-me
     
  • Olaf Westrik

    Olaf Westrik - 2007-12-10
    • assigned_to: nobody --> owes
     

Log in to post a comment.

MongoDB Logo MongoDB