FHTrap was not closed properly and was unable to return the result

RobinF28

Active Member
Jun 27, 2015
40
8
58
Elgin, Scotland
cPanel Access Level
Root Administrator
Hi,

I'm getting the following log lines in my /usr/local/cpanel/logs/error_log and really can't find anything in the fourms here to help me understand/fix this issue. There are hundreds of these lines, consecutively.

Can anyone help or shed some light on this for me, thanks?

Code:
/usr/local/cpanel/logs/error_log:
Cpanel::FHTrap was not closed properly and was unable to return the result: []
Cpanel::FHTrap was not closed properly and was unable to return the result: []
Cpanel::FHTrap was not closed properly and was unable to return the result: []
Cpanel::FHTrap was not closed properly and was unable to return the result: []
Cpanel::FHTrap was not closed properly and was unable to return the result: []
Cpanel::FHTrap was not closed properly and was unable to return the result: []
Cpanel::FHTrap was not closed properly and was unable to return the result: []
Cpanel::FHTrap was not closed properly and was unable to return the result: []
Cpanel::FHTrap was not closed properly and was unable to return the result: []
Cpanel::FHTrap was not closed properly and was unable to return the result: []
FYI...
Code:
/etc/redhat-release:CentOS release 6.9 (Final)
/usr/local/cpanel/version:11.66.0.27
/var/cpanel/envtype:kvm
CPANEL=release
 
Last edited:

rpvw

Well-Known Member
Jul 18, 2013
1,101
458
113
UK
cPanel Access Level
Root Administrator
The only thing I can find (translated from a Russian site) talked about this error being generated from the Max cPanel process memory (maxmem) being low.

You should be able to alter this in Tweak Settings > System > Max cPanel process memory

You could try and increase the amount of memory you are allocating to the cPanel processes, and see if the error goes away :)

Hope this helps.
 

RobinF28

Active Member
Jun 27, 2015
40
8
58
Elgin, Scotland
cPanel Access Level
Root Administrator
The only thing I can find (translated from a Russian site) talked about this error being generated from the Max cPanel process memory (maxmem) being low.

You should be able to alter this in Tweak Settings > System > Max cPanel process memory

You could try and increase the amount of memory you are allocating to the cPanel processes, and see if the error goes away :)

Hope this helps.
Thanks rpvw,

I've checked this, but it set the same as my other VPS, at the default value of 768MB, and I don't think it's maxing out on any processes thus far. I've checked for any cpanel processes that are being killed off or terminated, but the server is quite quiet and not under any strain. < 0.2 for 5min load average!

Thank you for your input however.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,216
463
Cpanel::FHTrap was not closed properly and was unable to return the result
Hello,

These messages are harmless, and appear when the coppermine cpaddon is enabled. We've fixed this in cPanel version 68 with the following case:

Fixed case CPANEL-14544: Don't warn when trapping output across a fork.

Thank you.