list_leases.cgi is consuming large amount of memory as the size of the dhcpd.leases file increases. at 10k lines it was using 37% of all MEM according to "ps aux" at 100k lines it was using 87% and beyond that the server just stops responding. Live file has over 400k lines. RHEL 5 and Webmin 1.49. I have tried this under miniserv.pl and apache Web servers.
That's surprising, as I have used Webmin to manage large lease files before.
Is there any chance I could take a look at yours to see if something about its structure is making Webmin process it slowly? If so, please email it to jcameron@webmin.com and reference this bug..
File sent as requested.
Thanks - I had a look at your lease file and checked into how Webmin is parsing it, and unfortunately I just don't see any easy way to make Webmin faster in this case. It uses perl regexps to tokenize the dhcpd.leases file, and they are just plain slow. Sorry..