CACTID Issues - Windows [RESOLVED]
Moderators: Developers, Moderators
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Hmmmm.......
"Message: Local - Cacti Poller Statistics [Time] went above threshold of 150 with 223.7861"
Looks like a PHP script error "Input expected". No errors since this so far...
One thing that is very annoying is that the poller is 10 seconds faster when run from CLI in comparison to the Windows Scheduler...
"Message: Local - Cacti Poller Statistics [Time] went above threshold of 150 with 223.7861"
Looks like a PHP script error "Input expected". No errors since this so far...
One thing that is very annoying is that the poller is 10 seconds faster when run from CLI in comparison to the Windows Scheduler...
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
What log level are you running at? Jimmy Conner (cigamit) found an incorrect log message format. That would cause segfaults. Turn you logging to LOW and see what happens.
I will fix that tonight I think. Between residences at the moment.
Larry
I will fix that tonight I think. Between residences at the moment.
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?
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?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Also, what version of the MySQL source do you have?
Larry
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?
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?
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Hi Larry,
Running at MEDIUM logging level. Have put the ThreadSafe CACTID back in, and set the logging to LOW as suggested. I compiled this using the mysql-4.1.22 source binaries
Does this make a difference ? Which version of the MySQL source should I use ?
Running at MEDIUM logging level. Have put the ThreadSafe CACTID back in, and set the logging to LOW as suggested. I compiled this using the mysql-4.1.22 source binaries
Does this make a difference ? Which version of the MySQL source should I use ?
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Use the latest 5.0.41 as the thread safe modules were experimental in 4.x. Don't know about 4.1.
TheWitness
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?
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?
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Hi Larry,
Tried lowering the logging level to LOW as suggested. Not much difference - multiple segfaults still (see poller graph). Also, there are multiple instances of :
06/30/2007 06:50:13 PM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
06/30/2007 06:50:13 PM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
06/30/2007 06:50:13 PM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
06/30/2007 06:50:13 PM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
06/30/2007 06:50:13 PM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
06/30/2007 06:50:12 PM - CACTID: Poller[0] FATAL: Cactid Encountered a Segmentation Fault (Cactid thread)
In the log. There is also a stacktrace:
Exception: STATUS_ACCESS_VIOLATION at eip=610F6023
eax=00000000 ebx=00000064 ecx=00000000 edx=1A3240C4 esi=0000006A edi=00000000
ebp=1A32409C esp=1A324064 program=c:\wamp\www\cacti\cactid\cactid.exe, pid 3312, thread unknown (0x1658)
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame Function Args
1A32409C 610F6023 (1A32D008, 00000000, 1A3240C4, 610E5132)
1A3240EC 610E650F (1A32D008, 1A324134, 00000000, 00000000)
1A32410C 610E6561 (1A324134, 00000000, 00000FFF, 1A326234)
1A32627C 61092D88 (1A326294, 00000400, 0048B0DB, 1A326694)
1A326A9C 00402AE4 (0048DB0C, 00000000, 00000000, 1A32CE64)
1A326ABC 0040A34C (0000000B, 70697263, 47726F74, 70756F72)
1A326BAC 61017B60 (00000094, 0000EA60, 000000A4, 1A326BF4)
1A326CCC 610977FC (0000000C, 1A326D04, 0000001C, 00000000)
1A326DDC 61018C4C (1A326EC8, 1A32CE68, 1A326EE4, 1A326E9C)
1A326E00 7C9037BF (1A326EC8, 1A32CE68, 1A326EE4, 1A326E9C)
1A326EB0 7C90378B (00000000, 1A326EE4, 1A326EC8, 1A326EE4)
1A3271E8 7C90EAFA (1A32D008, 00000000, 1A327210, 610E5132)
1A327238 610E650F (1A32D008, 1A327280, 00000000, 00000000)
1A327258 610E6561 (1A327280, 00000000, 00000FFF, 1A329380)
1A3293C8 61092D88 (0048C828, 0000000C, 000000C0, 1A32A540)
1A32CD58 00406F72 (0000000C, 00000000, 00000000, 007E47C0)
End of stack trace (more stack frames may be present)
I have recompiled CACTID using the MySQL5.0.4 client libraries (./configure --without-server --enable-thread-safe-client), and have replaced the poller around 10 minutes ago. So far, so good - let's see what happens.
Tried lowering the logging level to LOW as suggested. Not much difference - multiple segfaults still (see poller graph). Also, there are multiple instances of :
06/30/2007 06:50:13 PM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
06/30/2007 06:50:13 PM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
06/30/2007 06:50:13 PM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
06/30/2007 06:50:13 PM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
06/30/2007 06:50:13 PM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
06/30/2007 06:50:12 PM - CACTID: Poller[0] FATAL: Cactid Encountered a Segmentation Fault (Cactid thread)
In the log. There is also a stacktrace:
Exception: STATUS_ACCESS_VIOLATION at eip=610F6023
eax=00000000 ebx=00000064 ecx=00000000 edx=1A3240C4 esi=0000006A edi=00000000
ebp=1A32409C esp=1A324064 program=c:\wamp\www\cacti\cactid\cactid.exe, pid 3312, thread unknown (0x1658)
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame Function Args
1A32409C 610F6023 (1A32D008, 00000000, 1A3240C4, 610E5132)
1A3240EC 610E650F (1A32D008, 1A324134, 00000000, 00000000)
1A32410C 610E6561 (1A324134, 00000000, 00000FFF, 1A326234)
1A32627C 61092D88 (1A326294, 00000400, 0048B0DB, 1A326694)
1A326A9C 00402AE4 (0048DB0C, 00000000, 00000000, 1A32CE64)
1A326ABC 0040A34C (0000000B, 70697263, 47726F74, 70756F72)
1A326BAC 61017B60 (00000094, 0000EA60, 000000A4, 1A326BF4)
1A326CCC 610977FC (0000000C, 1A326D04, 0000001C, 00000000)
1A326DDC 61018C4C (1A326EC8, 1A32CE68, 1A326EE4, 1A326E9C)
1A326E00 7C9037BF (1A326EC8, 1A32CE68, 1A326EE4, 1A326E9C)
1A326EB0 7C90378B (00000000, 1A326EE4, 1A326EC8, 1A326EE4)
1A3271E8 7C90EAFA (1A32D008, 00000000, 1A327210, 610E5132)
1A327238 610E650F (1A32D008, 1A327280, 00000000, 00000000)
1A327258 610E6561 (1A327280, 00000000, 00000FFF, 1A329380)
1A3293C8 61092D88 (0048C828, 0000000C, 000000C0, 1A32A540)
1A32CD58 00406F72 (0000000C, 00000000, 00000000, 007E47C0)
End of stack trace (more stack frames may be present)
I have recompiled CACTID using the MySQL5.0.4 client libraries (./configure --without-server --enable-thread-safe-client), and have replaced the poller around 10 minutes ago. So far, so good - let's see what happens.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Since upgrading the MySQL client binaries to 5.0.41, the segfaults have stopped (I hope...!), and CACTID version "J" is extremely stable. It has been running since around 5am this morning with no problems whatsoever. I will continue to post updates in this topic...
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
I'll be checking things from time to time as I am still in the process of moving. Keep me posted.
Larry
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?
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?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
MCutting,
In the mean time, do the following from the Cactid build directory:
gdb cactid
break *0x00402AE4
break *0x0040A34C
Let me know what lines number you get back. Just in case you were wondering:
In the mean time, do the following from the Cactid build directory:
gdb cactid
break *0x00402AE4
break *0x0040A34C
Let me know what lines number you get back. Just in case you were wondering:
Exception: STATUS_ACCESS_VIOLATION at eip=610F6023
eax=00000000 ebx=00000064 ecx=00000000 edx=1A3240C4 esi=0000006A edi=00000000
ebp=1A32409C esp=1A324064 program=c:\wamp\www\cacti\cactid\cactid.exe, pid 3312, thread unknown (0x1658)
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame Function Args
1A32409C 610F6023 (1A32D008, 00000000, 1A3240C4, 610E5132)
1A3240EC 610E650F (1A32D008, 1A324134, 00000000, 00000000)
1A32410C 610E6561 (1A324134, 00000000, 00000FFF, 1A326234)
1A32627C 61092D88 (1A326294, 00000400, 0048B0DB, 1A326694)
1A326A9C 00402AE4 (0048DB0C, 00000000, 00000000, 1A32CE64)
1A326ABC 0040A34C (0000000B, 70697263, 47726F74, 70756F72)
1A326BAC 61017B60 (00000094, 0000EA60, 000000A4, 1A326BF4)
1A326CCC 610977FC (0000000C, 1A326D04, 0000001C, 00000000)
1A326DDC 61018C4C (1A326EC8, 1A32CE68, 1A326EE4, 1A326E9C)
1A326E00 7C9037BF (1A326EC8, 1A32CE68, 1A326EE4, 1A326E9C)
1A326EB0 7C90378B (00000000, 1A326EE4, 1A326EC8, 1A326EE4)
1A3271E8 7C90EAFA (1A32D008, 00000000, 1A327210, 610E5132)
1A327238 610E650F (1A32D008, 1A327280, 00000000, 00000000)
1A327258 610E6561 (1A327280, 00000000, 00000FFF, 1A329380)
1A3293C8 61092D88 (0048C828, 0000000C, 000000C0, 1A32A540)
1A32CD58 00406F72 (0000000C, 00000000, 00000000, 007E47C0)
End of stack trace (more stack frames may be present)
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?
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?
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Hi Larry,
See output below
$ gdb cactid
GNU gdb 6.5.50.20060706-cvs (cygwin-special)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...
(gdb) break *0x00402AE4
Breakpoint 1 at 0x402ae4: file util.c, line 497.
(gdb) break *0x0040A34C
Breakpoint 2 at 0x40a34c: file error.c, line 67.
(gdb)
Regds
See output below
$ gdb cactid
GNU gdb 6.5.50.20060706-cvs (cygwin-special)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...
(gdb) break *0x00402AE4
Breakpoint 1 at 0x402ae4: file util.c, line 497.
(gdb) break *0x0040A34C
Breakpoint 2 at 0x40a34c: file error.c, line 67.
(gdb)
Regds
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Add this one:
break *0x00406F72
very interesting output. Looks like a forked process was in the process of dying. That would either be a popen for a script server or a script...
However, it may not have been valid as it was before you compiled with the new libraries...
TheWitness
break *0x00406F72
very interesting output. Looks like a forked process was in the process of dying. That would either be a popen for a script server or a script...
However, it may not have been valid as it was before you compiled with the new libraries...
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?
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?
Who is online
Users browsing this forum: No registered users and 0 guests