[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Bug-wget] [wget => Kernel message] Too many open files
From: |
Minato Namikaze |
Subject: |
RE: [Bug-wget] [wget => Kernel message] Too many open files |
Date: |
Fri, 16 Jul 2010 09:32:30 +0200 |
Hi again!
> thanks for your further investigation. Can you please copy more lines
> above these last ones?
socket(PF_NETLINK, SOCK_RAW, 0) = -1 EMFILE (Too many open files)
open("/etc/hosts", O_RDONLY|O_CLOEXEC) = -1 EMFILE (Too many open files)
socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = -1 EMFILE (Too many
open files)
socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = -1 EMFILE (Too many
open files)
...
Sorry but this is all I get when the error comes. A big million of times these
4 lines...
do you mean the lines when wget is checking if the files were already
downloaded ?
> By the way, this command can help you to find the biggest file
> descriptor (it is the first solution that came in my mind).
> I get 4 open file descriptors.
>
> strace -e open,socket wget -q -nc -r -l inf --no-remove-listing \
> http://www.website.com 2>&1 | awk '/^.+[0-9]+$/ \
> { if ($NF > max) max = $NF } END {print max}'
>
> Cheers,
> Giuseppe
I ran the following command :
strace -e open,socket wget -q -nc -r -l inf --no-remove-listing
http://www.website.com 2>&1 \
| awk '/^.+[0-9]+$/ { if ($NF > max) { max = $NF; print max } } END {print max}'
because I like to see what's happening... Right now I've got only 3 FD, I'll
know the real max in a few hours...
I'd like to send the mail now, but there is absolutely no new information in it
so I will wait for the result...
hmm :/ nearly no more free RAM... I'll exit X for a while...
Hi! This morning, when I woke up (yes I'm in france...), the max displayed was
78.
But this time it's not the strace that failed, but the other wget... (so I'm
happy I ran my version otherwise I wouldn't have known the max).
Minato
_________________________________________________________________
Découvrez Microsoft Security Essentials, l'antivirus gratuit par Microsoft
http://clk.atdmt.com/FRM/go/212688364/direct/01/