From owner-freebsd-current Thu Oct 10 15:18:20 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 511C737B404; Thu, 10 Oct 2002 15:18:17 -0700 (PDT) Received: from uucp.nl.uu.net (uucp.nl.uu.net [193.79.237.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9305943ED1; Thu, 10 Oct 2002 15:18:16 -0700 (PDT) (envelope-from ben@stuyts.nl) Received: from stuyts by uucp.nl.uu.net with UUCP id ; Thu, 10 Oct 2002 22:18:12 +0000 Received: from lodovik.stuyts.nl (lodovik.stuyts.nl [193.78.231.31]) by stuyts.nl (8.12.6/8.12.6) with ESMTP id g9AMIFIT002920; Fri, 11 Oct 2002 00:18:16 +0200 (CEST) (envelope-from ben@stuyts.nl) Message-Id: <4.3.2.7.2.20021011001133.037672e0@terminus> X-Sender: ben@terminus X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Fri, 11 Oct 2002 00:17:37 +0200 To: Robert Watson From: Ben Stuyts Subject: Re: Again: panic kmem_malloc() Cc: current@freebsd.org In-Reply-To: References: <4.3.2.7.2.20021010213050.03645dd0@terminus> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 23:55 10/10/2002, Robert Watson wrote: >On Thu, 10 Oct 2002, Ben Stuyts wrote: > > > panic: kmem_malloc(4096): kmem_map too small: 28246016 total allocated. >I've run into this on a couple of boxes, but those boxes were diskless >root boxes, and used md backed ffs for /tmp and /var. Apparently if you >do that, you're likely to exceed the kernel's auto-tuned kmem map size. >That said, they didn't do it as frequently, so perhaps there's been a >chance. A glance at the malloc buckets on the machine suggested that this >wasn't a memory leak (the normal candidate in this sort of scenario). There's nothing special going on here. No diskless, no md, not many processes. Here's a process list in case this helps: USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND dnetc 502 98.0 0.8 960 508 ?? RNs 9:27PM 159:14.77 /usr/local/distributed.net/dnetc -quiet root 10 0.0 0.0 0 12 ?? DL 1Jan70 0:00.00 (ktrace) root 1 0.0 0.4 700 220 ?? ILs 1Jan70 0:00.32 /sbin/init -- root 11 0.0 0.0 0 12 ?? RL 1Jan70 1:19.57 (idle) root 12 0.0 0.0 0 12 ?? WL 1Jan70 0:06.32 (swi1: net) root 13 0.0 0.0 0 12 ?? WL 1Jan70 0:48.51 (swi6: tty:sio clock) root 15 0.0 0.0 0 12 ?? DL 1Jan70 0:02.37 (random) root 18 0.0 0.0 0 12 ?? WL 1Jan70 0:05.64 (swi3: cambio) root 23 0.0 0.0 0 12 ?? DL 1Jan70 0:03.42 (usb0) root 24 0.0 0.0 0 12 ?? DL 1Jan70 0:00.00 (usbtask) root 25 0.0 0.0 0 12 ?? WL 1Jan70 0:03.83 (irq12: sym0) root 26 0.0 0.0 0 12 ?? WL 1Jan70 0:02.96 (irq9: xl0) root 27 0.0 0.0 0 12 ?? WL 1Jan70 0:00.00 (irq1: atkbd0) root 28 0.0 0.0 0 12 ?? WL 1Jan70 0:00.00 (irq6: fdc0) root 30 0.0 0.0 0 12 ?? WL 1Jan70 0:00.02 (swi0: tty:sio) root 2 0.0 0.0 0 12 ?? DL 1Jan70 0:01.28 (pagedaemon) root 3 0.0 0.0 0 12 ?? DL 1Jan70 0:00.00 (vmdaemon) root 4 0.0 0.0 0 12 ?? RL 1Jan70 0:00.95 (pagezero) root 5 0.0 0.0 0 12 ?? DL 1Jan70 0:00.32 (bufdaemon) root 6 0.0 0.0 0 12 ?? DL 1Jan70 0:06.65 (syncer) root 7 0.0 0.0 0 12 ?? DL 1Jan70 0:00.00 (vnlru) root 123 0.0 0.1 220 76 ?? Is 11:27PM 0:00.00 adjkerntz -i root 194 0.0 0.3 628 180 ?? Is 9:27PM 0:01.16 /sbin/natd -dynamic -log -n tun0 root 241 0.0 1.1 1180 688 ?? Ss 9:27PM 0:01.09 /usr/sbin/syslogd -s -v root 255 0.0 3.0 2536 1788 ?? Ss 9:27PM 0:04.59 /usr/sbin/named -d 1 root 263 0.0 1.3 1332 768 ?? Is 9:27PM 0:00.06 /usr/sbin/rpcbind root 340 0.0 1.1 1204 684 ?? Is 9:27PM 0:00.03 /usr/sbin/mountd -r root 342 0.0 1.2 1164 704 ?? Is 9:27PM 0:00.30 nfsd: master (nfsd) root 343 0.0 1.0 1116 620 ?? I 9:27PM 0:00.00 nfsd: server (nfsd) root 344 0.0 1.0 1116 620 ?? I 9:27PM 0:00.00 nfsd: server (nfsd) root 345 0.0 1.0 1116 620 ?? I 9:27PM 0:00.00 nfsd: server (nfsd) root 346 0.0 1.0 1116 620 ?? I 9:27PM 0:00.00 nfsd: server (nfsd) root 376 0.0 1.1 1188 664 ?? Is 9:27PM 0:00.05 /usr/sbin/lpd root 395 0.0 1.5 1552 920 ?? Ss 9:27PM 0:02.51 /usr/sbin/ntpd -p /var/run/ntpd.pid root 401 0.0 1.6 1616 972 ?? I 9:27PM 0:00.17 /usr/sbin/ntpd -p /var/run/ntpd.pid root 417 0.0 0.9 1132 552 ?? Is 9:27PM 0:00.09 /usr/sbin/usbd root 436 0.0 2.7 3036 1624 ?? Ss 9:27PM 0:02.26 sendmail: accepting connections (sendmail) smmsp 439 0.0 2.5 3012 1480 ?? Is 9:27PM 0:00.06 sendmail: Queue runner@00:30:00 for /var/spool/clientmqueue (sendmail) root 466 0.0 2.7 2332 1652 ?? Ss 9:27PM 0:02.34 /usr/local/sbin/httpd www 484 0.0 2.8 2356 1676 ?? I 9:27PM 0:00.01 /usr/local/sbin/httpd www 485 0.0 2.8 2356 1676 ?? I 9:27PM 0:00.01 /usr/local/sbin/httpd www 486 0.0 2.8 2356 1676 ?? I 9:27PM 0:00.01 /usr/local/sbin/httpd www 487 0.0 2.8 2356 1676 ?? I 9:27PM 0:00.01 /usr/local/sbin/httpd www 488 0.0 2.8 2356 1676 ?? I 9:27PM 0:00.01 /usr/local/sbin/httpd root 489 0.0 2.0 1960 1228 ?? Is 9:27PM 0:00.11 /usr/local/sbin/dhcpd news 494 0.0 1.1 1372 688 con- I 9:27PM 0:00.03 nntpd: accepting connections: loadav -1 (nntpd) root 500 0.0 1.9 2672 1168 ?? Is 9:27PM 0:00.01 /usr/local/sbin/smbd -D root 503 0.0 2.0 2232 1224 ?? Ss 9:27PM 0:01.70 /usr/local/sbin/nmbd -D root 507 0.0 2.0 2248 1196 ?? I 9:27PM 0:00.02 /usr/local/sbin/nmbd -D root 509 0.0 1.3 2452 804 ?? Is 9:27PM 0:00.02 /usr/X11R6/bin/xdm root 522 0.0 1.3 1324 768 ?? Is 9:27PM 0:00.18 /usr/sbin/inetd -wW root 533 0.0 1.2 1232 732 ?? Ss 9:27PM 0:00.64 /usr/sbin/cron root 541 0.0 1.1 1180 672 v0 Is+ 9:27PM 0:00.03 /usr/libexec/getty Pc ttyv0 root 542 0.0 1.1 1180 672 v1 Is+ 9:27PM 0:00.03 /usr/libexec/getty Pc ttyv1 root 543 0.0 1.1 1180 672 v2 Is+ 9:27PM 0:00.03 /usr/libexec/getty Pc ttyv2 root 544 0.0 1.1 1180 672 v3 Is+ 9:27PM 0:00.03 /usr/libexec/getty Pc ttyv3 root 545 0.0 1.1 1180 672 v4 Is+ 9:27PM 0:00.03 /usr/libexec/getty Pc ttyv4 root 546 0.0 1.1 1180 672 v5 Is+ 9:27PM 0:00.03 /usr/libexec/getty Pc ttyv5 root 547 0.0 1.1 1180 672 v6 Is+ 9:27PM 0:00.03 /usr/libexec/getty Pc ttyv6 root 548 0.0 1.1 1180 672 v7 Is+ 9:27PM 0:00.03 /usr/libexec/getty Pc ttyv7 root 596 0.0 3.0 3904 1840 ?? I 9:30PM 0:18.34 /usr/local/sbin/smbd -D root 677 0.0 2.2 2488 1300 ?? Ss 9:33PM 0:00.66 telnetd root 681 0.0 1.7 1552 1008 p0 Is 9:33PM 0:00.18 login -h lodovik -p ben 725 0.0 1.8 1524 1092 p0 S 9:33PM 0:00.45 -tcsh (tcsh) root 913 0.0 2.3 2488 1372 ?? Is 9:35PM 0:01.99 telnetd root 914 0.0 1.7 1552 1008 p1 Is 9:35PM 0:00.16 login -h lodovik -p ben 917 0.0 1.8 1524 1068 p1 I 9:35PM 0:00.38 -tcsh (tcsh) ben 2677 0.0 1.1 1184 688 p1 S+ 12:06AM 0:00.21 uulog -F root 2887 0.0 1.6 1368 940 ?? I 12:11AM 0:00.32 /usr/local/sbin/vgetty cuaa0 root 0 0.0 0.0 0 12 ?? DLs 1Jan70 0:00.05 (swapper) ben 2896 0.0 0.7 668 444 p0 R+ 12:14AM 0:00.01 ps -aguxw The box is mostly quiet (except for dnetc). Ben To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message