From owner-freebsd-questions@FreeBSD.ORG Tue Jun 6 12:51:27 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3BB4716A5A1 for ; Tue, 6 Jun 2006 12:51:27 +0000 (UTC) (envelope-from bob.middaugh@comcast.net) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [216.148.227.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34FD043D5D for ; Tue, 6 Jun 2006 12:51:22 +0000 (GMT) (envelope-from bob.middaugh@comcast.net) Received: from rmailcenter79.comcast.net ([204.127.197.179]) by comcast.net (rwcrmhc13) with SMTP id <20060606125122m1300jihk1e>; Tue, 6 Jun 2006 12:51:22 +0000 Received: from [199.20.118.39] by rmailcenter79.comcast.net; Tue, 06 Jun 2006 12:51:21 +0000 From: bob.middaugh@comcast.net To: pauls@utdallas.edu, questions@FreeBSD.org Date: Tue, 06 Jun 2006 12:51:21 +0000 Message-Id: <060620061251.3465.44857A490003444500000D89220076106408099A0E0B0B0703D20D010D@comcast.net> X-Mailer: AT&T Message Center Version 1 (Apr 11 2006) X-Authenticated-Sender: Ym9iLm1pZGRhdWdoQGNvbWNhc3QubmV0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="NextPart_Webmail_9m3u9jl4l_3465_1149598281_0" Cc: Subject: Re: Running out of swap space???? 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: Tue, 06 Jun 2006 12:51:28 -0000 --NextPart_Webmail_9m3u9jl4l_3465_1149598281_0 Content-Type: text/plain Content-Transfer-Encoding: 8bit > -------------- Original message ---------------------- >From: pauls@utdallas.edu >+pid 37308 (mysqld), uid 88, was killed: out of swap space >+swap_pager: out of swap space >+swap_pager_getswapspace(1): failed If you kill mysql server, does the swap space free up? Are there any known issues between the version of MySQL that you're running and FreeBSD 6.0? Just some thoughts, Bob --NextPart_Webmail_9m3u9jl4l_3465_1149598281_0 Content-Type: message/rfc822 From: pauls@utdallas.edu To: questions@FreeBSD.org Cc: Subject: Running out of swap space???? Date: Tue, 6 Jun 2006 04:46:31 +0000 Content-Type: Multipart/mixed; boundary="NextPart_Webmail_9m3u9jl4l_3465_1149598281_1" --NextPart_Webmail_9m3u9jl4l_3465_1149598281_1 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I've got a server that is running out of swap space: +pid 37308 (mysqld), uid 88, was killed: out of swap space +swap_pager: out of swap space +swap_pager_getswapspace(1): failed The strange this is, this server has a 6GB swap partition! swapinfo -h Device 1K-blocks Used Avail Capacity /dev/da0s1b 6291456 2.6G 6.0G 43% This isn't exactly a resource-starved machine either: CPU: AMD Opteron(tm) Processor 244 (1793.88-MHz K8-class CPU) Origin =3D "AuthenticAMD" Id =3D 0xf5a Stepping =3D 10 =20 Features=3D0x78bfbff AMD Features=3D0xe0500800 real memory =3D 2146893824 (2047 MB) avail memory =3D 2065797120 (1970 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 FreeBSD hostname.utdallas.edu 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Mar=20 30 19:25:18 CST 2006=20 root@hostname.utdallas.edu:/usr/obj/usr/src/sys/SMPKERNEL amd64 last pid: 52327; load averages: 0.45, 0.46, 0.45=20 up 11+03:42:04 03:32:15 63 processes: 1 running, 62 sleeping CPU states: 5.3% user, 0.0% nice, 0.8% system, 3.9% interrupt, 90.1%=20 idle Mem: 1410M Active, 126M Inact, 190M Wired, 82M Cache, 214M Buf, 78M Free Swap: 6144M Total, 2687M Used, 3457M Free, 43% Inuse Any suggestions are welcome - what could cause this? How to troubleshoot?=20 Possible solutions/workarounds? Paul Schmehl (pauls@utdallas.edu) Adjunct Information Security Officer The University of Texas at Dallas http://www.utdallas.edu/ir/security/ --NextPart_Webmail_9m3u9jl4l_3465_1149598281_1-- --NextPart_Webmail_9m3u9jl4l_3465_1149598281_0--