[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] mailx with attachments seems to be locking up?



-----Original Message-----
From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of Greg
To: ale at ale.org
Freemyer
Sent: Monday, April 16, 2007 7:07 PM
To: Atlanta Linux Enthusiasts
Subject: [ale] mailx with attachments seems to be locking up?

All,

I have a nightly backup script that sends me a status update as part
of the process.

Last month I added doing a rsync to a remote server as part of the
script.

I decided to do a "rsync --stats ..." and send the output to a temp
file and e-mail that to me as an attachment with
"mailx Greg.Freemyer at my_corp.com -a /tmp/rsync.details -s
"TruStore1000 rsync details"

I've never used the -a option before, but it seems like at least half
the time mailx is frozen in the morning and I have to kill it.  It
dies easy enough, but why is it locking up?

FYI: Last nights attachment file was only 7K bytes so it should not be
a size issue.

Greg,

	The next time you find it hung, you can attach with strace and
see the system call (I'll assume) it's waiting on.  That may give you a
clue....

Danny