Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
i'm really not sure how the patchign utility works under solaris, so i won't venture a guess.
Variosu people have posted output of the patching utility when we attempt applying a patch.
I think it might have something to do with the syntax the patch utility is expecting not matching what linux likes.
the joysd of solaris...
thanks for the .c though
i'll go compile this now.
I have been running cactid with the new .c file on a Win XP for 24 hours now and not a single stuck process. But let us not be too happy because this could be a lucky coincidence.
I will tell you next week if this 'hang' problem is really gone forever...
I didn't dare to mention it because I didn't want to spoil the fun (and I was not shure if this was due to cactid or due to a server reboot) but as now Morgan did post it, here is my post to say the problem isn't gone
well the bug isd evolving as it's patched Ian, first it was snmp queries getting stuck, then the scripts kept getting stuck.
now it seems to hang updating rrd's somewhere.
Morgan wrote:well the bug isd evolving as it's patched Ian, first it was snmp queries getting stuck, then the scripts kept getting stuck.
now it seems to hang updating rrd's somewhere.
I am glad to see that the bug is evolving, but there is definitely some greater issue that is causing these problems. One really strange thing is that these issues sort of crept up over night. I am pretty converative about changing core code in cactid, but it is still possible that something I changed is causing the problem. The problem also appears to be a lot more prevalent on Windows and Solaris platforms.
I find it interesting that the problem appears to go away when using a single thread. That doesn't surprise me really as problems like this tend to be thread related at the root. Perhaps the problem always existed but just wasn't noticed until cactid started running on Solaris and Windows. That is my best guess.
Ian,
now that we've basically agreed that the bug is evolving, and doing so primarily on solaris and windows machine, the one thing i can see that all 3 variants of this bugs we've seen so far relates to rrdtool.
sure the CPU was getting hogged by different tasks each time, first by snmpget requests and then scripts in /cacti/scripts/ , but all of them have an rrdtool problem. i
just went back to the entire thread and each time we have a stuck rrdtool.
bug in rrdtool? incorrect argument passed somewhere when cactid tries to update rrd's? don't know, but it's a possibility that cactid isn't the problem here and that rrdtool is intead.
I wouldn't doubt if the bug was related to RRDTool somehow. Since I don't see myself building a Solaris test box anytime soon, I will try and setup my Windows machine with cactid. I have no doubt that I can debug this and possible find the source of the problem, I just need a reproducable test case.