Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 09-26-2003, 03:47 PM   #1
Registered: Sep 2003
Location: Central Coast, California
Posts: 179

Rep: Reputation: 30
killing a lot of processes at once


I have about 20 idle imap sessions going on at once. They look like this.

#> ps aufx

root 16127 27.4 0.3 3204 1184 ? R 10:06 43:28 imapd

How can I kill all of them? how can I kill X number of them?

Old 09-26-2003, 04:22 PM   #2
Registered: Mar 2003
Posts: 126

Rep: Reputation: 17
using killall imapd will kill every imapd process - but I think the issue will reoccur. Do you have your mail server setup to maintain 10 or so idle processes to handle incoming requests quickly? If so, killing these won't help, because starting up imapd again will respawn all these child processes.

Also netstat | grep imap will show you how many connections are open. You might not want to kill processes that are active, your users will not like that too much


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Killing running processes hitest SUSE / openSUSE 4 09-03-2005 03:22 PM
Killing processes hongman Linux - Newbie 3 02-28-2005 06:27 PM
Killing processes on Port 80 matux Linux - General 3 02-16-2005 10:15 PM
killing processes adriaanbw Linux - Software 3 05-24-2003 11:46 PM
Vm: Killing Processes tbhebe Linux - General 3 03-07-2002 10:51 AM

All times are GMT -5. The time now is 08:02 PM.

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