|
|
| Author |
Message |
killshoot
Joined: 26 Mar 2008 Posts: 34
|
Posted: Tue Apr 29, 2008 6:38 am Post subject: Plugin multiprocess / thread |
|
|
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. |
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12295 Location: Muenster, Germany
|
Posted: Tue Apr 29, 2008 3:18 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
killshoot
Joined: 26 Mar 2008 Posts: 34
|
Posted: Wed Apr 30, 2008 1:07 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12295 Location: Muenster, Germany
|
Posted: Sun May 04, 2008 2:01 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9697 Location: MI, USA
|
Posted: Tue May 06, 2008 3:05 pm Post subject: |
|
|
Jimmy could fork inside of Thold that would allow multiple processes. I will be "in tune" with THold in a few weeks.
TheWitness |
|
| Back to top |
|
 |
|