Poller requests clogging?

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

Moderators: Developers, Moderators

Post Reply
flibbertigibbet
Posts: 19
Joined: Thu Feb 26, 2009 11:07 am

Poller requests clogging?

Post by flibbertigibbet »

So here's my issue, every other day the graphs just start missing data. It used to be a once in a while thing on random graphs. But now it's on everything, like the server is clogging up with poller requests. It just started getting this bad.

It just seems like every day something new is going wrong with it. So I need some help. I'm lost and frustrated, and just need someone who is willing to look over anything and tell me what to do to correct whatever is wrong.

Thanks in advanced.
Attachments
graph_image.php.png
graph_image.php.png (56.31 KiB) Viewed 1057 times
flibbertigibbet
Posts: 19
Joined: Thu Feb 26, 2009 11:07 am

Post by flibbertigibbet »

After reading somewhat useless (more irrelevant) posts, I started to do some digging. I hate doing the digging if I don't know what I'm looking for.
I checked the cron job, and remembered what a friend had said, that 1 was too short, and I should change it back to 5. I did so.
I also looked around the configs, and found the Tech support tool, that reports abunch of stuff... nothing really great except the memory setting for php, I upped that to 32m...
I restarted, and it looks like it's actually running smoothly, but for how long, I'll wait and see. But if anyone has any other ideas, something to look at.

This is a bare virtual ubuntu linux box, that only has apache/php/cacti.. i mean, it's bare from the minimal install disk. So I'm trying to make sure it runs as efficiently as possible. Being virtual it sits with a few other computers, that is not even pushing the host server to it's potential. 8 Cpu Cores, 32Gb of sharabale memory. I've put cacti on 2 cores, and 2gigs of memory. Which I think is plenty... any thoughts?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please see 2nd link of my sig to find some debug hints. Then come back and ask again
Reinhard
flibbertigibbet
Posts: 19
Joined: Thu Feb 26, 2009 11:07 am

Post by flibbertigibbet »

I already did, and I didn't see much that was relevant to my problem, but it did give me some insight.
Though after changing the cron setting, and the poller setting to the same, it appears that cacti is running at about 1/10th the load average.
I hope this keeps running as smooth as it is. ;-) thanks for your reply gandalf

Let me ask you this though, when viewing the graphs, it appears that the graphs are the slowest thing, is there any suggestions as to getting the graphs to generate faster on the server side? (i'm doubting it's network speed, as we're on gigabit network, so I'm assuming it's RRD? correct)
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

flibbertigibbet wrote:Let me ask you this though, when viewing the graphs, it appears that the graphs are the slowest thing, is there any suggestions as to getting the graphs to generate faster on the server side? (i'm doubting it's network speed, as we're on gigabit network, so I'm assuming it's RRD? correct)
It's not a network thingy; quite sure. Depending on rrdtool version, time required for graphing may differ. The BOOST plugin allows for graph caching but that's my only hint except for using latest rrdtool (there were some improvements from time to time when upgrading releases)
Reinhard
flibbertigibbet
Posts: 19
Joined: Thu Feb 26, 2009 11:07 am

Post by flibbertigibbet »

Graph caching may be what is needed to get my needs met, not that it is a big issue. But it just seems funny to me that rrdtool seem pretty slow within graph generation... everything else in cacti seems fast, if configured correctly.
I know this virtual server box can isn't hitting it's potential, and I'd think the graphs could be generated much faster.... but who am I to say?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest