MLDonkey Forum Index
Homepage •  Bugs •  Tasks •  Patches •  SF.net Project Page •  ChangeLog •  German forum •  Links •  Wiki •  Downloads
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
unexpected exn socket failed: Too many open files

 
Post new topic   Reply to topic    MLDonkey Forum Index -> Problems with MLDonkey Client (in general, and ed2k, kad, overnet)
View previous topic :: View next topic  
Author Message
ediaz
neophyte


Joined: 16 Dec 2002
Posts: 42
Location: Spain

PostPosted: Tue Jul 23, 2013 2:28 pm    Post subject: unexpected exn socket failed: Too many open files Reply with quote

Hi to every body. I am using the last version of mldoney in Debian 7.0

I upgrade my debian and my mldonkey runs perfect but after the upgrade my debian stops with this messages.

Code:
2013/07/17 21:22:53 [bS] close failed: Bad file descriptor : unexpected exn exec can_read
2013/07/17 21:23:44 [HTTPsv] 151.95.18.157:61532 blocked: Unknown
2013/07/17 21:23:44 [HTTPsv] 151.95.18.157:61532 blocked: Unknown
2013/07/17 21:23:44 [HTTPsv] connection from 151.95.18.157 rejected (IP is blocked)
2013/07/17 21:23:44 [bS] close failed: Bad file descriptor : unexpected exn exec can_read
2013/07/17 21:26:53 Exception (socket failed: Too many open files) before connect to host 91.217.91.21:3218
2013/07/17 21:26:53 [Ip] async_ip : unexpected exn socket failed: Too many open files
2013/07/17 21:26:53 Exception (socket failed: Too many open files) before connect to host 91.217.91.21:3218
2013/07/17 21:26:53 [Ip] async_ip : unexpected exn socket failed: Too many open files
2013/07/17 21:26:53 Exception (socket failed: Too many open files) before connect to host 91.217.91.21:3218
2013/07/17 21:26:53 [Ip] async_ip : unexpected exn socket failed: Too many open files
2013/07/17 21:26:53 Exception (socket failed: Too many open files) before connect to host 91.217.91.21:3218
2013/07/17 21:26:53 [Ip] async_ip : unexpected exn socket failed: Too many open files
2013/07/17 21:26:53 Exception (socket failed: Too many open files) before connect to host 91.217.91.21:3218
2013/07/17 21:26:53 [Ip] async_ip : unexpected exn socket failed: Too many open files


I am thinking thats is a new feature of Debian 7.0 but I don't know why.. because I put my ulimint in 20000

Code:
Buildinfo   
Version:    MLNet Multi-Network p2p client version 3.1.3
Networks:    Global Shares Direct Connect Fasttrack FileTP BitTorrent Donkey (SUI)
OCaml version:    3.12.1 - C compiler version: 4.4.5 - C++ compiler version: 4.4.5
Built on:    Linux i686 2.6.32-5-686 (little endian) with glibc 2.11.3
Configure args:    '--enable-option-checking=fatal' '--enable-checks' '--host=i386-pc-linux-gnu' 'host_alias=i386-pc-linux-gnu'
Features:    threads zlib-1.2.3.4 bzip2-1.0.5 gd(jpg/png-1.2.44) iconv(active) magic(active) no-upnp no-natpmp check-bounds

Runinfo   
MLDonkey user:    ediaz (PW Protected) - uptime: 4m 24s - running as pk25:mldonkey
Enabled nets:    Donkey Kademlia BitTorrent FileTP
Server usage:    enabled
Geoip:    enabled, GeoLite data created by MaxMind, available from http://maxmind.com/
IP blocking:    local: 0 ranges - web: 209846 ranges
Libmagic:    file-type recognition database present
System info:    Linux servidor1 3.2.0-0.bpo.2-686-pae #1 SMP Sat Jun 30 08:29:17 UTC 2012 i686
   language: EN - locale: UTF-8 - UTC offset: +0200
   max_string_length: 16777211 - word_size: 32 - max_array_length: 4194303 - max_int: 1073741823
   max file descriptors: 20024 - max useable file size: 2^63-1 bits (do the maths ;-p)

Network   Port   Type
BitTorrent   5543   client_port TCP
BitTorrent   6881   tracker_port TCP
BitTorrent   21785   dht_port UDP
Core   4080   http_port
Core   4000   telnet_port
Core   4001   gui_port
Donkey   5541   client_port TCP
Donkey   5545   client_port UDP
Donkey   7387   kademlia_port UDP

Directory   Type   used   free   % free   FS
/datos/mldonkey/.mldonkey   core/ini files    332.75G   70.12G    17%   reiserfs
/datos/mldonkey/temp   temp/downloading    332.75G   70.12G    17%   reiserfs
/datos/mldonkey/incoming/directories   shared (incoming_directories)    332.75G   70.12G    17%   reiserfs
/datos/mldonkey/incoming/files   shared (incoming_files)    332.75G   70.12G    17%   reiserfs
shared   shared (all_files)    332.75G   70.12G    17%   reiserfs
/datos/mldonkey/prioritario   shared (only_directory)    332.75G   70.12G    17%   reiserfs
mlnet_tmp   $MLDONKEY_TEMP    332.75G   70.12G    17%   reiserfs



Any opinion is wellcome Smile


Last edited by ediaz on Thu Jul 25, 2013 2:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
ygrek
professional


Joined: 20 Mar 2010
Posts: 582

PostPosted: Tue Jul 23, 2013 3:33 pm    Post subject: Reply with quote

Show the output of
Code:
lsof -bnP -p $(pgrep mlnet)
when it fails with this error.
_________________
Download | Report bugs | git mirror
Back to top
View user's profile Send private message Visit poster's website
ediaz
neophyte


Joined: 16 Dec 2002
Posts: 42
Location: Spain

PostPosted: Thu Jul 25, 2013 2:24 pm    Post subject: Reply with quote

After of one day running, normaly takes one day or two to go down.

Code:

pk25.com:~# lsof -bnP -p $(pgrep mlnet)
lsof: avoiding readlink(/): -b was specified.
lsof: avoiding stat(/): -b was specified.
lsof: WARNING: can't stat() rootfs file system /
      Output information may be incomplete.
