Still having trouble with npcd...
-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: Still having trouble with npcd...
My hope is that this issue will just disappear. These settings control how processes handle memory allocation, so from here we just have to watch and wait to see if npcd stabilizes.
-
- Posts: 24
- Joined: Wed Aug 31, 2011 6:07 am
Re: Still having trouble with npcd...
I have the same problem. At mike's request I've tried a cronjob that restarts the npcd service every hour. It seems to work and I have no more problems although this is really a dirty solution! I would like to see it solved but in the meantime I can go on vacation without worries.
-
- Posts: 1040
- Joined: Wed May 11, 2011 8:54 am
Re: Still having trouble with npcd...
MathieuS,
Thanks for telling us if it had worked/didn't work. We'll do some digging on it, but I'm glad you got it working.
Thanks for telling us if it had worked/didn't work. We'll do some digging on it, but I'm glad you got it working.
Nicholas Scott
Former Nagios employee
Former Nagios employee
-
- Posts: 316
- Joined: Thu Mar 31, 2011 9:54 am
- Location: Patten, ME
Re: Still having trouble with npcd...
So changing the settings that Mike suggested didn't work
It did okay for a while but it died again this morning with the same error code.
I think for the time being I may do the cronjob way just so I can leave this alone for a while.

I think for the time being I may do the cronjob way just so I can leave this alone for a while.
-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: Still having trouble with npcd...
Just an update on this, we're investigating possible memory leaks on the npcd process. I'll post to this thread once we know more...
-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: Still having trouble with npcd...
If anyone wants to help test out this updated version of the PNP daemon, it'll help us know if it corrects the issue or not. I haven't been able to recreate the memory allocation error that's crashing the npcd daemon, so if you guys are comfortable testing this version out, it would help a great deal. I've had a smoke test with this version running for the last day or so on my test box, and it seems to run fine. Let us know how it goes.
Here's the latest 0.4 snapshot of PNP. Download it to the /tmp directory and run:
Here's the changelog for updates made to this version from the one you're currently using:
Here's the latest 0.4 snapshot of PNP. Download it to the /tmp directory and run:
Code: Select all
cd /tmp
tar zxf pnp.tar.gz
cd pnp
./upgrade
Code: Select all
**SVN Current:**
* check_fping template php fix
* Fix memory leak during scandir
* Fix problem with negative value in warning and critical range
* New NPCD init script
* Fix very ugly typo in npcdmod.c
* New npcdmod config var: perfdata_spool_filename for multiple nagios usage
* defining pdf_width and pdf_height in config.php PDFs can have different sizes than graphs
You do not have the required permissions to view the files attached to this post.
-
- Posts: 316
- Joined: Thu Mar 31, 2011 9:54 am
- Location: Patten, ME
Re: Still having trouble with npcd...
Just did the install and it seems to be running fine so far.
-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: Still having trouble with npcd...
Ok, if all seems well we may push that updated version into our next update. Go ahead and let us know if it begins to experience problems again.
-
- Posts: 24
- Joined: Wed Aug 31, 2011 6:07 am
Re: Still having trouble with npcd...
Any news on the update? I want a solution too but you must understand that I'm scared of ruining my machine 

-
- Posts: 316
- Joined: Thu Mar 31, 2011 9:54 am
- Location: Patten, ME
Re: Still having trouble with npcd...
Everything is still up and running, and I'm not seeing any errors in the logs. Nothing got broken in the upgrade either 
