A NOTE has been added to this issue. 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=525 
====================================================================== 
Reported By:                idk
Assigned To:                
====================================================================== 
Project:                    DBMail
Issue ID:                   525
Category:                   IMAP daemon
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
target:                      
====================================================================== 
Date Submitted:             07-Mar-07 10:41 CET
Last Modified:              07-Mar-07 14:51 CET
====================================================================== 
Summary:                    Error message about /tmp folder
Description: 
After upgrading to 2.2 I got error messages (some per minute)

Mar  7 10:23:50 svc dbmail/imap4d[12943]: Error Short write, is your /tmp
filesystem full?
Mar  7 10:24:14 svc dbmail/imap4d[12943]: Error Error setting lock. Trying
again.

First ones are more frequent.

/tmp has 100GB+ of free

Similar problem has a LMTP daemon:

Mar  7 10:15:35 svc dbmail/lmtpd[11900]: Error sendmail error return value
was [126]
Mar  7 10:15:35 svc dbmail/lmtpd[11896]: Error Short write, is your /tmp
filesystem full?
Mar  7 10:17:16 svc dbmail/lmtpd[12415]: Error Error setting lock. Trying
again.

Please help urgent, this is on my production server I upgraded just
yesterday.

/tmp has [rwx] for everyone

# ls /tmp/dbmail_* -l
-rw------- 1 dbmail dbmail 0 Mar  7 10:09
/tmp/dbmail_scoreboard_11849.LCK
-rw------- 1 dbmail dbmail 0 Mar  7 10:09
/tmp/dbmail_scoreboard_11889.LCK
-rw------- 1 dbmail dbmail 0 Mar  6 20:26
/tmp/dbmail_scoreboard_18378.LCK

dbmail user can write into /tmp folder

Do I need configure GMime package? I had to install only for DBMail new
version compilation. "Short write" error message is in
_set_content_from_stream function which wotks with mime library (I mean).
====================================================================== 

---------------------------------------------------------------------- 
 idk - 07-Mar-07 11:35  
---------------------------------------------------------------------- 
One more discovery - error message "short write" pops up on every first
fetch of message in that connection. So I connect to imap, perform an uid
fetch 534067:534067 (body[1]), error is logged, repeat the uid fetch
534067:534067 (body[1]), no more errors logs, then I disconnect and
reconnect again, first perform an uid fetch 534067:534067 (body[1]) logs
error. Fetching of another message will cause other error. However message
comes in good order (although error is reported into maillog). dbmail-util
-b say zero for every item.

In the middle time there is other error messages:

Mar  7 11:33:07 svc dbmail/imap4d[11860]: Error write to client socket
failed
Mar  7 11:15:59 svc dbmail/pop3d[18387]: Error error, incomplete session

Has they any relationship? 

---------------------------------------------------------------------- 
 paul - 07-Mar-07 14:51  
---------------------------------------------------------------------- 
please update to 2452

I did quite a few fixes in the handling of message flags that you will
need.

As to this exact bug, I noticed the same. Aaron: I've added some logging;

Short write [0 < 1] where putslen==0 and getslen==1

idk: please check of you see the same. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-Mar-07 10:41 idk            New Issue                                    
07-Mar-07 11:35 idk            Note Added: 0001878                          
07-Mar-07 14:51 paul           Note Added: 0001879                          
======================================================================

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://twister.fastxs.net/mailman/listinfo/dbmail-dev

Reply via email to