From owner-freebsd-questions Wed Sep 2 20:47:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA06558 for freebsd-questions-outgoing; Wed, 2 Sep 1998 20:47:25 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from hotmail.com (f295.hotmail.com [207.82.251.186]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id UAA06553 for ; Wed, 2 Sep 1998 20:47:24 -0700 (PDT) (envelope-from tkined@hotmail.com) Received: (qmail 28498 invoked by uid 0); 3 Sep 1998 03:46:21 -0000 Message-ID: <19980903034621.28497.qmail@hotmail.com> Received: from 202.135.160.10 by www.hotmail.com with HTTP; Wed, 02 Sep 1998 20:46:15 PDT X-Originating-IP: [202.135.160.10] From: "HW Wong" To: freebsd-questions@FreeBSD.ORG Subject: Out of Swap Space Content-Type: text/plain Date: Wed, 02 Sep 1998 20:46:15 PDT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I planned to run 1000 processes. I have modified the maxusers to 100 and run the 1000 processes. After finished running 1000, the server hang and error message:"out of swap space" and "out of memory" Any workaround. >Date: Wed, 2 Sep 1998 10:08:56 -0400 (EDT) >From: Bob K >To: freebsd-questions@FreeBSD.ORG >cc: Sean Lerner , Milky Puppy >Subject: Worrisome kernel messages > >I woke up this morning to the following section in the output of the daily >script: > >pi kernel log messages: >> system full >> file: table is full >> file: table is full >[repeat 50 times] > >Looking in /var/log/messages: > >Sep 1 22:18:06 pi syslogd: /dev/console: Too many open files in system: >Too many open files in system >Sep 1 22:18:06 pi syslogd: /var/run/utmp: Too many open files in system >Sep 1 22:18:06 pi syslogd: /var/run/utmp: Too many open files in system >Sep 1 22:18:06 pi /kernel: file: table is full >Sep 1 22:18:06 pi syslogd: /var/run/utmp: Too many open files in system >Sep 1 22:18:06 pi last message repeated 3 times >Sep 1 22:18:06 pi /kernel: file: table is full >[repeat above 3 lines about 20 times] >Sep 1 22:18:06 pi syslogd: /var/run/utmp: Too many open files in system >Sep 1 22:18:06 pi last message repeated 3 times >Sep 1 22:18:06 pi /kernel: file: table is full >Sep 1 22:18:07 pi last message repeated 36 times >Sep 1 22:18:06 pi sendmail[13921]: WAA13918: SYSERR(UID0): queueup: >cannot create queue temp file tfWAA13918, uid=0: Bad file descriptor > >The system is running fine at the moment. I've never seen the message >"file: table is full", and don't really know how I can fix it. Anyone >have any idea as to what I can do about it? This is an old -STABLE >snapshot, no X, acts as a light-usage web/mail/shell server (yip.org & >infiltration.org, for those that care). > >FreeBSD pi.yip.org 2.2-971207-SNAP FreeBSD 2.2-971207-SNAP #0: Mon Mar 23 >15:42:32 EST 1998 melange@pi.yip.org:/usr/src/sys/compile/PI i386 > >(the kernel's had a few security patches applied) > >Filesystem 1K-blocks Used Avail Capacity Mounted on >/dev/wd0a 31775 16356 12877 56% / >/dev/wd0s1f 801639 628076 109432 85% /usr >/dev/wd0s1e 118959 8744 100699 8% /var >procfs 4 4 0 100% /proc > >If people want more info, or if they think I should direct this to >freebsd-stable, just let me know. > >melange@yip.org - "Slightly tacky but completely entertaining" > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message