Kris, I have no idea what could be going on here. Check your database server is not being shut down, or getting a long lasting write lock on some of the tables involved.
For someone not into the server side, you did make an effort. What is missing is the server logs (/var/log/mail.* most likely). They should contain errors around the time of your downtime. Until you solve this, consider shutting down incoming email during the time window involved: better email getting late, than not arriving intact at all. Beyond that, please don't be offended by me telling you that this list is *not* about providing general server maintenance support in case your admin decides to take a hike. kriswarner wrote: > Hello all, > I've tried to look for the solution to this problem to no avail. I don't > usually deal with the server side of things, so I hope I'll be able to > provide enough details of it so you can help me out. I have dbmail-2.2.x, > squirrelmail client, fedora core 6, postfix. Using dbmail-lmtpd and > dbmail-imapd. Recently, out of the blue, when I went to view a message I > received an "ERROR: Connection dropped by IMAP server" and also another one > about error in fetch query - can't remember exactly what it was. I went > into the server and killed one of the dbmail-lmtpd processes and tried to > restart it. Here's the weird thing - during the day, messages will be sent > and received fine, but then at some point in the evening the only thing that > will go in or out is the (wrong) date. From field says "Unknown", subject > says "(No Subject)" and size is 0.1k. After several hours, the problem > will be fixed, but all the emails sent during this time period (not sure how > long) are missing, except for the date. Here are some of the errors that > are coming up in the dbmail.err file: > > Message no subject field value > *** glibc detected *** /usr/local/sbin/dbmail-imapd: realloc(): invalid next > size: 0x09cf2788 *** > ======= Backtrace: ========= > /lib/libc.so.6[0x1ccfb0] > /lib/libc.so.6(realloc+0xfe)[0x1cee9e] > /lib/libglib-2.0.so.0(g_realloc+0x3b)[0x88573b] > /usr/local/lib/dbmail/libdbmail.so.0(g_mime_object_get_body+0x75)[0x35db3d] > /usr/local/lib/dbmail/libdbmail.so.0(imap_get_logical_part+0xd4)[0x373818] > /usr/local/sbin/dbmail-imapd[0x805288d] > /lib/libglib-2.0.so.0(g_list_foreach+0x21)[0x87bd31] > /usr/local/sbin/dbmail-imapd[0x8054061] > /lib/libglib-2.0.so.0(g_tree_foreach+0x45)[0x89fc35] > /usr/local/sbin/dbmail-imapd(dbmail_imap_session_fetch_get_items+0x26)[0x8052356] > /usr/local/sbin/dbmail-imapd(_ic_fetch+0x13c)[0x804fa1c] > /usr/local/sbin/dbmail-imapd(_ic_uid+0x9b)[0x80511df] > /usr/local/sbin/dbmail-imapd(IMAPClientHandler+0x5d7)[0x804cbe7] > /usr/local/lib/dbmail/libdbmail.so.0(PerformChildTask+0x344)[0x377f2c] > /usr/local/lib/dbmail/libdbmail.so.0(CreateChild+0xc7)[0x378137] > /usr/local/lib/dbmail/libdbmail.so.0(manage_start_children+0x32)[0x37a766] > /usr/local/lib/dbmail/libdbmail.so.0(StartServer+0x7b)[0x376807] > /usr/local/lib/dbmail/libdbmail.so.0(server_run+0x332)[0x377542] > /usr/local/lib/dbmail/libdbmail.so.0(serverparent_mainloop+0x145)[0x3792fd] > /usr/local/sbin/dbmail-imapd(main+0x7c)[0x8051954] > /lib/libc.so.6(__libc_start_main+0xe0)[0x17aec0] > /usr/local/sbin/dbmail-imapd[0x804c2f1] > ======= Memory map: ======== > Message Scoreboard state: children [49/200], spares [49 (2 - 4)] > Message register child [22665] > > I'm also getting a ton of these: > Message incoming connection from [127.0.0.1 (localhost.localhost)] by pid > [26691] > Message user (id:x, name xxxxx) tries login > Message user (id x, name xxxxx) login accepted > Message user (id:x) logging out @ [2008-07-12 23:58:18] > Message Closing connection for client from IP [127.0.0.1] > > Can anyone help me shed some light on this? Could I just simply restart the > daemons? (and if so, how?) > > Thank you very much, > Kris Warner > -- ________________________________________________________________ Paul Stevens paul at nfg.nl NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31 The Netherlands________________________________http://www.nfg.nl _______________________________________________ DBmail mailing list [email protected] https://mailman.fastxs.nl/mailman/listinfo/dbmail
