[tech] Re: [wheel] Musel is wierd 'n stuff
Duncan Sargeant
dunc at rcpt.to
Mon May 29 11:04:02 WST 2000
Andrew Bailey wrote on Mon May 29, at 10:32 +0800:
> Hi all,
>
> mussel is not letting me log in
>
> From CS I get
>
> Could not run /usr/bin/X11/xauth -q -
> /bin/bash: Too many open files in system
> Connection to mussel.ucc.gu.uwa.edu.au closed.
I managed to be able to log in, fortuitously, and su'ed to root.
Hmmmm, file-max was 4096, upped to 8128 and added a thefted boot
script to this effect.
Installed lsof, and found that gdm was responsible for more than 2000
open files. Killed 'em all ruthlessly and we went from 6500 open
files down to 2300 in the blink of an eye. I killed a few dead
xsessions, methinks. ooops. oh well.
If anyone cares, lsof capture in /tmp/moffet.before and
/tmp/moffet.after.
awk '{print $1}' < /tmp/moffet.before |perl -e 'while (<>) { chomp;
$foo{$_}++ }; print "$foo{$_} $_\n" foreach (keys %foo);' | sort -n +0
|tail
,dunc
More information about the tech
mailing list