lmtp timeout, locks and crashes

2016-03-15 Thread Tom Sommer
I'm seeing some problems on accounts which get a lot of spam (like, a lot). I get these errors: Mar 15 10:43:49 lmtp(12390): Error: Timeout (29s) while waiting for lock for transaction log file /var/spool/mail/dovecot///dovecot.list.index.log (WRITE lock held by pid 12193) --- Mar

Re: lmtp timeout, locks and crashes

2016-03-15 Thread Aki Tuomi
On 15.03.2016 11:53, Tom Sommer wrote: I'm seeing some problems on accounts which get a lot of spam (like, a lot). I get these errors: Mar 15 10:43:49 lmtp(12390): Error: Timeout (29s) while waiting for lock for transaction log file /var/spool/mail/dovecot///dovecot.list.index.log

Re: lmtp timeout, locks and crashes

2016-03-15 Thread Tom Sommer
On 2016-03-15 10:53, Tom Sommer wrote: I'm seeing some problems on accounts which get a lot of spam (like, a lot). I get these errors: When I do a process-list I see a lot of stuck lmtp processes on the same account: 16180 ?D 0:00 \_ dovecot/lmtp [DATA 172.17.165.14 xxx@xxx]

Re: lmtp timeout, locks and crashes

2016-03-15 Thread Aki Tuomi
On 15.03.2016 12:28, Tom Sommer wrote: On 2016-03-15 10:53, Tom Sommer wrote: I'm seeing some problems on accounts which get a lot of spam (like, a lot). I get these errors: When I do a process-list I see a lot of stuck lmtp processes on the same account: 16180 ?D 0:00 \_

Re: lmtp timeout, locks and crashes

2016-03-15 Thread Teemu Huovila
On 15.03.2016 12:29, Aki Tuomi wrote: > > > On 15.03.2016 12:28, Tom Sommer wrote: >> >> On 2016-03-15 10:53, Tom Sommer wrote: >>> I'm seeing some problems on accounts which get a lot of spam (like, a lot). >>> >>> I get these errors: >> >> When I do a process-list I see a lot of stuck lmtp pro

Re: lmtp timeout, locks and crashes

2016-03-15 Thread Tom Sommer
On 2016-03-15 11:29, Aki Tuomi wrote: On 15.03.2016 12:28, Tom Sommer wrote: On 2016-03-15 10:53, Tom Sommer wrote: I'm seeing some problems on accounts which get a lot of spam (like, a lot). I get these errors: When I do a process-list I see a lot of stuck lmtp processes on the same acco

Re: lmtp timeout, locks and crashes

2016-03-19 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 17 Mar 2016, Tom Sommer wrote: On 2016-03-17 13:41, Tom Sommer wrote: On 2016-03-15 10:53, Tom Sommer wrote: I'm seeing some problems on accounts which get a lot of spam (like, a lot). I did an "strace" on one of the hundreds of lmtp proc

Re: lmtp timeout, locks and crashes

2016-03-19 Thread Tom Sommer
On 2016-03-18 08:11, Steffen Kaiser wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 17 Mar 2016, Tom Sommer wrote: On 2016-03-17 13:41, Tom Sommer wrote: On 2016-03-15 10:53, Tom Sommer wrote: I'm seeing some problems on accounts which get a lot of spam (like, a lot). I did an

Re: lmtp timeout, locks and crashes

2016-03-19 Thread Tom Sommer
On 2016-03-17 13:41, Tom Sommer wrote: On 2016-03-15 10:53, Tom Sommer wrote: I'm seeing some problems on accounts which get a lot of spam (like, a lot). I did an "strace" on one of the hundreds of lmtp processes. It's doing stat() on all files in the new folder for the receiver: stat("/var/

Re: lmtp timeout, locks and crashes

2016-03-19 Thread Tom Sommer
On 2016-03-15 10:53, Tom Sommer wrote: I'm seeing some problems on accounts which get a lot of spam (like, a lot). I did an "strace" on one of the hundreds of lmtp processes. It's doing stat() on all files in the new folder for the receiver: stat("/var/mail/dovecot///new/xx.xxx..x