LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices



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

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


HI,


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?

thanx,
 
Old 09-26-2003, 04:22 PM   #2
LarryDoliver
Member
 
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
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Killing running processes hitest Suse/Novell 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 11:02 AM.

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