I think that for the next time, if that happens and I am still able to
log on, I would like to investigate this a little further. Such as,
what is the process that is holding too many sockets open.
I wrote a shell function that may help me in the future:
TopSocketUsers() {
(
cd /proc
(
for i in [0-9]*; do
echo $(ls $i/fd|wc -l) $i $(cat /proc/$i/cmdline|cut -c 1-70)
done
) | sort -n
)
}
Right now it shows nothing special, with mysqld at 51 file
descriptors.
i