Date: Fri, 05 Jan 2001 18:23:52 +0100 From: Vincent Bruijnes <bruijnes@xs4all.nl> To: freebsd-questions@freebsd.org Subject: Re: FreeBSD keeps crashing Message-ID: <sm0c5t88aq151srbm91iq9u1e9j7aqfv76@4ax.com> In-Reply-To: <20010105170612.B78892@d9168.upc-d.chello.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
the lsof you gave me, gives me the following output:
office# /usr/local/sbin/lsof | awk '{ print $1 }' | uniq -c | sort -n
1 COMMAND
2 bufdaemon
2 pagedaemo
2 swapper
2 syncer
2 vmdaemon
3 init
6 adjkerntz
7 bash
7 bash
7 bash
7 sh
8 csh
8 sort
8 uniq
10 awk
11 cron
11 cvsup
11 lsof
11 portmap
11 psybnc
12 psybnc
12 psybnc
12 vi
14 BitchX6
14 bash
14 bash
14 sendmail
14 telnetd
14 telnetd
14 telnetd
15 screen-3.
15 screen-3.
15 sshd2
16 sshd
18 inetd
18 psybnc
19 sshd
19 sshd
19 sshd
19 syslogd
25 eggdrop
26 eggdrop
28 eggdrop
28 mysqld
29 eggdrop-1
31 eggdrop-1
33 named
36 httpd
45 eggdrop-1
47 eggdrop-1
48 eggdrop
50 eggdrop-1
54 eggdrop
72 getty
83 eggdrop-1
89 eggdrop-1
95 eggdrop
108 httpd
187 eggdrop
252 httpd
262 eggdrop-1
781 eggdrop-1
I know it's much, and I've put the maxusers to 512 and hope it helps,
is there anything more i can do?
Vincent Bruijnes
On 5 Jan 2001 17:06:31 +0100, mavetju@chello.NL (Edwin Groothuis)
wrote:
>On Fri, Jan 05, 2001 at 02:44:58PM +0000, Bruijnes wrote:
>> Jan 5 06:43:00 office /kernel: file: table is full
>
>See if you can find out which process is eating all the file-handles
>by using lsof:
>
>[~] edwin@kludge>/usr/local/sbin/lsof | awk '{ print $1 }' | uniq -c | sort -n
> 1 COMMAND
> 6 sleep
> 7 sh
> 7 sh
> 8 sort
>[...]
> 53 xmms
> 56 navigator
> 60 ssh
> 523 everybudd
>
>Woops... (this is not my current system but the lsof output of
>something a couple of days ago :-)
>
>Then, seeing what's going wrong with that process (i.e. why is it
>eating so many file-handles)
>
>This could btw be a complete wrong approach since I have no idea
>how many users you have or what your system is doing for normal
>life.
>
>Edwin
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?sm0c5t88aq151srbm91iq9u1e9j7aqfv76>
