[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Cheshire Cat Computing • View topic - Routers2.ggi takes 49 seconds to display a page

Cheshire Cat Computing

Software support and information
It is currently Wed Nov 12, 2025 12:10 pm

All times are UTC + 12 hours [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Tue May 13, 2014 1:33 am 
Offline
Silver User

Joined: Thu May 29, 2008 11:17 am
Posts: 10
I'm at my wits end trying to figure out why my routers2.cgi install runs so slowly.

It was previously running fine on a 4 year old Macmini and would take 6 seconds to display a page. I've updated the Macmini to a newer more powerful one with lots more memory and CPU than the old one, however the new one takes 49 seconds to display the graphs (the devices and targets display immediately, its just the graphs that take 49 seconds). Running the config to create the .rrd files is fast, it's just displaying the graphs that's slow.

I've tried just about all I can think of including recreating the .rrd files, reinstalling RRDtools, striping the routers2.cfg file back to bare minimum with almost no options, two different Perl versions and using multiple versions of routers2.cgi however it always takes 49 seconds to display the graphs.

Comparing the old mac to the new, the differences are the old mac is Snow Leopard Server and has RRDs library (Version 1.4.4) while the new mac is Mavericks Server and has RRDs library (Version 1.4.7) with the CPU running at 100% while the script is running... I've tried to downgrade RRDtools to an older version but this is beyond my skillset - I installed rrdtools using Macports and I can't see a way to install an older version. I'm pretty sure its not Snow Leopard vs Mavericks issue as I've pointed the #! to a few versions of perl with the same result.

I was hoping someone may have some suggestions? Thanks in advance
Ian

_________________
[img]http://wx.theshackbythebeach.com/wx/wxgraphic.php?type=banner_big[/img]
[url]http://wx.theshackbythebeach.com/wx/wxindex.php[/url]


Top
 Profile Send private message  
 
PostPosted: Sun Aug 03, 2014 11:49 am 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
Sounds like the delay is in the RRDs calls, so not down to the number of cfg files.

If you can, use FastCGI, mod_perl, speedycgi or similar, so that the RRDs library does not have to reload every time, which might help.

Otherwise, possibly an issue with the filesystem on which the RRD files is? Do the RRD files have all 8 RRAs created, or are the higher-granularity ones missing, causing larger graphs to do a lot of consolidation work on the fly?

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile Send private message  
 
PostPosted: Sun Aug 03, 2014 11:57 am 
Offline
Silver User

Joined: Thu May 29, 2008 11:17 am
Posts: 10
Thanks Steve - I tried speedycgi ete, however unable to implement successfully on my MAC OS system.

Can you please clarify re the 8 x RRAs you mention as I think I'm only creating one RRD for each - how would I create the 8 you mention?
Cheers
Ian

_________________
[img]http://wx.theshackbythebeach.com/wx/wxgraphic.php?type=banner_big[/img]
[url]http://wx.theshackbythebeach.com/wx/wxindex.php[/url]


Last edited by vk2him on Mon Aug 11, 2014 12:19 pm, edited 1 time in total.

Top
 Profile Send private message  
 
PostPosted: Sun Aug 03, 2014 12:01 pm 
Offline
Silver User

Joined: Thu May 29, 2008 11:17 am
Posts: 10

_________________
[img]http://wx.theshackbythebeach.com/wx/wxgraphic.php?type=banner_big[/img]
[url]http://wx.theshackbythebeach.com/wx/wxindex.php[/url]


Top
 Profile Send private message  
 
PostPosted: Thu Nov 06, 2014 11:19 am 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
One RRD files contains 8 RRAs for two DSs. The RRA is the consolidated archive used for graphing; if one is missing, then it will be created on the fly from available data, which will slow things down. However, it is more likely that your server is low on memory, or the disk is slow.

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 12 hours [ DST ]


Who is online

Users browsing this forum: Majestic-12 [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group