lsof: avoiding readlink(/sys): -b was specified.
lsof: avoiding stat(/sys): -b was specified.
lsof: WARNING: can't stat() sysfs file system /sys
      Output information may be incomplete.
lsof: avoiding readlink(/proc): -b was specified.
lsof: avoiding stat(/proc): -b was specified.
lsof: WARNING: can't stat() proc file system /proc
      Output information may be incomplete.
lsof: avoiding readlink(/dev): -b was specified.
lsof: avoiding stat(/dev): -b was specified.
lsof: WARNING: can't stat() devtmpfs file system /dev
      Output information may be incomplete.
lsof: avoiding readlink(/dev/pts): -b was specified.
lsof: avoiding stat(/dev/pts): -b was specified.
lsof: WARNING: can't stat() devpts file system /dev/pts
      Output information may be incomplete.
lsof: avoiding readlink(/run): -b was specified.
lsof: avoiding stat(/run): -b was specified.
lsof: WARNING: can't stat() tmpfs file system /run
      Output information may be incomplete.
lsof: avoiding readlink(/): -b was specified.
lsof: avoiding stat(/): -b was specified.
lsof: WARNING: can't stat() xfs file system /
      Output information may be incomplete.
lsof: avoiding readlink(/run/lock): -b was specified.
lsof: avoiding stat(/run/lock): -b was specified.
lsof: WARNING: can't stat() tmpfs file system /run/lock
      Output information may be incomplete.
lsof: avoiding readlink(/run/shm): -b was specified.
lsof: avoiding stat(/run/shm): -b was specified.
lsof: WARNING: can't stat() tmpfs file system /run/shm
      Output information may be incomplete.
lsof: avoiding readlink(/datos): -b was specified.
lsof: avoiding stat(/datos): -b was specified.
lsof: WARNING: can't stat() reiserfs file system /datos
      Output information may be incomplete.
lsof: avoiding readlink(/datos/raid): -b was specified.
lsof: avoiding stat(/datos/raid): -b was specified.
lsof: WARNING: can't stat() xfs file system /datos/raid
      Output information may be incomplete.
lsof: avoiding readlink(/backup): -b was specified.
lsof: avoiding stat(/backup): -b was specified.
lsof: WARNING: can't stat() xfs file system /backup
      Output information may be incomplete.
lsof: avoiding readlink(/sys/fs/fuse/connections): -b was specified.
lsof: avoiding stat(/sys/fs/fuse/connections): -b was specified.
lsof: WARNING: can't stat() fusectl file system /sys/fs/fuse/connections
      Output information may be incomplete.
