From owner-freebsd-questions@FreeBSD.ORG Sat Aug 30 22:12:25 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75B261065682 for ; Sat, 30 Aug 2008 22:12:25 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from mx1.identry.com (on.identry.com [66.111.0.194]) by mx1.freebsd.org (Postfix) with ESMTP id 0E7518FC14 for ; Sat, 30 Aug 2008 22:12:24 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: (qmail 31662 invoked by uid 89); 30 Aug 2008 22:12:23 -0000 Received: from unknown (HELO ?192.168.1.110?) (jalmberg@75.127.142.66) by mx1.identry.com with ESMTPA; 30 Aug 2008 22:12:23 -0000 Mime-Version: 1.0 (Apple Message framework v752.3) Content-Transfer-Encoding: 7bit Message-Id: <2E311D07-5DC9-43FF-9EEF-C56B620A632B@identry.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-questions@freebsd.org From: John Almberg Date: Sat, 30 Aug 2008 18:12:19 -0400 X-Mailer: Apple Mail (2.752.3) Subject: Why the extra shells? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Aug 2008 22:12:25 -0000 I just noticed something odd... When I type ps, I get the following: [on:~]> ps PID TT STAT TIME COMMAND 30350 p0 Ss 0:00.03 -bash (bash) 30761 p0 R+ 0:00.00 ps 99069 p1 Is+ 0:00.01 /usr/local/bin/bash 79966 p3 Is 0:00.01 /usr/local/bin/bash 27050 p4 Is+ 0:00.01 /usr/local/bin/bash 45342 p5 Is+ 0:00.01 /usr/local/bin/bash 20302 p6 Is 0:00.02 /usr/local/bin/bash 73354 p7 Is+ 0:00.01 /usr/local/bin/bash 94357 p8 Is+ 0:00.14 /usr/local/bin/bash 82034 p9 Is+ 0:00.02 /usr/local/bin/bash 82825 pa Is+ 0:00.02 /usr/local/bin/bash 63521 pb Is+ 0:00.07 /usr/local/bin/bash 75330 pc Is+ 0:00.06 /usr/local/bin/bash 81504 pd Is+ 0:00.01 /usr/local/bin/bash 95482 pe Is+ 0:00.01 /usr/local/bin/bash 21072 pf Is+ 0:00.12 /usr/local/bin/bash 96897 pg Is+ 0:00.07 /usr/local/bin/bash 50522 ph Is+ 0:00.02 /usr/local/bin/bash 98404 pi Is+ 0:00.03 /usr/local/bin/bash I'm wondering why I have all these shells running? Could it be because I close my SSH terminal without exiting, thus leaving bash in some sort of suspended state? This is a pure server box, with Apache, tinydns, and Qmail being the main processes. Can I just kill them off? There is no one logged into this server besides me, and never will be. A 'who' confirms that I am the only one logged in. Any hints, much appreciated. -- John