[Dovecot] Dovecot Deliver CPU usage

Aravind Divakaran aravind.divakaran at yukthi.com
Tue Dec 22 06:33:00 EET 2009


> On Tue, 2009-12-15 at 15:08 -0500, Timo Sirainen wrote:
>> > Dec 14 12:46:04 server01 postfix/pipe[1870]: 57489E913:
>> > to=<user1 at example.com>, orig_to=<user2 at example.com>, relay=dovecot,
>> > delay=1703, delays=1369/328/0/5.9, dsn=5.7.0, status=bounced
>> (permission
>> > denied. Command output: Not enough disk space )
>>
>> Can you get a strace from this kind of a failed delivery? The strace
>> should contain ENOSPC string.
>
> Looking at the code .. I think that can happen with both EDQUOT and
> ENOSPC errors from a write, but nothing else..

Strace with ENOSPC

09:57:39.782569 write(10, "T5vfloaIeSOsJdT6IXB146wSWLNKqK\n4v"..., 28672)
= -1 ENOSPC (No space left on device)
09:57:40.695074 fstat(10, {st_mode=S_IFREG|0644, st_size=2068480, ...}) = 0
09:57:40.707778 munmap(0x7fa35c97b000, 2101248) = 0
09:57:40.708119 close(10)               = 0
09:57:40.708162
unlink("/home/vmail/example.com/user1/tmp/1261456056.M913860P17478.node01")
= 0
09:57:40.711774 sendto(6, "<22>Dec 22 09:57:40 dovecot: deli"..., 201,
MSG_NOSIGNAL, NULL, 0) = 201
09:57:40.712087 munmap(0x7fa35dc47000, 200704) = 0
09:57:40.712148 write(2, "Not enough disk space\n"..., 22) = 22
09:57:40.712235 sendto(6, "<22>Dec 22 09:57:40 dovecot: deli"..., 189,
MSG_NOSIGNAL, NULL, 0) = 189
09:57:40.712353 exit_group(77)







More information about the dovecot mailing list