Results 1 to 3 of 3
Every now and then I get an issue where users cant send emails. I see this in the error log:
Code:
Dec 8 12:01:41 smtp saslauthd[21791]: PAM [error: /lib64/security/pam_deny.so: cannot ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-08-2009 #1Just Joined!
- Join Date
- Sep 2009
- Posts
- 8
Senmail saslauthd too many open files
Every now and then I get an issue where users cant send emails. I see this in the error log:
When I runCode:Dec 8 12:01:41 smtp saslauthd[21791]: PAM [error: /lib64/security/pam_deny.so: cannot open shared object file: Too many open files] Dec 8 12:01:41 smtp saslauthd[21791]: PAM adding faulty module: /lib64/security/pam_deny.so Dec 8 12:01:41 smtp saslauthd[21791]: PAM unable to dlopen(/lib64/security/pam_permit.so) Dec 8 12:01:41 smtp saslauthd[21791]: PAM [error: /lib64/security/pam_permit.so: cannot open shared object file: Too many open files] Dec 8 12:01:41 smtp saslauthd[21791]: PAM adding faulty module: /lib64/security/pam_permit.so
lsof | awk '{printf("%s\n",$1)}' | sort | uniq -c | sort -n
It will show saslauthd has over 4k files open, restarting saslauthd fixes the probelm but it will come back every month or so. Any ideas on a more permanent fix?
Thanks.
- 12-09-2009 #2Linux Guru
- Join Date
- Nov 2007
- Posts
- 1,722
Google: linux increase open file limit
- 02-14-2010 #3Banned
- Join Date
- Feb 2010
- Posts
- 31
Had this problem with DNS
I added a ulimit call to /etc/sysconfig/named, that fixed it.
I assume you can do something similar to saslauthd and/or sendmail.


Reply With Quote