COMMAND  PID     USER   FD   TYPE  DEVICE   SIZE/OFF      NODE NAME
mlnet   5832 mldonkey  cwd    DIR   253,0       1280        93 /datos/mldonkey/.mldonkey
mlnet   5832 mldonkey  rtd    DIR     8,2       4096       128 /
mlnet   5832 mldonkey  txt    REG     8,2    7218544  75124979 /programas/mldonkey/mldonkey-distrib-3.1.3/mlnet
mlnet   5832 mldonkey  mem    REG     8,2      26456 201777086 /lib/i386-linux-gnu/libnss_compat-2.13.so
mlnet   5832 mldonkey  mem    REG   253,0     587218      2282 /datos/mldonkey/.mldonkey/web_infos/GeoIP.dat
mlnet   5832 mldonkey  mem    REG     8,2      71488 201777684 /lib/i386-linux-gnu/libresolv-2.13.so
mlnet   5832 mldonkey  mem    REG     8,2       8476 135526423 /lib/libnss_mdns4_minimal.so.2
mlnet   5832 mldonkey  mem    REG     8,2      38556 201777688 /lib/i386-linux-gnu/libnss_nis-2.13.so
mlnet   5832 mldonkey  mem    REG     8,2     117960 201777685 /lib/i386-linux-gnu/ld-2.13.so
mlnet   5832 mldonkey  mem    REG     8,2    1351816 201777680 /lib/i386-linux-gnu/libc-2.13.so
mlnet   5832 mldonkey  mem    REG     8,2      42628 201776897 /lib/i386-linux-gnu/libnss_files-2.13.so
mlnet   5832 mldonkey  mem    REG     8,2      22088 201777687 /lib/i386-linux-gnu/libnss_dns-2.13.so
mlnet   5832 mldonkey  mem    REG     8,2      79728 201777686 /lib/i386-linux-gnu/libnsl-2.13.so
mlnet   5832 mldonkey  mem    REG     8,2    2049696  67115684 /usr/lib/locale/locale-archive
mlnet   5832 mldonkey  mem    REG     8,2       8824 135515197 /lib/libnss_mdns4.so.2
mlnet   5832 mldonkey    0r   CHR     1,3        0t0      1027 /dev/null
mlnet   5832 mldonkey    1w   REG   253,0          0        58 /datos/mldonkey/log/mldonkey
mlnet   5832 mldonkey    2w   REG   253,0       5904        59 /datos/mldonkey/log/mldonkey_err
mlnet   5832 mldonkey    3r   REG   253,0     587218      2282 /datos/mldonkey/.mldonkey/web_infos/GeoIP.dat
mlnet   5832 mldonkey    4w   REG   253,0    1093640        41 /datos/mldonkey/.mldonkey/mlnet.log
mlnet   5832 mldonkey    5r  IPv4 9794349        0t0       TCP 80.102.93.10:5543->196.210.254.206:64232 (ESTABLISHED)
mlnet   5832 mldonkey    6u   REG   253,0 4697817088       280 /datos/mldonkey/prioritario/asdfasdfasdfasdfLuffi.ISO
mlnet   5832 mldonkey    7r  IPv4 9795453        0t0       TCP 80.102.93.10:5543->31.47.157.75:55048 (ESTABLISHED)
mlnet   5832 mldonkey    8u  IPv4 9727332        0t0       TCP 80.102.93.10:5543->88.90.131.32:61395 (ESTABLISHED)
mlnet   5832 mldonkey    9u  IPv4 9795416        0t0       TCP 80.102.93.10:5543->196.210.254.206:64433 (ESTABLISHED)
mlnet   5832 mldonkey   10u  IPv4 9773298        0t0       TCP 80.102.93.10:6881->81.20.215.80:65136 (ESTABLISHED)
mlnet   5832 mldonkey   11u  IPv4 9795890        0t0       TCP 80.102.93.10:5543->101.166.161.212:59151 (ESTABLISHED)
mlnet   5832 mldonkey   12u  IPv4 9796097        0t0       TCP 80.102.93.10:5543->37.57.144.119:49507 (ESTABLISHED)
mlnet   5832 mldonkey   13u  IPv4 9604782        0t0       TCP 80.102.93.10:5543->112.255.4.234:52757 (ESTABLISHED)
mlnet   5832 mldonkey   14u  IPv4 9795452        0t0       TCP 80.102.93.10:5543->50.90.94.55:52050 (ESTABLISHED)
mlnet   5832 mldonkey   15u  IPv4 9536014        0t0       TCP *:5541 (LISTEN)
mlnet   5832 mldonkey   16u  IPv4 9536015        0t0       UDP *:5545
mlnet   5832 mldonkey   17u  IPv4 9536016        0t0       UDP *:7387
mlnet   5832 mldonkey   18u  IPv4 9536017        0t0       TCP *:6881 (LISTEN)
mlnet   5832 mldonkey   19u  IPv4 9536018        0t0       UDP *:21785
mlnet   5832 mldonkey   20u  IPv4 9536019        0t0       TCP *:5543 (LISTEN)
mlnet   5832 mldonkey   21u  IPv4 9536020        0t0       TCP *:4080 (LISTEN)
mlnet   5832 mldonkey   22u  IPv4 9536021        0t0       TCP *:4000 (LISTEN)
mlnet   5832 mldonkey   23u  IPv4 9536022        0t0       TCP *:4001 (LISTEN)
mlnet   5832 mldonkey   24ww  REG   253,0   10485760        90 /datos/mldonkey/.mldonkey/config_files_space.tmp
mlnet   5832 mldonkey   25u  IPv4 9794884        0t0       TCP 80.102.93.10:5543->189.90.181.137:53541 (ESTABLISHED)
mlnet   5832 mldonkey   26u  IPv4 9795225        0t0       TCP 80.102.93.10:5543->184.166.187.186:55589 (ESTABLISHED)
mlnet   5832 mldonkey   27u  IPv4 9651117        0t0       TCP 80.102.93.10:5543->78.43.235.193:49641 (ESTABLISHED)
mlnet   5832 mldonkey   28u  IPv4 9796099        0t0       TCP 80.102.93.10:5543->83.192.150.148:55386 (ESTABLISHED)
mlnet   5832 mldonkey   29u  IPv4 9793777        0t0       TCP 80.102.93.10:5543->46.33.221.45:61891 (ESTABLISHED)
mlnet   5832 mldonkey   31u  IPv4 9796090        0t0       TCP 80.102.93.10:5543->195.114.157.211:63312 (ESTABLISHED)
mlnet   5832 mldonkey   32u  IPv4 9795119        0t0       TCP 80.102.93.10:6881->185.12.242.248:56013 (ESTABLISHED)
mlnet   5832 mldonkey   33u  IPv4 9794714        0t0       TCP 80.102.93.10:5543->117.207.139.80:57070 (ESTABLISHED)
mlnet   5832 mldonkey   34u  IPv4 9795161        0t0       TCP 80.102.93.10:6881->162.213.60.224:33295 (ESTABLISHED)
mlnet   5832 mldonkey   35u  IPv4 9784491        0t0       TCP 80.102.93.10:5541->78.13.66.181:60782 (ESTABLISHED)
mlnet   5832 mldonkey   36u  IPv4 9795984        0t0       TCP 80.102.93.10:5543->115.66.11.251:63563 (ESTABLISHED)
mlnet   5832 mldonkey   37u  IPv4 9557821        0t0       TCP 80.102.93.10:6881->80.92.252.254:49559 (ESTABLISHED)
mlnet   5832 mldonkey   38u  IPv4 9592810        0t0       TCP 80.102.93.10:5543->89.69.126.159:58886 (ESTABLISHED)
mlnet   5832 mldonkey   39u   REG   253,0  315001634       547 /datos/mldonkey/incoming/files/ediaz/asdfasdfasdf.S03E08.HDTV.x264-EVOLVE.mp4
mlnet   5832 mldonkey   40r   REG   253,0  533290421      4161 /datos/mldonkey/incoming/files/ediaz/asdfasdfasdf.S06E05.HDTV.x264-KILLERS.mp4
mlnet   5832 mldonkey   41u  IPv4 9794020        0t0       TCP 80.102.93.10:6881->86.213.79.160:61942 (ESTABLISHED)
mlnet   5832 mldonkey   42u  IPv4 9796089        0t0       TCP 80.102.93.10:5543->88.178.235.232:57481 (ESTABLISHED)
mlnet   5832 mldonkey   43u  IPv4 9795425        0t0       TCP 80.102.93.10:5543->95.58.50.52:52495 (ESTABLISHED)
mlnet   5832 mldonkey   44u  IPv4 9794353        0t0       TCP 80.102.93.10:5543->196.210.254.206:64240 (ESTABLISHED)
mlnet   5832 mldonkey   45u  IPv4 9790724        0t0       TCP 80.102.93.10:5543->83.250.50.103:63655 (ESTABLISHED)
mlnet   5832 mldonkey   46u  IPv4 9794282        0t0       TCP 80.102.93.10:5543->213.211.150.175:57467 (ESTABLISHED)
mlnet   5832 mldonkey   47u  IPv4 9793119        0t0       TCP 80.102.93.10:5543->78.101.225.139:60559 (ESTABLISHED)
mlnet   5832 mldonkey   48u  IPv4 9536591        0t0       TCP 80.102.93.10:48521->91.200.42.46:1176 (ESTABLISHED)
mlnet   5832 mldonkey   49u  IPv4 9790980        0t0       TCP 80.102.93.10:5543->162.206.149.242:62121 (ESTABLISHED)
mlnet   5832 mldonkey   50u  IPv4 9674600        0t0       TCP 80.102.93.10:5543->84.123.30.206:4914 (ESTABLISHED)
mlnet   5832 mldonkey   51u  IPv4 9795450        0t0       TCP 80.102.93.10:5543->2.137.19.141:56605 (ESTABLISHED)
mlnet   5832 mldonkey   52u  IPv4 9795422        0t0       TCP 80.102.93.10:5543->188.32.160.132:50940 (ESTABLISHED)
mlnet   5832 mldonkey   53u  IPv4 9715353        0t0       TCP 80.102.93.10:5541->93.156.80.242:52792 (ESTABLISHED)
mlnet   5832 mldonkey   54u  IPv4 9628365        0t0       TCP 80.102.93.10:6881->83.193.200.46:51224 (ESTABLISHED)
mlnet   5832 mldonkey   55u  IPv4 9795797        0t0       TCP 80.102.93.10:5543->41.162.49.26:59750 (ESTABLISHED)
mlnet   5832 mldonkey   56u  IPv4 9780450        0t0       TCP 80.102.93.10:5543->80.180.181.174:50188 (ESTABLISHED)
mlnet   5832 mldonkey   57u  IPv4 9795448        0t0       TCP 80.102.93.10:5543->212.42.215.64:52321 (ESTABLISHED)
mlnet   5832 mldonkey   58u  IPv4 9794885        0t0       TCP 80.102.93.10:5543->105.236.249.85:34752 (ESTABLISHED)
mlnet   5832 mldonkey   59u  IPv4 9795799        0t0       TCP 80.102.93.10:6881->185.12.242.246:50236 (ESTABLISHED)
mlnet   5832 mldonkey   60u  IPv4 9536608        0t0       TCP 80.102.93.10:52585->176.103.48.36:4184 (ESTABLISHED)
mlnet   5832 mldonkey   61u  IPv4 9795353        0t0       TCP 80.102.93.10:5543->179.206.24.20:52081 (ESTABLISHED)
mlnet   5832 mldonkey   62u  IPv4 9796021        0t0       TCP 80.102.93.10:5543->37.142.43.10:62936 (ESTABLISHED)
mlnet   5832 mldonkey   63u  IPv4 9796093        0t0       TCP 80.102.93.10:5543->223.204.224.208:17401 (ESTABLISHED)
mlnet   5832 mldonkey   64u  IPv4 9796098        0t0       TCP 80.102.93.10:5543->86.124.236.234:50568 (ESTABLISHED)
mlnet   5832 mldonkey   65u  IPv4 9709720        0t0       TCP 80.102.93.10:6881->83.193.200.46:60630 (ESTABLISHED)
mlnet   5832 mldonkey   66u  IPv4 9556491        0t0       TCP 80.102.93.10:45045->91.200.42.119:9939 (ESTABLISHED)
mlnet   5832 mldonkey   67u  IPv4 9777240        0t0       TCP 80.102.93.10:6881->81.20.215.80:49472 (ESTABLISHED)
mlnet   5832 mldonkey   68u  IPv4 9794355        0t0       TCP 80.102.93.10:5543->114.30.127.132:34842 (ESTABLISHED)
mlnet   5832 mldonkey   69u  IPv4 9795099        0t0       TCP 80.102.93.10:5543->190.140.84.21:52230 (ESTABLISHED)
mlnet   5832 mldonkey   70u  IPv4 9795445        0t0       TCP 80.102.93.10:5543->105.236.249.85:45746 (ESTABLISHED)
mlnet   5832 mldonkey   72r  IPv4 9769734        0t0       TCP 80.102.93.10:5543->71.106.50.227:57255 (ESTABLISHED)
mlnet   5832 mldonkey   73u  IPv4 9796091        0t0       TCP 80.102.93.10:5543->109.184.163.214:60710 (ESTABLISHED)
mlnet   5832 mldonkey   74u  IPv4 9624346        0t0       TCP 80.102.93.10:5541->190.48.223.34:10106 (ESTABLISHED)
mlnet   5832 mldonkey   75u  IPv4 9795354        0t0       TCP 80.102.93.10:5543->37.231.166.92:39644 (ESTABLISHED)
mlnet   5832 mldonkey   76u  IPv4 9774493        0t0       TCP 80.102.93.10:5543->89.78.33.47:57115 (ESTABLISHED)
mlnet   5832 mldonkey   77u  IPv4 9795349        0t0       TCP 80.102.93.10:5543->188.122.224.96:50356 (ESTABLISHED)
mlnet   5832 mldonkey   78u  IPv4 9795994        0t0       TCP 80.102.93.10:5543->219.90.137.207:59675 (ESTABLISHED)
mlnet   5832 mldonkey   79u  IPv4 9795350        0t0       TCP 80.102.93.10:5543->99.55.204.74:53466 (ESTABLISHED)
mlnet   5832 mldonkey   80u  IPv4 9796095        0t0       TCP 80.102.93.10:5543->105.226.44.35:54389 (ESTABLISHED)
mlnet   5832 mldonkey   81u  IPv4 9793307        0t0       TCP 80.102.93.10:5543->75.177.175.223:37588 (ESTABLISHED)
mlnet   5832 mldonkey   82u  IPv4 9795454        0t0       TCP 80.102.93.10:5543->5.187.75.153:50754 (ESTABLISHED)
mlnet   5832 mldonkey   83u  IPv4 9787603        0t0       TCP 80.102.93.10:5543->82.28.37.205:64388 (ESTABLISHED)
mlnet   5832 mldonkey   89u  IPv4 9715359        0t0       TCP 80.102.93.10:5543->64.134.232.111:60083 (ESTABLISHED)
mlnet   5832 mldonkey   90u  IPv4 9795121        0t0       TCP 80.102.93.10:45500->31.172.124.2:80 (SYN_SENT)
mlnet   5832 mldonkey   91u  IPv4 9795726        0t0       TCP 80.102.93.10:39605->196.210.254.206:60453 (ESTABLISHED)
mlnet   5832 mldonkey   92u  IPv4 9684746        0t0       TCP 80.102.93.10:5543->124.187.78.1:52618 (ESTABLISHED)
mlnet   5832 mldonkey   93u  IPv4 9763227        0t0       TCP 80.102.93.10:5543->98.217.138.15:60391 (ESTABLISHED)
mlnet   5832 mldonkey   94u  IPv4 9794360        0t0       TCP 80.102.93.10:5543->89.126.31.66:57244 (ESTABLISHED)
mlnet   5832 mldonkey   95u  IPv4 9795122        0t0       TCP 80.102.93.10:45501->31.172.124.2:80 (SYN_SENT)
mlnet   5832 mldonkey   96r  IPv4 9796092        0t0       TCP 80.102.93.10:5543->78.106.129.8:49503 (ESTABLISHED)
mlnet   5832 mldonkey   97u  IPv4 9684714        0t0       TCP 80.102.93.10:5543->91.72.72.251:58669 (ESTABLISHED)
mlnet   5832 mldonkey   99u  IPv4 9795124        0t0       UDP *:54227
mlnet   5832 mldonkey  101u  IPv4 9795126        0t0       TCP 80.102.93.10:45504->31.172.124.2:80 (SYN_SENT)
mlnet   5832 mldonkey  103u  IPv4 9688359        0t0       TCP 80.102.93.10:5543->61.37.245.236:51669 (ESTABLISHED)
mlnet   5832 mldonkey  104u  IPv4 9795128        0t0       TCP 80.102.93.10:59433->31.172.124.3:80 (SYN_SENT)
mlnet   5832 mldonkey  105u  IPv4 9795129        0t0       TCP 80.102.93.10:59434->31.172.124.3:80 (SYN_SENT)
mlnet   5832 mldonkey  107u  IPv4 9795131        0t0       UDP *:36790
mlnet   5832 mldonkey  109u  IPv4 9795133        0t0       TCP 80.102.93.10:59437->31.172.124.3:80 (SYN_SENT)
mlnet   5832 mldonkey  111u  IPv4 9795135        0t0       UDP *:44011
mlnet   5832 mldonkey  112u  IPv4 9686759        0t0       TCP 80.102.93.10:6881->83.9.92.182:60508 (ESTABLISHED)
mlnet   5832 mldonkey  113u  IPv4 9696024        0t0       TCP 80.102.93.10:6881->83.9.92.182:50551 (ESTABLISHED)
mlnet   5832 mldonkey  115u  IPv4 9750739        0t0       TCP 80.102.93.10:5543->93.173.226.38:34801 (ESTABLISHED)
mlnet   5832 mldonkey  117u  IPv4 9786603        0t0       TCP 80.102.93.10:5543->196.222.103.54:54896 (ESTABLISHED)
Back to top
View user's profile Send private message
ygrek
professional


Joined: 20 Mar 2010
Posts: 582

PostPosted: Thu Jul 25, 2013 3:54 pm    Post subject: Reply with quote

You did truncated the output or what? It clearly doesn't have 20k files/sockets open
_________________
Download | Report bugs | git mirror
Back to top
View user's profile Send private message Visit poster's website
ediaz
neophyte


Joined: 16 Dec 2002
Posts: 42
Location: Spain

PostPosted: Fri Jul 26, 2013 10:13 am    Post subject: Reply with quote

Nop is the real output. only change the name of the files for privacy.

This is form today.
where can I see the number of files open?



Code:
pk25.com:~# lsof -bnP -p $(pgrep mlnet)
lsof: avoiding readlink(/): -b was specified.
lsof: avoiding stat(/): -b was specified.
lsof: WARNING: can't stat() rootfs file system /
      Output information may be incomplete.
lsof: avoiding readlink(/sys): -b was specified.
lsof: avoiding stat(/sys): -b was specified.
lsof: WARNING: can't stat() sysfs file system /sys
      Output information may be incomplete.
lsof: avoiding readlink(/proc): -b was specified.
lsof: avoiding stat(/proc): -b was specified.
lsof: WARNING: can't stat() proc file system /proc
      Output information may be incomplete.
lsof: avoiding readlink(/dev): -b was specified.
lsof: avoiding stat(/dev): -b was specified.
lsof: WARNING: can't stat() devtmpfs file system /dev
      Output information may be incomplete.
