From owner-freebsd-current@FreeBSD.ORG Thu Apr 19 18:32:23 2007 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BECA716A400; Thu, 19 Apr 2007 18:32:23 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id AC05313C45E; Thu, 19 Apr 2007 18:32:23 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id D30D61A4D80; Thu, 19 Apr 2007 11:32:40 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 0577151428; Thu, 19 Apr 2007 14:32:22 -0400 (EDT) Date: Thu, 19 Apr 2007 14:32:22 -0400 From: Kris Kennaway To: alc@FreeBSD.org Message-ID: <20070419183222.GA80973@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wac7ysb48OaltWcw" Content-Disposition: inline User-Agent: Mutt/1.4.2.2i Cc: current@FreeBSD.org Subject: "Out of swap" process killer endless loop X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Apr 2007 18:32:23 -0000 --wac7ysb48OaltWcw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline One of my machines ran out of swap and tried to kill off a process. Unfortunately the process it picked was swapped out and seems to be unkillable: swap_pager_getswapspace(16): failed pid 55455 (mtree), uid 0, was killed: out of swap space pid 55455 (mtree), uid 0, was killed: out of swap space pid 55455 (mtree), uid 0, was killed: out of swap space pid 55455 (mtree), uid 0, was killed: out of swap space pid 55455 (mtree), uid 0, was killed: out of swap space pid 55455 (mtree), uid 0, was killed: out of swap space KDB: enter: Break sequence on console [thread pid 16 tid 100008 ] Stopped at kdb_enter+0x31: leave db> wh 55455 Tracing pid 55455 tid 100190 td 0xffffff0089aea000 sched_switch() at sched_switch+0x130 mi_switch() at mi_switch+0x28e sleepq_switch() at sleepq_switch+0x106 sleepq_wait() at sleepq_wait+0x67 _sleep() at _sleep+0x2db vm_waitpfault() at vm_waitpfault+0x65 vm_fault() at vm_fault+0x148 trap_pfault() at trap_pfault+0x130 trap() at trap+0x287 calltrap() at calltrap+0x8 --- trap 0xc, rip = 0x80076a3cc, rsp = 0x7fffffff65d8, rbp = 0x780 --- 55455 1 22461 0 SLJ pfault 0xffffffff805fba98 mtree Actually they are all swapped out (I guess the rest of swap is in use by a swap-backed md, although I don't know how it managed to fill up). Is there anything that can be done in this situation? kris --wac7ysb48OaltWcw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGJ7W2Wry0BWjoQKURArCmAJ9EXqZQweiI7Gpg827cmOozWXaqJwCeLjOT 86BXis/NQ+k6Q6jJFfBAeQA= =672l -----END PGP SIGNATURE----- --wac7ysb48OaltWcw--