Plugin multiprocess / thread

Anything that you think should be in Cacti.

Moderators: Developers, Moderators

Post Reply
killshoot
Cacti User
Posts: 84
Joined: Wed Mar 26, 2008 2:51 am

Plugin multiprocess / thread

Post by killshoot »

Is there possible to setup thold (and other plugin) to be launched with multi thread / process like spine ?

I've searched who plugin are launched into cmd.php but I've not found.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Currently not, at least not out of the box. All plugins using a "poller_*" hook are executed from within poller.php. And poller.php is not multi-threaded ATM
Reinhard
killshoot
Cacti User
Posts: 84
Joined: Wed Mar 26, 2008 2:51 am

Post by killshoot »

Thank you for your answer.

This feature will be good for large deployement of Cacti.

In fact 1 thread = one mysql thread. On a multicore system all statement are executed only on one CPU.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

The mysql thingy was lately removed (AFAIK) by a patch for main trunk of cacti. Did not try it yet.
And te
here's an ongoing discussion about a more flexible cacti arch
Reinhard
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Jimmy could fork inside of Thold that would allow multiple processes. I will be "in tune" with THold in a few weeks.

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?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests