bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] [wget => Kernel message] Too many open files


From: Giuseppe Scrivano
Subject: Re: [Bug-wget] [wget => Kernel message] Too many open files
Date: Thu, 15 Jul 2010 21:42:35 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Hello Minato,

Minato Namikaze <address@hidden> writes:

> 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)

thanks for your further investigation.  Can you please copy more lines
above these last ones?


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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]