lsof: avoiding readlink(/dev/pts): -b was specified.
lsof: avoiding stat(/dev/pts): -b was specified.
lsof: WARNING: can't stat() devpts file system /dev/pts
      Output information may be incomplete.
lsof: avoiding readlink(/run): -b was specified.
lsof: avoiding stat(/run): -b was specified.
lsof: WARNING: can't stat() tmpfs file system /run
      Output information may be incomplete.
lsof: avoiding readlink(/): -b was specified.
lsof: avoiding stat(/): -b was specified.
lsof: WARNING: can't stat() xfs file system /
      Output information may be incomplete.
lsof: avoiding readlink(/run/lock): -b was specified.
lsof: avoiding stat(/run/lock): -b was specified.
lsof: WARNING: can't stat() tmpfs file system /run/lock
      Output information may be incomplete.
lsof: avoiding readlink(/run/shm): -b was specified.
lsof: avoiding stat(/run/shm): -b was specified.
lsof: WARNING: can't stat() tmpfs file system /run/shm
      Output information may be incomplete.
lsof: avoiding readlink(/datos): -b was specified.
lsof: avoiding stat(/datos): -b was specified.
lsof: WARNING: can't stat() reiserfs file system /datos
      Output information may be incomplete.
lsof: avoiding readlink(/datos/raid): -b was specified.
lsof: avoiding stat(/datos/raid): -b was specified.
lsof: WARNING: can't stat() xfs file system /datos/raid
      Output information may be incomplete.
lsof: avoiding readlink(/backup): -b was specified.
lsof: avoiding stat(/backup): -b was specified.
lsof: WARNING: can't stat() xfs file system /backup
      Output information may be incomplete.
lsof: avoiding readlink(/sys/fs/fuse/connections): -b was specified.
lsof: avoiding stat(/sys/fs/fuse/connections): -b was specified.
lsof: WARNING: can't stat() fusectl file system /sys/fs/fuse/connections
      Output information may be incomplete.
COMMAND  PID     USER   FD   TYPE   DEVICE   SIZE/OFF      NODE NAME
mlnet   5832 mldonkey  cwd    DIR    253,0       1280        93 /datos/mldonkey/.mldonkey
mlnet   5832 mldonkey  rtd    DIR      8,2       4096       128 /
mlnet   5832 mldonkey  txt    REG      8,2    7218544  75124979 /programas/mldonkey/mldonkey-distrib-3.1.3/mlnet
mlnet   5832 mldonkey  mem    REG      8,2      26456 201777086 /lib/i386-linux-gnu/libnss_compat-2.13.so
mlnet   5832 mldonkey  mem    REG    253,0     587218      2282 /datos/mldonkey/.mldonkey/web_infos/GeoIP.dat
mlnet   5832 mldonkey  mem    REG      8,2      71488 201777684 /lib/i386-linux-gnu/libresolv-2.13.so
mlnet   5832 mldonkey  mem    REG      8,2       8476 135526423 /lib/libnss_mdns4_minimal.so.2
mlnet   5832 mldonkey  mem    REG      8,2      38556 201777688 /lib/i386-linux-gnu/libnss_nis-2.13.so
mlnet   5832 mldonkey  mem    REG      8,2     117960 201777685 /lib/i386-linux-gnu/ld-2.13.so
mlnet   5832 mldonkey  mem    REG      8,2    1351816 201777680 /lib/i386-linux-gnu/libc-2.13.so
mlnet   5832 mldonkey  mem    REG      8,2      42628 201776897 /lib/i386-linux-gnu/libnss_files-2.13.so
mlnet   5832 mldonkey  mem    REG      8,2      22088 201777687 /lib/i386-linux-gnu/libnss_dns-2.13.so
mlnet   5832 mldonkey  mem    REG      8,2      79728 201777686 /lib/i386-linux-gnu/libnsl-2.13.so
mlnet   5832 mldonkey  mem    REG      8,2    2049696  67115684 /usr/lib/locale/locale-archive
mlnet   5832 mldonkey  mem    REG      8,2       8824 135515197 /lib/libnss_mdns4.so.2
mlnet   5832 mldonkey    0r   CHR      1,3        0t0      1027 /dev/null
mlnet   5832 mldonkey    1w   REG    253,0          0        58 /datos/mldonkey/log/mldonkey
mlnet   5832 mldonkey    2w   REG    253,0       5977        59 /datos/mldonkey/log/mldonkey_err
mlnet   5832 mldonkey    3r   REG    253,0     587218      2282 /datos/mldonkey/.mldonkey/web_infos/GeoIP.dat
mlnet   5832 mldonkey    4w   REG    253,0    1902413        41 /datos/mldonkey/.mldonkey/mlnet.log
mlnet   5832 mldonkey    5r  IPv4 10719661        0t0       TCP 80.102.93.10:5543->95.105.65.46:63872 (ESTABLISHED)
mlnet   5832 mldonkey    6u  IPv4 10063706        0t0       TCP 80.102.93.10:6881->83.193.102.128:49728 (ESTABLISHED)
mlnet   5832 mldonkey    7u  IPv4 10717426        0t0       TCP 80.102.93.10:5543->64.134.180.158:50041 (ESTABLISHED)
mlnet   5832 mldonkey    8u  IPv4 10719637        0t0       TCP 80.102.93.10:5543->105.236.220.4:58316 (ESTABLISHED)
mlnet   5832 mldonkey    9u  IPv4 10706144        0t0       TCP 80.102.93.10:5543->117.222.220.189:63115 (ESTABLISHED)
mlnet   5832 mldonkey   10u  IPv4  9773298        0t0       TCP 80.102.93.10:6881->81.20.215.80:65136 (ESTABLISHED)
mlnet   5832 mldonkey   11u  IPv4 10532395        0t0       TCP 80.102.93.10:5541->188.78.99.182:56787 (ESTABLISHED)
mlnet   5832 mldonkey   12u  IPv4 10710245        0t0       TCP 80.102.93.10:5543->121.44.12.39:51837 (ESTABLISHED)
mlnet   5832 mldonkey   13u  IPv4 10718514        0t0       TCP 80.102.93.10:5543->115.66.11.251:62797 (ESTABLISHED)
mlnet   5832 mldonkey   14u  IPv4  9934552        0t0       TCP 80.102.93.10:6881->83.193.74.20:52811 (ESTABLISHED)
mlnet   5832 mldonkey   15u  IPv4  9536014        0t0       TCP *:5541 (LISTEN)
mlnet   5832 mldonkey   16u  IPv4  9536015        0t0       UDP *:5545
mlnet   5832 mldonkey   17u  IPv4  9536016        0t0       UDP *:7387
mlnet   5832 mldonkey   18u  IPv4  9536017        0t0       TCP *:6881 (LISTEN)
mlnet   5832 mldonkey   19u  IPv4  9536018        0t0       UDP *:21785
mlnet   5832 mldonkey   20u  IPv4  9536019        0t0       TCP *:5543 (LISTEN)
mlnet   5832 mldonkey   21u  IPv4  9536020        0t0       TCP *:4080 (LISTEN)
mlnet   5832 mldonkey   22u  IPv4  9536021        0t0       TCP *:4000 (LISTEN)
mlnet   5832 mldonkey   23u  IPv4  9536022        0t0       TCP *:4001 (LISTEN)
mlnet   5832 mldonkey   24ww  REG    253,0   10485760        90 /datos/mldonkey/.mldonkey/config_files_space.tmp
mlnet   5832 mldonkey   25u  IPv4 10718515        0t0       TCP 80.102.93.10:5543->59.164.105.3:17901 (ESTABLISHED)
mlnet   5832 mldonkey   26u  IPv4 10719653        0t0       TCP 80.102.93.10:5543->41.182.212.239:60941 (ESTABLISHED)
mlnet   5832 mldonkey   27u  IPv4 10196229        0t0       TCP 80.102.93.10:5543->69.204.132.182:56076 (ESTABLISHED)
mlnet   5832 mldonkey   28u  IPv4 10582417        0t0       TCP 80.102.93.10:5543->180.94.81.205:34459 (ESTABLISHED)
mlnet   5832 mldonkey   29u  IPv4 10711250        0t0       TCP 80.102.93.10:5543->92.15.123.253:57675 (ESTABLISHED)
mlnet   5832 mldonkey   30u  IPv4 10718696        0t0       TCP 80.102.93.10:5543->65.26.92.17:57389 (ESTABLISHED)
mlnet   5832 mldonkey   31u  IPv4 10506848        0t0       TCP 80.102.93.10:5543->37.105.120.142:65242 (ESTABLISHED)
mlnet   5832 mldonkey   32u  IPv4 10655954        0t0       TCP 80.102.93.10:5543->188.52.18.121:55930 (ESTABLISHED)
mlnet   5832 mldonkey   33u   REG    253,0  139683191       929 /datos/mldonkey/incoming/files/ediaz/asdfasdfasdfasdfasdfasdf.Using.People.WEBRip.x264-B23.[tvu.org.ru].mp4
mlnet   5832 mldonkey   34u  IPv4 10718698        0t0       TCP 80.102.93.10:5543->89.178.196.9:53431 (ESTABLISHED)
mlnet   5832 mldonkey   35u  IPv4 10718697        0t0       TCP 80.102.93.10:5543->87.247.43.61:56496 (ESTABLISHED)
mlnet   5832 mldonkey   36r  IPv4 10714354        0t0       TCP 80.102.93.10:5543->75.183.18.51:47879 (ESTABLISHED)
mlnet   5832 mldonkey   37u  IPv4  9557821        0t0       TCP 80.102.93.10:6881->80.92.252.254:49559 (ESTABLISHED)
mlnet   5832 mldonkey   38u  IPv4 10702147        0t0       TCP 80.102.93.10:5541->93.42.154.131:58396 (ESTABLISHED)
mlnet   5832 mldonkey   39u  IPv4 10718695        0t0       TCP 80.102.93.10:5543->182.239.168.67:49656 (ESTABLISHED)
mlnet   5832 mldonkey   40u  IPv4 10719655        0t0       TCP 80.102.93.10:5543->92.242.108.202:53360 (ESTABLISHED)
mlnet   5832 mldonkey   41u  IPv4  9794020        0t0       TCP 80.102.93.10:6881->86.213.79.160:61942 (ESTABLISHED)
mlnet   5832 mldonkey   42u  IPv4 10703030        0t0       TCP 80.102.93.10:5543->219.90.179.165:44331 (ESTABLISHED)
mlnet   5832 mldonkey   43u  IPv4 10719656        0t0       TCP 80.102.93.10:5543->72.71.208.50:54839 (ESTABLISHED)
mlnet   5832 mldonkey   44u  IPv4 10091594        0t0       TCP 80.102.93.10:5543->94.227.49.178:54684 (ESTABLISHED)
mlnet   5832 mldonkey   45u  IPv4 10174711        0t0       TCP 80.102.93.10:5543->207.190.56.1:7256 (ESTABLISHED)
mlnet   5832 mldonkey   46u   REG    253,0 1073725655      3024 /datos/mldonkey/incoming/directories/ediaz/asdfasdfasdf.720p.H264/asdfasdfasdf.720p.H264.mp4
mlnet   5832 mldonkey   47u  IPv4 10718688        0t0       TCP 80.102.93.10:5543->117.212.65.183:51581 (ESTABLISHED)
mlnet   5832 mldonkey   48u  IPv4  9536591        0t0       TCP 80.102.93.10:48521->91.200.42.46:1176 (ESTABLISHED)
mlnet   5832 mldonkey   49u  IPv4 10718624        0t0       TCP 80.102.93.10:5543->87.64.208.68:51728 (ESTABLISHED)
mlnet   5832 mldonkey   50u  IPv4 10718625        0t0       TCP 80.102.93.10:5543->41.133.219.44:62764 (ESTABLISHED)
mlnet   5832 mldonkey   51u  IPv4 10718519        0t0       TCP 80.102.93.10:5543->66.87.117.137:19683 (ESTABLISHED)
mlnet   5832 mldonkey   52u  IPv4 10674092        0t0       TCP 80.102.93.10:5543->95.23.142.246:54344 (ESTABLISHED)
mlnet   5832 mldonkey   53u  IPv4 10719636        0t0       TCP 80.102.93.10:5543->76.104.156.133:35177 (ESTABLISHED)
mlnet   5832 mldonkey   54u  IPv4  9628365        0t0       TCP 80.102.93.10:6881->83.193.200.46:51224 (ESTABLISHED)
mlnet   5832 mldonkey   55u  IPv4 10680077        0t0       TCP 80.102.93.10:5543->83.177.172.244:58712 (ESTABLISHED)
mlnet   5832 mldonkey   56u  IPv4 10719325        0t0       TCP 80.102.93.10:5543->92.98.231.93:54490 (ESTABLISHED)
mlnet   5832 mldonkey   57u  IPv4  9950828        0t0       TCP 80.102.93.10:5543->199.115.87.162:52217 (ESTABLISHED)
mlnet   5832 mldonkey   58u  IPv4 10718701        0t0       TCP 80.102.93.10:5543->195.114.157.211:64805 (ESTABLISHED)
mlnet   5832 mldonkey   59u  IPv4 10718702        0t0       TCP 80.102.93.10:5543->41.113.174.192:57443 (ESTABLISHED)
mlnet   5832 mldonkey   60u  IPv4  9536608        0t0       TCP 80.102.93.10:52585->176.103.48.36:4184 (ESTABLISHED)
mlnet   5832 mldonkey   61u  IPv4 10551775        0t0       TCP 80.102.93.10:5543->86.21.149.211:51013 (ESTABLISHED)
mlnet   5832 mldonkey   62u  IPv4 10719659        0t0       TCP 80.102.93.10:5543->31.210.219.251:29761 (ESTABLISHED)
mlnet   5832 mldonkey   63u  IPv4 10485197        0t0       TCP 80.102.93.10:5543->189.13.96.234:52945 (ESTABLISHED)
mlnet   5832 mldonkey   64u  IPv4 10718703        0t0       TCP 80.102.93.10:5543->37.44.108.87:51734 (ESTABLISHED)
mlnet   5832 mldonkey   65u  IPv4  9709720        0t0       TCP 80.102.93.10:6881->83.193.200.46:60630 (ESTABLISHED)
mlnet   5832 mldonkey   66u  IPv4  9556491        0t0       TCP 80.102.93.10:45045->91.200.42.119:9939 (ESTABLISHED)
mlnet   5832 mldonkey   67u  IPv4  9777240        0t0       TCP 80.102.93.10:6881->81.20.215.80:49472 (ESTABLISHED)
mlnet   5832 mldonkey   68u  IPv4 10150666        0t0       TCP 80.102.93.10:5543->122.108.163.117:60326 (ESTABLISHED)
mlnet   5832 mldonkey   69u  IPv4 10718704        0t0       TCP 80.102.93.10:5543->217.199.233.137:62112 (ESTABLISHED)
mlnet   5832 mldonkey   70u  IPv4 10718705        0t0       TCP 80.102.93.10:5543->95.32.59.236:62611 (ESTABLISHED)
mlnet   5832 mldonkey   71u  IPv4 10719664        0t0       TCP 80.102.93.10:5543->46.130.52.34:54567 (ESTABLISHED)
mlnet   5832 mldonkey   73u  IPv4 10714425        0t0       TCP 80.102.93.10:5543->112.255.4.234:58510 (ESTABLISHED)
mlnet   5832 mldonkey   74u  IPv4 10719493        0t0       TCP 80.102.93.10:5543->184.170.34.192:55850 (ESTABLISHED)
mlnet   5832 mldonkey   76u  IPv4 10719505        0t0       TCP 80.102.93.10:5543->90.182.2.7:36829 (ESTABLISHED)
mlnet   5832 mldonkey   77u  IPv4 10719589        0t0       TCP 80.102.93.10:51908->31.172.124.3:80 (SYN_SENT)
mlnet   5832 mldonkey   78u  IPv4 10718657        0t0       TCP 80.102.93.10:5543->90.182.2.7:62168 (ESTABLISHED)
mlnet   5832 mldonkey   79u  IPv4 10719633        0t0       TCP 80.102.93.10:5543->182.239.195.40:52492 (ESTABLISHED)
mlnet   5832 mldonkey   80u  IPv4 10719590        0t0       TCP 80.102.93.10:37982->31.172.124.2:80 (SYN_SENT)
mlnet   5832 mldonkey   82u  IPv4 10717442        0t0       TCP 80.102.93.10:5543->193.25.105.56:60260 (ESTABLISHED)
mlnet   5832 mldonkey   83u  IPv4 10551713        0t0       TCP 80.102.93.10:5543->86.21.149.211:50883 (ESTABLISHED)
mlnet   5832 mldonkey   86u  IPv4 10718686        0t0       TCP 80.102.93.10:5543->23.17.40.244:61085 (ESTABLISHED)
mlnet   5832 mldonkey   89u  IPv4 10719592        0t0       UDP *:60076
mlnet   5832 mldonkey   90u  IPv4 10703367        0t0       TCP 80.102.93.10:5543->195.176.92.20:43222 (ESTABLISHED)
mlnet   5832 mldonkey   92u  IPv4 10718691        0t0       TCP 80.102.93.10:5543->122.49.150.130:62469 (ESTABLISHED)
mlnet   5832 mldonkey   93u  IPv4 10008165        0t0       TCP 80.102.93.10:6881->83.193.228.152:49812 (ESTABLISHED)
mlnet   5832 mldonkey   94u  IPv4 10664829        0t0       TCP 80.102.93.10:5543->86.182.235.217:42125 (ESTABLISHED)
mlnet   5832 mldonkey   95u  IPv4 10719652        0t0       TCP 80.102.93.10:5543->184.75.221.26:48583 (ESTABLISHED)
mlnet   5832 mldonkey   96u  IPv4 10718615        0t0       TCP 80.102.93.10:5541->5.69.220.172:61631 (ESTABLISHED)
mlnet   5832 mldonkey   98u  IPv4 10719594        0t0       TCP 80.102.93.10:37985->31.172.124.2:80 (SYN_SENT)
mlnet   5832 mldonkey  103u  IPv4 10719596        0t0       TCP 80.102.93.10:37987->31.172.124.2:80 (SYN_SENT)
mlnet   5832 mldonkey  105u  IPv4 10719597        0t0       TCP 80.102.93.10:51915->31.172.124.3:80 (SYN_SENT)
mlnet   5832 mldonkey  106u  IPv4 10689609        0t0       TCP 80.102.93.10:5543->64.134.232.111:61849 (ESTABLISHED)
mlnet   5832 mldonkey  110u  IPv4 10719599        0t0       UDP *:54636
mlnet   5832 mldonkey  112u  IPv4  9686759        0t0       TCP 80.102.93.10:6881->83.9.92.182:60508 (ESTABLISHED)
mlnet   5832 mldonkey  113u  IPv4  9696024        0t0       TCP 80.102.93.10:6881->83.9.92.182:50551 (ESTABLISHED)
mlnet   5832 mldonkey  115u  IPv4 10719601        0t0       TCP 80.102.93.10:51918->31.172.124.3:80 (SYN_SENT)
Back to top
View user's profile Send private message
ygrek
professional


Joined: 20 Mar 2010
Posts: 582

PostPosted: Sun Jul 28, 2013 9:10 am    Post subject: Reply with quote

The number of open files is the number of rows in the output. I want to see this output when mldonkey says "too many open files" and it can only happen with 20000 open files, which is obviously not the case with the reports you have shown (they look completely normal).
_________________
Download | Report bugs | git mirror
Back to top
View user's profile Send private message Visit poster's website
ediaz
neophyte


Joined: 16 Dec 2002
Posts: 42
Location: Spain

PostPosted: Tue Jul 30, 2013 8:40 am    Post subject: Reply with quote

I put the new values in my mlstart script:

ulimit -n 64000
ulimit -s 64000


and done.. no more shutdowns. Razz
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    MLDonkey Forum Index -> Problems with MLDonkey Client (in general, and ed2k, kad, overnet) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Sourceforge.net Logo