From owner-freebsd-questions@FreeBSD.ORG Tue Nov 25 17:16:53 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 7C2E91065670 for ; Tue, 25 Nov 2008 17:16:53 +0000 (UTC) (envelope-from sdavenpo@mc.utmck.edu) Received: from mc.utmck.edu (chewy2.mc.utmck.edu [165.6.132.11]) by mx1.freebsd.org (Postfix) with ESMTP id 195DD8FC08 for ; Tue, 25 Nov 2008 17:16:52 +0000 (UTC) (envelope-from sdavenpo@mc.utmck.edu) Received: from ([165.6.132.48]) by chewy2.mc.utmck.edu with ESMTP id 5202251.57487797; Tue, 25 Nov 2008 12:01:30 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Tue, 25 Nov 2008 12:01:26 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: SNMPD Consuming Swap Space Thread-Index: AclPH3Q/wCRZREU3SemU4hjKXjnR4Q== From: "Davenport, Steve M" To: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: SNMPD Consuming 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, 25 Nov 2008 17:16:53 -0000 Hello, =20 I am running snmpd 5.4.1.2 built from a port on 7-Release, hardware is Sun V100, 512Mb total memory, 381Mb free. The daemon starts fine. When a snmpwalk is done from another system all is well until the interface table and then I see: =20 interfaces.ifTable.ifEntry.ifSpeed.1 : Gauge32: 10000000 interfaces.ifTable.ifEntry.ifSpeed.2 : Gauge32: 0 interfaces.ifTable.ifEntry.ifSpeed.3 : Gauge32: 0 snmpwalk: No response arrived before timeout. After the timeout happens, looking at "swapinfo -k" shows that swap space is continually consumed until empty at which point the snmpd daemon is stopped: =20 fbsdh# swap_pager: out of swap space swap_pager_getswapspace(16): failed Nov 25 11:44:08 fbsdh kernel: pid 84674 (snmpd), uid 0, was killed: out of swap space =20 Now the swap space is freeded: fbsdh# swapinfo -k Device 1K-blocks Used Avail Capacity /dev/ad0b 2099160 26456 2072704 1% =20 Has anyone seen this issue or know of a solution.=20 =20 Thanks for your assistance, Steve =20