[Dovecot] PAM ISSUE (auth-worker)
Hello
ISSUE: Intermittently getting username and password authentication in clients both OUTLOOK 2007 and latest Thunderbird, indicating that the client is not authenticated with the server. Ie the username and password dialogue constantly reappears.
This only appears as more users logged into the system.
TEMP FIX: Restart Dovecot.
LOG FILES
Mail.err
Jun 7 15:23:07 mail dovecot: auth-worker(default): ltdb: tdb(/var/lib/samba/group_mapping.ldb): tdb_mmap failed for size 77824 (Cannot allocate memory) Jun 7 15:23:10 mail dovecot: auth(default): worker-server(shepherb,81.152.245.13): Aborted: Worker process died unexpectedly Jun 7 15:23:10 mail dovecot: child 4268 (auth-worker) killed with signal 11 Jun 7 15:46:00 mail dovecot: auth-worker(default): ltdb: tdb(/var/lib/samba/group_mapping.ldb): tdb_mmap failed for size 77824 (Cannot allocate memory)
Earlier in the log Jun 7 12:08:02 mail dovecot: auth-worker(default): pam(xxx): pam_start() failed: Critical error - immediate abort
FILESYSTEM: EXT3 -
DOVECOT CONFIG: # 1.1.11: /etc/dovecot/dovecot.conf # OS: Linux 2.6.31-21-server x86_64 Ubuntu 9.10 log_timestamp: %Y-%m-%d %H:%M:%S listen: 127.0.0.1:143 ssl_listen: *:993 ssl_cert_file: /etc/exim4/exim.crt ssl_key_file: /etc/exim4/exim.key ssl_cipher_list: ALL:!LOW:!SSLv2 login_dir: /var/run/dovecot/login login_executable: /usr/lib/dovecot/imap-login login_greeting: Ready. mail_privileged_group: mail mail_location: maildir:~/Maildir auth default: worker_max_count: 60 worker_max_request_count: 25 passdb: driver: pam userdb: driver: passwd
On 7.6.2010, at 21.40, Philip Coackley wrote:
This only appears as more users logged into the system.
How much is "more"?
Jun 7 15:23:07 mail dovecot: auth-worker(default): ltdb: tdb(/var/lib/samba/group_mapping.ldb): tdb_mmap failed for size 77824 (Cannot allocate memory) .. auth default: worker_max_count: 60 worker_max_request_count: 25
Possibility 1) Decrease worker_max_request_count to 1.
Possibility 2) Increase auth_process_size
There are 16 people with email accounts: and 5 of them also have iphones...so we are looking at about 21 users plus I was also logged in for 6 accounts.
Can't tell you the exact number of users that caused the issue.!
On 07/06/2010 22:59, Timo Sirainen wrote:
On 7.6.2010, at 21.40, Philip Coackley wrote:
This only appears as more users logged into the system.
How much is "more"?
Jun 7 15:23:07 mail dovecot: auth-worker(default): ltdb: tdb(/var/lib/samba/group_mapping.ldb): tdb_mmap failed for size 77824 (Cannot allocate memory)
..
auth default: worker_max_count: 60 worker_max_request_count: 25
Possibility 1) Decrease worker_max_request_count to 1.
Possibility 2) Increase auth_process_size
participants (2)
-
Philip Coackley
-
Timo Sirainen