LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 09-18-2003, 03:32 PM   #1
mike0w
LQ Newbie
 
Registered: Aug 2003
Location: Shrewsbury UK
Distribution: RedHat, Familiar, Debian, SuSE
Posts: 6

Rep: Reputation: 0
Procmail / sendmail hogs all memory - system slows to a halt.


System P4 2.4GHz/512M/1 GB swap/ RedHat 9.0 + updates

I ran the command-line version of Seti for the first time last week.
Since then [though it may just be a coincidence] I have noticed that even after disabling and now deleting Seti:

a) Sendmail and Procmail are high up in the 'top' listing, with Procmail taking 450M of memory or more ! Needless to say the system grinds to a halt eventually - windows and icons are slowly painted row-by-row until you can't even log out or switch to another console Ctrl-Alt-F2 to shut down.

b) The directory /var/spool/clientmqueue gradually fills up with files called dxxxxxxxxxxx where x...x is an alphabetic string, each up to 2 GB in size.

c) checking the 'mail' mailbox I find some large messages apparently sent by cron. No user has a cron entry.

If I disable Sendmail from starting as a service at boot time, I don't get this problem - however I can't consider this as a proper fix !

As soon as I restart Sendmail, the decline begins, and I have to reset or power off if it's left too long.

Something has become trashed somewhere, and I'm blaming Seti at the moment !
 
Old 09-18-2003, 03:54 PM   #2
m0rl0ck
Member
 
Registered: Nov 2002
Distribution: A totally 133t distro :)
Posts: 358

Rep: Reputation: 31
Ive used seti on and off for years and never seen or heard of this. There is a remote exploit that effects sendmail that sounds alot like what your describing. What platform and version of sendmail are you running?


See http://www.cert.org/advisories/CA-2003-25.html

Last edited by m0rl0ck; 09-18-2003 at 03:56 PM.
 
Old 09-19-2003, 03:34 AM   #3
mike0w
LQ Newbie
 
Registered: Aug 2003
Location: Shrewsbury UK
Distribution: RedHat, Familiar, Debian, SuSE
Posts: 6

Original Poster
Rep: Reputation: 0
Platform is P4, as above, version is 8.12.8, so I guess I shouldn't rely on RedHat update to keep track of security fixes, since that link states that the fix is in 8.12.10.

Even so, I don't think this is the problem.

More likely that something got screwed up somehow (OK not necessarily Seti - it was just a case of "post hoc ergo propter hoc" so I probably jumped to the wrong conclusion).

I was hoping that someone would recognise the symptoms and say "oh, you've got XXX misconfigured and that's making cron report lots of spurious mail messages to root" - or something similar.

Will run without sendmail for now - or back up and reinstall RH if things get any worse :-(
 
Old 08-16-2005, 07:16 AM   #4
sam_smith2000
LQ Newbie
 
Registered: Aug 2005
Posts: 1

Rep: Reputation: 0
cron job and file in /var/spool/clientmqueue

dont know if you have fixed it but we have had the very same problem

all the inodes on the disk had been used by the creation of all these files in the /var/spool/clientmqueue

the end users have created some cron jobs which when fail are trying to send emails to the root user via the cron service but sendmail is not setup correctly on our server.

to fix the problem (Redhat rel3) we edited the file /etc/crontab and change the enrty MAILTO=root --> MAILTO="". this corrected the problem but prevents all cronjobs from sending email (also set "chkconfig sendmail off" as sendmail is not required on our server")

hope this helps (I know the post is old)

regards

sam
 
Old 08-16-2005, 07:53 AM   #5
mike0w
LQ Newbie
 
Registered: Aug 2003
Location: Shrewsbury UK
Distribution: RedHat, Familiar, Debian, SuSE
Posts: 6

Original Poster
Rep: Reputation: 0
Relevant ?

Found some possible mention of it here: http://www.onlamp.com/pub/a/bsd/2002.../securing.html

Maybe I inadvertantly had the firewall enabled on my desktop PC ?

Anyway, I no longer work at that site now !
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
samba slows down system dramatically johannlo Linux - Networking 1 07-08-2005 02:03 PM
Problem with mail delivery procmail>cyrus imap (using sendmail,procmail,cyrus,imap) bwana Linux - Software 2 03-24-2005 08:01 PM
how to halt a system with private ip from a system in other net work seabark99 Linux - Networking 3 03-20-2005 09:36 AM
Network slows down system davecs Linux - Software 10 07-13-2003 11:39 AM
RedHat 7.3 slows and hangs - after eating all my memory! tmadhavan Linux - Newbie 4 09-22-2002 07:59 PM


All times are GMT -5. The time now is 07:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration