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
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
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)
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.
Logged In: YES
user_id=1041094
Originator: NO
No more info, no real problem, warnings fixed(1.4.16).
Reopen if necessary.
Logged In: YES
user_id=1120714
Originator: NO
Reopening.
Problem is real (for some configurations):
http://www.ipcops.com/index.php?name=PNphpBB2&file=viewtopic&t=10204
http://www.ipcop-forum.de/forum/viewtopic.php?t=14322