Page 1 of 1

NCPA repeating error in syslog?

Posted: Tue Sep 23, 2025 3:11 pm
by lveitch
Hey everyone,

I didn't know where else to ask this but I am running the NCPA agent on a Ubuntu Server 24 that is sending syslog data to NagiosXI but I noticed all of this data in my syslog repeating and I have no clue what to make of it. Can anyone tell me what might be the issue?

Code: Select all

2025-09-23T20:04:23.023580+00:00 server01 ncpa[4877]: Exception ignored in: <function _after_fork at 0x763105c0d080>
2025-09-23T20:04:23.023658+00:00 server01 ncpa[4877]: Traceback (most recent call last):
2025-09-23T20:04:23.023687+00:00 server01 ncpa[4877]:   File "threading.py", line 1588, in _after_fork
2025-09-23T20:04:23.023704+00:00 server01 ncpa[4877]:   File "threading.py", line 1424, in _after_fork
2025-09-23T20:04:23.023740+00:00 server01 ncpa[4877]:   File "threading.py", line 934, in _after_fork
2025-09-23T20:04:23.023760+00:00 server01 ncpa[4877]: AttributeError: '_DummyThread' object has no attribute '_handle'
2025-09-23T20:04:23.023840+00:00 server01 ncpa[4877]: Exception ignored in: <bound method _ForkHooks.after_fork_in_child of <gevent.threading._ForkHooks object at 0x76310514b620>>
2025-09-23T20:04:23.023867+00:00 server01 ncpa[4877]: Traceback (most recent call last):
2025-09-23T20:04:23.023886+00:00 server01 ncpa[4877]:   File "gevent/threading.py", line 376, in after_fork_in_child

Re: NCPA repeating error in syslog?

Posted: Tue Sep 23, 2025 5:03 pm
by kg2857
You might try doing a search of the internet for the first line.
ncpa[4877]: Exception ignored in: <function _after_fork at 0x763105c0d080>

Re: NCPA repeating error in syslog?

Posted: Wed Sep 24, 2025 9:18 am
by zross
There is a discussion about it here viewtopic.php?t=76492

Re: NCPA repeating error in syslog?

Posted: Thu Sep 25, 2025 10:15 am
by lveitch
kg2857 wrote: Tue Sep 23, 2025 5:03 pm You might try doing a search of the internet for the first line.
ncpa[4877]: Exception ignored in: <function _after_fork at 0x763105c0d080>
I tried that but nothing came up that was of any use
zross wrote: Wed Sep 24, 2025 9:18 am There is a discussion about it here viewtopic.php?t=76492
I wonder why this didnt come up in the forum search...hmmm...but good find. I see its a current issue that has not been resolved yet. Appreciate it

Re: NCPA repeating error in syslog?

Posted: Thu Sep 25, 2025 3:34 pm
by zross
Yeah, no problem.

We got it on our radar at least.

Re: NCPA repeating error in syslog?

Posted: Thu Sep 25, 2025 4:21 pm
by kg2857
The fork error means a parent process is exiting before the process it ran. That's from a search result.
Look for a long running service and at your timeout settings.

Re: NCPA repeating error in syslog?

Posted: Fri Sep 26, 2025 9:12 am
by cdietsch
Hi lveitch,

This seems to be a message that many NCPA users are seeing across multiple Linux distros lately. We are currently looking into the cause of this error being logged and hope to have a resolution for everyone soon.

Re: NCPA repeating error in syslog?

Posted: Mon Jan 26, 2026 5:48 pm
by lveitch
I was just curious to see if this was addressed or not. I have not implemented any fix attempts or anything since noticing this issue a few months back and just wanted to ask if this got fixed

Re: NCPA repeating error in syslog?

Posted: Tue Jan 27, 2026 10:32 am
by cdietsch
Hi @lveitch,

The syslog threading errors should be fixed in NCPA version 3.2.1 and up. The newest release 3.2.3 has had the syslog messages cleaned up even more.