On 21 Nov 2007, at 9:27, Dale Qualls wrote: > Same problem thing this morning. Sent a message, waited 30 minutes and > it's still sitting in the queue, no SLOG file, message was sitting in > the spool just fine. Restart XMail and the message flies on through. > Is there anything strange with my command line? This is happening on
Yes ! Here is my command line (on both servers): ! ! XMAIL_CMD_LINE="-Pl -Sl -Ql -Qt 10 -Qr 50 -Yl -Fl -Cl -Ll -SX 100" ! ! I've got the Qt set to 10 so after a failure it should retry a send ! in ! !10 minutes, correct? All of the "l" are lower case "L"s. 10 seconds? I have -Qg -Qt 907 -Qi 1 -Qr 9 Default Qt 480 so I guess that's not minutes. > both boxes. Maybe the box is running low on memory? They only have > 256MB of RAM and it looks like most of it is being used up (246MB). I'm > going to double the RAM and see if that makes a difference. I bet XMail > is maybe bogging down because it's getting killed by lack of RAM? Only a home server here, k6-400, NetBSD 3.1, total memory = 127 MB, avail memory = 119 MB. I used to send a batch of 12 emails from a remote account as test of spamassassin and fprot, 6 x connections each to 2 accounts. Occasionally all would slowly get through but mostly system crashed (I think there is a memory problem from NetBSD 2.0 on and still not located/fixed with 4.0). Seemed most likely spamassassin perl script was using all memory but I set a check in both fprot and spamassassin to each limit number of scans to 2. That fixed the problem completely. I'm sure possibly several years back I've had cases of seeing incoming email connections in firewall logs but nothing arriving in mailbox. Going through spool and deleting any that appeared to be spam would fix the problem. It's happened so infrequently that I never tried to work out exact cause. David > > mx3:/ # top > top - 09:03:45 up 5 days, 32 min, 1 user, load average: 0.00, 0.00, 0.00 > Tasks: 52 total, 2 running, 50 sleeping, 0 stopped, 0 zombie > Cpu(s): 0.0%us, 0.0%sy, 0.0%ni, 98.8%id, 0.0%wa, 0.0%hi, 1.2%si, > 0.0%st > Mem: 256724k total, 246544k used, 10180k free, 90496k buffers > Swap: 514040k total, 84k used, 513956k free, 95008k cached > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND > 14314 root 16 0 319m 3748 1584 S 0.3 1.5 0:21.38 XMail > 1 root 16 0 720 284 244 S 0.0 0.1 0:00.58 init > 2 root 34 19 0 0 0 S 0.0 0.0 0:00.04 ksoftirqd/0 > 3 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 events/0 > 4 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 khelper > 5 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kthread > 7 root 10 -5 0 0 0 S 0.0 0.0 0:01.79 kblockd/0 > 8 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 kacpid > 98 root 15 0 0 0 0 S 0.0 0.0 2:30.25 pdflush > 99 root 15 0 0 0 0 S 0.0 0.0 0:02.91 pdflush > 101 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 aio/0 > 100 root 15 0 0 0 0 S 0.0 0.0 0:03.52 kswapd0 > 307 root 11 -5 0 0 0 S 0.0 0.0 0:00.00 cqueue/0 > 308 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kseriod > 348 root 11 -5 0 0 0 S 0.0 0.0 0:00.00 kpsmoused > 720 root 11 -5 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_0 > 809 root 10 -5 0 0 0 S 0.0 0.0 0:00.06 reiserfs/0 > > > Thanks Davide. > > Dale Qualls wrote: > > I had attempted with the file system before, there just wasn't a slog file. > > I followed your directions below but lo and behold the message > > transferred immediately. > > > > MX2:/var/MailRoot/spool # grep -R "[EMAIL PROTECTED]" * > > MX2:/var/MailRoot/spool # cd ../logs > > MX2:/var/MailRoot/logs # grep -R "[EMAIL PROTECTED]" smail-20071120* > > "pmnhg.net" "1195567522962.2820438944.1ca30.MX2" "S99747F" > > "[EMAIL PROTECTED]" "[EMAIL PROTECTED]" "RLYS" > > "10.5.10.3" "2007-11-20 12:09:01" > > "pmnhg.net" "1195590261005.2812046240.2312b.MX2" "S99D74E" > > "[EMAIL PROTECTED]" "[EMAIL PROTECTED]" "RLYS" > > "10.5.10.3" "2007-11-20 15:13:36" > > *"pmnhg.net" "1195597085232.2837445536.48.MX2" "S9A27C9" > > "[EMAIL PROTECTED]" "[EMAIL PROTECTED]" "RLYS" > > "10.5.10.3" "2007-11-20 16:18:05"* > > MX2:/var/MailRoot/logs # > > > > So, I tried it again and it still transferred immediately: > > > > "pmnhg.net" "1195567522962.2820438944.1ca30.MX2" "S99747F" > > "[EMAIL PROTECTED]" "[EMAIL PROTECTED]" "RLYS" > > "10.5.10.3" "2007-11-20 12:09:01" > > "pmnhg.net" "1195590261005.2812046240.2312b.MX2" "S99D74E" > > "[EMAIL PROTECTED]" "[EMAIL PROTECTED]" "RLYS" > > "10.5.10.3" "2007-11-20 15:13:36" > > "pmnhg.net" "1195597085232.2837445536.48.MX2" "S9A27C9" > > "[EMAIL PROTECTED]" "[EMAIL PROTECTED]" "RLYS" > > "10.5.10.3" "2007-11-20 16:18:05" > > *"pmnhg.net" "1195597442419.2795482016.268.MX2" "S9A29F4" > > "[EMAIL PROTECTED]" "[EMAIL PROTECTED]" "RLYS" > > "10.5.10.3" "2007-11-20 16:24:16"* > > MX2:/var/MailRoot/logs # > > > > I'll let it run for a bit and try again. Maybe when the spools get > > loaded up it gets freaky? I really doubt if that is the case as XMail > > runs pretty damned clean and fast. I sometimes have over 30,000 > > messages in the spool files though after a couple of days of running > > (even with clearing the spool with the find command using -delete to > > keep it clean) > > > > I'll test again in the morning and get back to you. > > > > Thanks Davide! > > > > > > Davide Libenzi wrote: > > > >> On Tue, 20 Nov 2007, Dale Qualls wrote: > >> > >> > >> > >>> Strange. I flushed the queue, using Haralds manager, and it shot the > >>> message right through. > >>> > >>> > >> Ok, forget the tools. Let's go to the file system. Stop XMail and clean > >> the spool `find spool/ -type f | xargs rm -f` (if spossible - this will > >> nuke possible queued messages). > >> Then send the message and look at the slog file. Just put a special text > >> mark in your message and: > >> > >> $ find spool/ -type f -exec grep -H TEXT_MARK {} \; > >> > >> You should have an associated slog file (same file name, inside the > >> corresponding slog directory). > >> > >> > >> > >> - Davide > >> > >> > >> - > >> To unsubscribe from this list: send the line "unsubscribe xmail" in > >> the body of a message to [EMAIL PROTECTED] > >> For general help: send the line "help" in the body of a message to > >> [EMAIL PROTECTED] > >> > >> > >> > >> > > > > > > - > > To unsubscribe from this list: send the line "unsubscribe xmail" in > > the body of a message to [EMAIL PROTECTED] > > For general help: send the line "help" in the body of a message to > > [EMAIL PROTECTED] > > > > > > > > > - > To unsubscribe from this list: send the line "unsubscribe xmail" in > the body of a message to [EMAIL PROTECTED] > For general help: send the line "help" in the body of a message to > [EMAIL PROTECTED] > - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]