Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support
It is currently Thu Oct 23, 2014 2:55 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: High CPU usage with "rrdtool graph"
PostPosted: Tue Jul 05, 2005 8:29 am 
Offline
Cacti Guru User
User avatar

Joined: Fri Sep 19, 2003 8:36 am
Posts: 2326
Location: Sophia-Antipolis, France
Hi all

I'm having some CPU usage problems with Cacti, sometimes up to 100% percent is taken by RRDtool when building a graph. It occurs with any kind of graph.

By using strace, I can see that the rrdtool process is in an infinite loop :
Code:
open("/etc/localtime", O_RDONLY)        = 9
fstat64(9, {st_mode=S_IFREG|0644, st_size=1082, ...}) = 0
close(9)                                = 0
open("/etc/localtime", O_RDONLY)        = 9
fstat64(9, {st_mode=S_IFREG|0644, st_size=1082, ...}) = 0
close(9)                                = 0
open("/etc/localtime", O_RDONLY)        = 9
fstat64(9, {st_mode=S_IFREG|0644, st_size=1082, ...}) = 0
close(9)                                = 0

Has someone already seen this problem ?
I'll post on the rrd-users mailing list...

Thanks in advance.

_________________

HOWTOs :
Templates :


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 05, 2005 3:27 pm 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14861
Location: MI, USA
RUZooming Graphs?

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 06, 2005 2:43 am 
Offline
Cacti Guru User
User avatar

Joined: Fri Sep 19, 2003 8:36 am
Posts: 2326
Location: Sophia-Antipolis, France
TheWitness wrote:
RUZooming Graphs?

Well, I'm not sure :oops: A lot of people are viewing our graphs.

Before killing one of the RRDtool processes, I noticed that "end - start" = 86400, so this one wasn't a zoom.

_________________

HOWTOs :
Templates :


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 06, 2005 7:24 am 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14861
Location: MI, USA
I am on vacation and will be back on the 9th. I believe this to be associated with the new RRDtool. Will post a fix/information when I get back to town.

TheWitness

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 06, 2005 8:24 am 
Offline
Cacti Guru User
User avatar

Joined: Fri Sep 19, 2003 8:36 am
Posts: 2326
Location: Sophia-Antipolis, France
Hi Larry

have a nice holidays ! :D

I've sent a description of my problem to Tobi, I also think it's a bug in RRDtool.

_________________

HOWTOs :
Templates :


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 06, 2005 4:38 pm 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14861
Location: MI, USA
Ok.

:D

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 15, 2005 12:42 pm 
Offline

Joined: Wed Jun 01, 2005 6:09 pm
Posts: 34
I just got the same result!
http://forums.cacti.net/viewtopic.php?p=36865#36865

The strace gives the same output as fmangeant says.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 16, 2005 8:21 pm 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14861
Location: MI, USA
Can someone attempt to build and install freetype2 2.1.10 that was released in late June. It had some quite significant bug fixes.

TheWitness

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 17, 2005 4:50 am 
Offline

Joined: Wed Jun 01, 2005 6:09 pm
Posts: 34
Hello

Just installed freetype2 2.1.10.

No luck, everything is still the same,... :cry:


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 17, 2005 8:50 am 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14861
Location: MI, USA
How bout 2.1.8?

TheWitness :(

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 17, 2005 10:09 am 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14861
Location: MI, USA
emat,

Word is that 2.1.10 fixed the problem in Gentoo. Check the other post and let's see what the other guys find. Also, someone needs to open bug's with the Linux vendors.

TheWitness

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 17, 2005 11:06 am 
Offline

Joined: Wed Jun 01, 2005 6:09 pm
Posts: 34
Where did you hear or read this? Could you point me to your source please?

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 17, 2005 12:32 pm 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14861
Location: MI, USA
http://forums.cacti.net/viewtopic.php?t=8300&start=30

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: Google Adsense [Bot] and 6 guests


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

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group