For some reason, only 1 PHP.EXE is running at a time and causes CACTID to run as slow as CMD.PHP. Has anyone experienced this and was there a resolution?
TheWitness
CACTID Only Running 1 PHP.EXE At A Time
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
-
- Cacti User
- Posts: 66
- Joined: Sat Dec 06, 2003 12:44 pm
- Location: Winchester, MA
I've been running it for months and other than the popen issue i have had very little problem.
I've been running the version that comes with the 0.8.5a release.
cactid doesn't require php to run, so unless you have some php scripts added to cacti as data queries or input methods, this process would be unrelated to cactid.
Cheers - Phil
I've been running the version that comes with the 0.8.5a release.
cactid doesn't require php to run, so unless you have some php scripts added to cacti as data queries or input methods, this process would be unrelated to cactid.
Cheers - Phil
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Sidewinder,
The calls to any of the Host Resource MIB's involve the calling of external scripts via the XML files. Each XML file then generates a list of OID's to be scanned and performs calculations on the results. Unfortunately, PHP is VEEERRRRYYYY slow on the Windows platform. Therefore, CACTID is just as slow as CMD.PHP when you have a lot of PC's and/or SCRIPTS.
TheWitness
The calls to any of the Host Resource MIB's involve the calling of external scripts via the XML files. Each XML file then generates a list of OID's to be scanned and performs calculations on the results. Unfortunately, PHP is VEEERRRRYYYY slow on the Windows platform. Therefore, CACTID is just as slow as CMD.PHP when you have a lot of PC's and/or SCRIPTS.
TheWitness
-
- Cacti User
- Posts: 66
- Joined: Sat Dec 06, 2003 12:44 pm
- Location: Winchester, MA
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
FWIW, I'm having the same problem and I haven't been able to pinpoint what the problem is so far. I have exactly one cactid binary (0.8.5) that threads most of the time. Others I compile use just one thread no matter what.
I'm suspecting it might have something to do with the shell scripts I'm using with lots of data sources.
Using Fedora1 with all the updates.
J
I'm suspecting it might have something to do with the shell scripts I'm using with lots of data sources.
Using Fedora1 with all the updates.
J
Who is online
Users browsing this forum: No registered users and 0 guests