Upgrade 1.2.18 to 1.2.21 - Error: Maximum runtime of 298 seconds exceeded
Moderators: Developers, Moderators
Re: Upgrade 1.2.18 to 1.2.21 - Error: Maximum runtime of 298 seconds exceeded
Hey there. Half good news - I haven't seen any segfaults yet. But it did do the corruption thing again. At 2:55pm the errors below shows up in cacti_stderr.log. I had a debug running on spine but I didn't notice it until about 3:04, almost 10 minutes after the error. I hope that's not too much time passing. GDB log attached.
2:55pm:
double free or corruption (fasttop)
FATAL: Spine Interrupted by Abort Signal
Unable to flush stdout: Broken pipe
2:55pm:
double free or corruption (fasttop)
FATAL: Spine Interrupted by Abort Signal
Unable to flush stdout: Broken pipe
- Attachments
-
- GDB Debug - 3-05pm.txt
- (23.34 KiB) Downloaded 27 times
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Upgrade 1.2.18 to 1.2.21 - Error: Maximum runtime of 298 seconds exceeded
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?
Re: Upgrade 1.2.18 to 1.2.21 - Error: Maximum runtime of 298 seconds exceeded
...yes? I think so. I see some of the same lines in my last trace:
Reading symbols from ./spine...
[Thread debugging using libthread_db enabled]
[New Thread 0x7f14c4627700 (LWP 1213819)]
Thread 4 "spine" received signal SIG33, Real-time event 33.
[Switching to Thread 0x7f4d6bfff700 (LWP 1190359)]
I looked back through other traces I've done. Sometimes it says thread 4 received sig33, other times it says thread 35 or thread 36. Not sure if that's a thing or not but I figured I'd mention.
Reading symbols from ./spine...
[Thread debugging using libthread_db enabled]
[New Thread 0x7f14c4627700 (LWP 1213819)]
Thread 4 "spine" received signal SIG33, Real-time event 33.
[Switching to Thread 0x7f4d6bfff700 (LWP 1190359)]
I looked back through other traces I've done. Sometimes it says thread 4 received sig33, other times it says thread 35 or thread 36. Not sure if that's a thing or not but I figured I'd mention.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Upgrade 1.2.18 to 1.2.21 - Error: Maximum runtime of 298 seconds exceeded
Have you been able to capture any core files?
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?
Re: Upgrade 1.2.18 to 1.2.21 - Error: Maximum runtime of 298 seconds exceeded
I'll try to get that for you now. I've never done a core dump before... did I set this up right? Just checking to make sure I get the right information.
ulimit -S -c 0
ulimit -S -c unlimited spine
gdb ./spine
run
And then after it happens: generate-core-file
I did that once so far and got a file that's 3.6Gb in size. Does that sound correct?
ulimit -S -c 0
ulimit -S -c unlimited spine
gdb ./spine
run
And then after it happens: generate-core-file
I did that once so far and got a file that's 3.6Gb in size. Does that sound correct?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Upgrade 1.2.18 to 1.2.21 - Error: Maximum runtime of 298 seconds exceeded
You should also get that running outside of gdb right?
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:
Re: Upgrade 1.2.18 to 1.2.21 - Error: Maximum runtime of 298 seconds exceeded
What I would do is add that and the core dump pattern to the Apache user and then make sure we get cores from real runs.
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?
Re: Upgrade 1.2.18 to 1.2.21 - Error: Maximum runtime of 298 seconds exceeded
Ok yeah, I see what you're saying. I've got it set up. Now just waiting for it to fail again.
Re: Upgrade 1.2.18 to 1.2.21 - Error: Maximum runtime of 298 seconds exceeded
Got something. I walked away for a few minutes and came back to 2 core dumps. Not a segfault yet. Both of these show this in the log:
double free or corruption (fasttop)
FATAL: Spine Interrupted by Abort Signal
https://drive.google.com/drive/folders/ ... sp=sharing
core-spine.2110396
core-spine.2132369
double free or corruption (fasttop)
FATAL: Spine Interrupted by Abort Signal
https://drive.google.com/drive/folders/ ... sp=sharing
core-spine.2110396
core-spine.2132369
Re: Upgrade 1.2.18 to 1.2.21 - Error: Maximum runtime of 298 seconds exceeded
I think I caught a segfault in the core dumps. They're added to the google drive folder. There have been 5 failures since I last checked and 2 of them say seg fault in the log. Based on the timestamps of the core dumps and the fact that the segfaults were the first 2 of 5 failures, I believe they're capture in these files:
core-spine.2858258
core-spine.2971815
core-spine.2858258
core-spine.2971815
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Upgrade 1.2.18 to 1.2.21 - Error: Maximum runtime of 298 seconds exceeded
Cool. Do a backtrace and backtrace full on each of them and upload.
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?
Re: Upgrade 1.2.18 to 1.2.21 - Error: Maximum runtime of 298 seconds exceeded
Attached. Thanks!
- Attachments
-
- Backtrace - core-spine.2858258.txt
- (24.04 KiB) Downloaded 25 times
-
- Backtrace - core-spine.2971815.txt
- (23.55 KiB) Downloaded 26 times
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Upgrade 1.2.18 to 1.2.21 - Error: Maximum runtime of 298 seconds exceeded
This is looking more and more like a net-snmp v3 client bug. What version of net-snmp libraries are you using? What's your OS version? Can you send a note out to the net-snmp team and see if they are aware of such issues?
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:
Re: Upgrade 1.2.18 to 1.2.21 - Error: Maximum runtime of 298 seconds exceeded
Lastly, let me know the snmpv3 details: Page capture you can obfuscate the details on the passphrases and passwords, but what I would like to know:
- Obfuscated screen captures
- Length of passwords and passphrases
- Length of username
- Special character use, and the special characters you used in either the username, password, or passphrases
- Auth Proto and Privacy proto?
- Using Engine ID?
- Using Context?
- Obfuscated screen captures
- Length of passwords and passphrases
- Length of username
- Special character use, and the special characters you used in either the username, password, or passphrases
- Auth Proto and Privacy proto?
- Using Engine ID?
- Using Context?
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?
Re: Upgrade 1.2.18 to 1.2.21 - Error: Maximum runtime of 298 seconds exceeded
Interesting. Assuming I'm looking at the right thing... I've got net-snmp libraries version 5.8. Ubuntu 20.04. I'm happy to reach out to them, but I don't know what I need to ask? Is it crashing on the queries?
root@oss:/var/log/remote# net-snmp-config --version
5.8
root@oss:/var/log/remote# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.4 LTS
Release: 20.04
Codename: focal
Screen captures attached of a device config
SNMPv3 username, password, and passphrases do not have special characters. They're a mix of lowercase letters and numbers.
Username: 9 characters long
Password: SHA, 13 characters long
Passphrase: AES-128, 13 characters long
Screenshot of SNMP config is in Device Details 02.
Not using EngineID or Context
root@oss:/var/log/remote# net-snmp-config --version
5.8
root@oss:/var/log/remote# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.4 LTS
Release: 20.04
Codename: focal
Screen captures attached of a device config
SNMPv3 username, password, and passphrases do not have special characters. They're a mix of lowercase letters and numbers.
Username: 9 characters long
Password: SHA, 13 characters long
Passphrase: AES-128, 13 characters long
Screenshot of SNMP config is in Device Details 02.
Not using EngineID or Context
- Attachments
-
- Device Details 03.PNG (40.04 KiB) Viewed 704 times
-
- Device Details 01.PNG (46.88 KiB) Viewed 704 times
-
- Device Details 02.PNG (58.77 KiB) Viewed 704 times
Who is online
Users browsing this forum: No registered users and 2 guests