Find the answer to your Linux question:
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.
  1. #1
    Just 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:

    Code:
    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
    When I run
    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.

  2. #2
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,755

  3. #3
    Banned
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •