Page 1 of 1

NCPA 3.2.0 Python Errors

Posted: Fri Aug 22, 2025 2:23 pm
by marchiom
I updated NCPA to 3.2.0-1 on Oracle Linux 9 servers. I am now seeing errors in /var/log/messages:

Aug 22 15:16:47 ncpa[25708]: Exception ignored in: <function _after_fork at 0x7f347b1e1120>
Aug 22 15:16:47 ncpa[25708]: Traceback (most recent call last):
Aug 22 15:16:47 ncpa[25708]: File "threading.py", line 1588, in _after_fork
Aug 22 15:16:47 ncpa[25708]: File "threading.py", line 1424, in _after_fork
Aug 22 15:16:47 ncpa[25708]: File "threading.py", line 934, in _after_fork
Aug 22 15:16:47 ncpa[25708]: AttributeError: '_DummyThread' object has no attribute '_handle'
Aug 22 15:16:47 ncpa[25708]: Exception ignored in: <bound method _ForkHooks.after_fork_in_child of <gevent.threading._ForkHooks object at 0x7f347a76f620>>
Aug 22 15:16:47 ncpa[25708]: Traceback (most recent call last):
Aug 22 15:16:47 ncpa[25708]: File "gevent/threading.py", line 376, in after_fork_in_child

It looks like NCPA starts and is functioning, but those errors continually repeat and are filling up the log.

Re: NCPA 3.2.0 Python Errors

Posted: Fri Aug 22, 2025 3:17 pm
by DoubleDoubleA
Hi @marchiom,

Thank you for the report. I put this into issue tracking on the NCPA repo on github at https://github.com/NagiosEnterprises/ncpa/issues/1291

Aaron

Re: NCPA 3.2.0 Python Errors

Posted: Fri Aug 22, 2025 3:21 pm
by marchiom
Okay great. I will track it over on Github as well.

Re: NCPA 3.2.0 Python Errors

Posted: Wed Aug 27, 2025 8:50 am
by lagoon450
We are also seeing this on Ubuntu and Debian servers.

Re: NCPA 3.2.0 Python Errors

Posted: Fri Aug 29, 2025 4:02 pm
by bbahn
Hello everyone,

I found some leads on this and hope to have a fix out in NCPA 3.2.1 or 3.2.2. Thank you for your patience.

Re: NCPA 3.2.0 Python Errors

Posted: Tue Oct 07, 2025 11:00 am
by dsnagiosadmin
Hello,
Just seeing to see if this is still planning to be addressed in the 3.2.1 or 3.2.2 deployment? Its still an ongoing issue.
Thanks!

Re: NCPA 3.2.0 Python Errors

Posted: Tue Oct 07, 2025 1:17 pm
by DoubleDoubleA
We have a dev on this currently.

Re: NCPA 3.2.0 Python Errors

Posted: Tue Oct 28, 2025 9:21 am
by marchiom
Just checking in on this issue. We are still seeing the errors in our logs. If there is some code I can test to see if it it resolves the issue, please let me know.

Re: NCPA 3.2.0 Python Errors

Posted: Wed Oct 29, 2025 12:14 pm
by cdietsch
Hello everyone,

We have released NCPA v3.2.1. This release mostly addresses build related issues, but we believe some of those problems were indirectly related to the NCPA error messages that users have been seeing in their log files. The new release should stop the python error messages from appearing in the system log files.

https://github.com/NagiosEnterprises/nc ... tag/v3.2.1