Zooming too far = high CPU use rrdtool process

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

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 dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Neocron
Posts: 1
Joined: Sun Jul 17, 2005 9:23 am

Post by Neocron »

TheWitness wrote: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
Finaly :lol: This is exactly what solved the problem.
For gentoo users that don't know how to merge this masked package.

ACCEPT_KEYWORDS="~x86" emerge -v =freetype-2.1.10
(or put it in your package.keywords)
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Neocron,

Can you open a bug at the Gentoo home page?

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

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
emat
Posts: 34
Joined: Wed Jun 01, 2005 6:09 pm

Post by emat »

I have opened a bug on bugs.gentoo.org #98125

Neocron: upgrade to freetype-2.1.10 didn't solve the problem on my server.
Did you upgrade something else meanwhile,......?
emat
Posts: 34
Joined: Wed Jun 01, 2005 6:09 pm

Post by emat »

Hi,

Upgrading to :

sys-libs/glibc-2.3.5

Solved the problem on Gentoo Linux


media-libs/freetype-2.1.9-r1 is also installed
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

emat wrote:Upgrading to :

sys-libs/glibc-2.3.5

Solved the problem on Gentoo Linux
Hi

same here : upgrading from glibc 2.3.4.20041102-r1 to 2.3.5 (which went "stable" this week-end) seems to solve the CPU & swap problems. Now I can zoom on a graph as much as I want :D
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
SithLord
Posts: 12
Joined: Sat Apr 30, 2005 1:11 pm

Post by SithLord »

Hi, I'm back from vacation so sorry for my lack of participation to the story.

I also confirm that upgrading glibc to 2.3.5 curred the problem ! I can zoom as deeply as I wish and no problem occur in any way now !

Now, for my personal culture : What the hell was doing glibc in order to put rrdtool in such a situation ?
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

SithLord wrote:Now, for my personal culture : What the hell was doing glibc in order to put rrdtool in such a situation ?
I'm pretty sure this problem occured after installing glibc 2.3.4.20041102-r1, in late march.
Several patches weren't included in the previous release (2.3.4.20040808-r1), some of them about NPTL.
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Very happy this worked out for all. One note Tobi (rrdtool) has made some changes in SVN to rrd_graph.c that is supposed to make graph rendering between 2 and 6 time faster (aka 200-600%). He is looking for some people to grab the latest copy and remake/test.

Are any of you folks interested? Do I need to post the source?

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

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

TheWitness wrote:Are any of you folks interested? Do I need to post the source?
Hi Larry

I've grabbed the latest RRDTool SVN snapshot, and here are the results compared to 1.2.10 :

Code: Select all

$ time /tmp/rrd_bench.sh > /tmp/rrd_bench.png

real    0m0.260s
user    0m0.242s
sys     0m0.018s
with 1.2.10, and

Code: Select all

$ time /tmp/rrd_bench.sh > /tmp/rrd_bench.png

real    0m0.200s
user    0m0.184s
sys     0m0.015s
with the latest SVN snapshot. Where is my 600% improvement ? :D

This is very good news, since the graph I tested with was a pretty simple one (load average), I'll test with more "complex" graphs.
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Tobi's SVN note was 2 time's for simple graphs and up-to 6 times for things complex like smoke ping. He may be being optimistic.

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

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests