Subject: bin/35581: amd(8) ran out of memory
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: Matthias Scheler <tron@zhadum.org.uk>
List: netbsd-bugs
Date: 02/10/2007 10:30:00
>Number:         35581
>Category:       bin
>Synopsis:       amd(8) ran out of memory
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 10 10:30:00 +0000 2007
>Originator:     Matthias Scheler
>Release:        NetBSD 3.1
>Organization:
Matthias Scheler                                  http://zhadum.org.uk/
>Environment:
System: NetBSD colwyn.zhadum.org.uk 3.1 NetBSD 3.1 (COLWYN) #0: Sat Oct 28 19:44:15 BST 2006 tron@colwyn.zhadum.org.uk:/export/scratch/tron/build.20336a/sys/compile/COLWYN i386
Architecture: i386
Machine: i386
>Description:
I couldn't log in via SSH into my server this morning. When I had a look
at the console I found these error messages:

Feb 10 05:01:45 colwyn amd[465]: Retrying memory allocation
Feb 10 05:01:47 colwyn last message repeated 2 times
Feb 10 05:01:48 colwyn amd[465]: Out of memory
Feb 10 05:01:51 colwyn /netbsd: uid 0, pid 465, command amd, on /: file system full

I logged in as "root" on the console and tried to restart "amd". The system
became unresponsible afterwards.

BTW: the message about "/" being full is bogus. My root filesystem isn't full.

>How-To-Repeat:
Configure amd(8) on a NetBSD 3.1 system, use it heavily and wait a few
days (or weeks).

>Fix:
None provided.