Starting Dovecot Imap: Warning: fd limit (ulimit -n) is lower than required under max

prashantp786j

Active Member
Jan 16, 2009
28
0
51
Hi Friends,

One of our client getting these types of LFD messages :-

------------------
Starting Dovecot Imap: Warning: fd limit (ulimit -n) is lower than required under max. load (100 [ 1000), because of default_client_limit
[ OK ]
Starting Dovecot Imap: Warning: fd limit (ulimit -n) is lower than required under max. load (100 [ 1000), because of default_client_limit
Last died with error (see error log for more information): fcntl(F_GETFD, -1) failed: Bad file descriptor
[ OK ]
Starting Dovecot Imap: Warning: fd limit (ulimit -n) is lower than required under max. load (100 [ 1000), because of default_client_limit
Last died with error (see error log for more information): fcntl(F_GETFD, -1) failed: Bad file descriptor
[ OK ]
Starting Dovecot Imap: Warning: fd limit (ulimit -n) is lower than required under max. load (100 [ 1000), because of default_client_limit
Last died with error (see error log for more information): fcntl(F_GETFD, -1) failed: Bad file descriptor
[ OK ]

------------------
I have gone through different forums and post but couldn't get exact solutions on this.

While restart dovecot at first time I got an error like this :-
-----
-bash-4.1# service dovecot restart
Stopping Dovecot Imap: [FAILED]
Starting Dovecot Imap: Last died with error (see error log for more information): fcntl(F_GETFD, -1) failed: Bad file descriptor
[ OK ]
-----
After executing this command again it started ok.

Can you please let us know why such errors occurs?

P.S. At the file /etc/security/limits.conf there is an line for dovecot soft limit and hard limit which was set to 40000.

Please assist !!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Hello :)

Could you check to see if Shell Fork Bomb Protection is enabled in "WHM Home » Security Center » Shell Fork Bomb Protection"?

Thank you.
 

tudorh

Active Member
Dec 9, 2004
28
8
153
Hello :)

Could you check to see if Shell Fork Bomb Protection is enabled in "WHM Home » Security Center » Shell Fork Bomb Protection"?

Thank you.
I notice there has been no reply to this. I'm in the same situation. I have Shell Fork Bomb Protection enabled.

What else should I check for?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Try disabling Shell Fork Bomb Protection and see if the issue persists.

Thank you.