A NOTE has been added to this issue. 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=561 
====================================================================== 
Reported By:                LordVan
Assigned To:                
====================================================================== 
Project:                    DBMail
Issue ID:                   561
Category:                   IMAP daemon
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
target:                      
====================================================================== 
Date Submitted:             04-Apr-07 14:17 CEST
Last Modified:              05-Apr-07 14:16 CEST
====================================================================== 
Summary:                    dbmail-imap has lock error described in bug 0000525,
and blocks delivery of new messages until stopped
Description: 
dbmail-imap has lock error described in bug 0000525, and blocks delivery of
new messages until stopped.

seems like because of that /tmp / lock problem it keeps a lock on the db
or something.

when i stop or restart it it delivers the messages in the queue
immediately and when i start it again it works.

====================================================================== 

---------------------------------------------------------------------- 
 LordVan - 04-Apr-07 16:32  
---------------------------------------------------------------------- 
the patch i uploaded (which i got from svn according to someones
suggestion)
seems to help a bit (still no emails are delivered while my imap
connection is open.
though it seemed some of them got delivered when i logged out.
still getting those errors:
** (process:9291): CRITICAL **: dbmail_imap_session_get_msginfo: assertion
`ids && g_tree_nnodes(ids)>0' failed
WARNING:  there is already a transaction in progress
WARNING:  there is already a transaction in progress
WARNING:  there is already a transaction in progress
WARNING:  there is already a transaction in progress
WARNING:  there is already a transaction in progress
WARNING:  there is already a transaction in progress
WARNING:  there is already a transaction in progress
WARNING:  there is already a transaction in progress
WARNING:  there is already a transaction in progress
WARNING:  there is already a transaction in progress
WARNING:  there is already a transaction in progress
Error Error setting lock. Trying again.
Error Error setting lock. Trying again.

** (process:9298): CRITICAL **: dbmail_imap_session_get_msginfo: assertion
`ids && g_tree_nnodes(ids)>0' failed


any help would be greatly appreciated (imap server timeouts less but still
there .. :( ) 

---------------------------------------------------------------------- 
 aaron - 04-Apr-07 18:17  
---------------------------------------------------------------------- 
Bug http://www.dbmail.org/mantis/view.php?id=525 actually had two bugs in one.
We resolved the short writes error,
and thought we'd gotten the locks. The patch you have is for additional
short write errors, but still doesn't deal with the locks.

You're actually seeing a problem in pool.c, set_lock. What filesystem type
is your /tmp? 

---------------------------------------------------------------------- 
 aaron - 04-Apr-07 18:30  
---------------------------------------------------------------------- 
Some Googleage shows that this "WARNING: there is already a transaction in
progress" comes from PostgreSQL. Do you have any corresponding PG log
files that could help narrow down the source of the transaction errors? 

---------------------------------------------------------------------- 
 LordVan - 05-Apr-07 14:16  
---------------------------------------------------------------------- 
attached logs when postgres was on debug5 logging level .. don't see
anything but maybe u can find sth out from it :) 

also, i just noticed something in my syslog:

<FF>)<D0><C1><F8>^B<89>E<F0>t01<FF><89><U+058D><B6>
Apr  5 11:06:43 lordvan dbmail/smtp[1577]: Warning 500  Permanent Failure
<9C>=^R <8D><83><D8><FE><FF><FF><8D><93><D8><FE><FF>
<FF>)<D0><C1><F8>^B<89>E<F0>t01<FF><89><U+058D><B6>
Apr  5 11:07:12 lordvan dbmail/smtp[1581]: Warning 500  Permanent Failure
<9C>=^R <8D><83><D8><FE><FF><FF><8D><93><D8><FE><FF>
<FF>)<D0><C1><F8>^B<89>E<F0>t01<FF><89><U+058D><B6>
Apr  5 11:07:37 lordvan spamd[24660]: spamd: connection from localhost
[127.0.0.1] at port 57231
Apr  5 11:07:37 lordvan spamd[24660]: spamd: setuid to qscand succeeded
Apr  5 11:07:37 lordvan spamd[24660]: spamd: checking message
<[EMAIL PROTECTED]> for qscand
:210
Apr  5 11:07:37 lordvan spamd[24660]: spamd: clean message (4.2/5.0) for
qscand:210 in 0.5 seconds, 23114 bytes.
Apr  5 11:07:37 lordvan spamd[24660]: spamd: result: . 4 -
ADVANCE_FEE_1,ADVANCE_FEE_2,ADVANCE_FEE_3,HTML_FONT_BIG,HTML_MESSAG
E,HTML_TAG_EXIST_TBODY,MAILTO_TO_SPAM_ADDR,MSGID_FROM_MTA_HEADER,SUBJ_ALL_CAPS,UNPARSEABLE_RELAY
scantime=0.5,size=23114,user=
qscand,uid=210,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=57231,mid=<[EMAIL
 PROTECTED]
mail.com>,autolearn=no
Apr  5 11:07:37 lordvan spamd[11585]: prefork: child states: II
Apr  5 11:07:37 lordvan dbmail/smtp[1597]: Message message id=6595,
size=23690 is inserted
Apr  5 11:08:40 lordvan dbmail/smtp[1610]: Warning 500  Permanent Failure
<9C>=^R <8D><83><D8><FE><FF><FF><8D><93><D8><FE><FF> 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-Apr-07 14:17 LordVan        New Issue                                    
04-Apr-07 16:31 LordVan        File Added: dbmail-2.2.4-r1.patch                
   
04-Apr-07 16:32 LordVan        Note Added: 0002003                          
04-Apr-07 18:17 aaron          Note Added: 0002004                          
04-Apr-07 18:30 aaron          Note Added: 0002005                          
05-Apr-07 14:16 LordVan        File Added: dbmail_and_postgres_log 2007-04-05
1300 passwords replaced.tar.bz2                    
05-Apr-07 14:16 LordVan        Note Added: 0002012                          
======================================================================

_______________________________________________
Dbmail-dev mailing list
[email protected]
http://twister.fastxs.net/mailman/listinfo/dbmail-dev

Reply via email to