Web interface a bit slow

Ethan Galstad nagios at nagios.org
Fri Jun 13 02:37:17 CEST 2003


I'm actually in the process of finishing up chained hash support for 
all lists in the 2.0 code.  So its on the way, just not here yet.

On 12 Jun 2003 at 15:53, Mooney, Ryan wrote:

> 
> Hello,
> 
> I have a rather large number of services I'm watching (~6500) on quite
> a few hosts (~1000) and the web pages are starting to get quite slow
> (~30 seconds per web page, this is on a dual xenon 2.8Ghz with 1G of
> RAM).  I ran a profiler on them and found that ~80% of the time is in
> the linked list lookup/insert in common.c:add_service_status.  Ideally
> data structure would get re-written to use something like a hash or
> some other more efficient storage algorithm (this would exact a very
> small penalty on small installations but would be an order of
> magnitude better on large), but with the current CGI's going away I'm
> hesitant to spend any cycles on it.  If this would be useful for
> others within the lifespan of the current interface I can go ahead and
> do it, but if its not I don't want to spend the time.
> 
> What I need to do now is get a workable solution to get the support
> people off of my neck so they can clear errors.  I've given them a
> simple cli interface that dropps a passive check into the external
> command interface, which solves my immediate problem, but as I add
> more services the web interface will continue to get logarithmically
> slower.
> 
> Any thoughts, appreciated.
> 
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by: eBay
> Great deals on office technology -- on eBay now! Click here:
> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue. ::: Messages without supporting info will risk
> being sent to /dev/null
> 



Ethan Galstad,
Nagios Developer
---
Email: nagios at nagios.org
Website: http://www.nagios.org



-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list