| View previous topic :: View next topic |
| Author |
Message |
Countess neophyte
Joined: 12 May 2003 Posts: 46 Location: NL
|
Posted: Mon Apr 11, 2005 8:49 am Post subject: |
|
|
in my log im getting pages and pages of
| Code: |
Exception tcp_handler: accept failed: Too many open files
*[b]snip[/b]*
EXCEPTION socket failed: Too many open files before connect to host 213.XXX.XXX.XXX:4800
Exception socket failed: Too many open files in client connection
EXCEPTION socket failed: Too many open files before connect to host 84.XXX.XXX.XXX:4662
Exception socket failed: Too many open files in client connection
Exception Sys_error("./onlinesig.dat: Too many open files") in Network.iter for Donkey
|
but im just downloading 3 files with less then 2000sources each.
and sharing just those 3 alswell.
accoring to hotsanic, the number of connects had droped off from a steady 275 to about 150 in the last 3 houres. (with 2.5.30-ab i had a steady 600 con's open btw, but i was downloading files with 10times the number of sources)
(maybe related but using the webinterface has also become tricky, if you wana open something you open get "object contains no data" (firefox from xp btw) and you have to try again a couple of times.) |
|
| Back to top |
|
 |
spiralvoice Sage
Joined: 06 Jan 2003 Posts: 3982 Location: Germany
|
Posted: Mon Apr 11, 2005 9:38 am Post subject: |
|
|
| Countess wrote: | | Exception tcp_handler: accept failed: Too many open files |
Seems like your core is hitting system limits, try raising ulimit _________________ Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks |
|
| Back to top |
|
 |
Countess neophyte
Joined: 12 May 2003 Posts: 46 Location: NL
|
Posted: Mon Apr 11, 2005 10:30 am Post subject: |
|
|
the link sugested running "ulimit -n 800"
but the option it changes is set to 1024 as standerd allready, also for the user i run mldonkey under.
most of the things in ulimit are on unlimited exept for
core file size = 0
open files = 1024
pipe size (512 bytes) = 8
stack size = 8192
running debian "testing" with a 2.6.8 kernel btw.
(p.s. when i do kill core it leave a lot of empty .tmp files) |
|
| Back to top |
|
 |
spiralvoice Sage
Joined: 06 Jan 2003 Posts: 3982 Location: Germany
|
Posted: Mon Apr 11, 2005 11:11 am Post subject: |
|
|
To which values did you set max_opened_connections and ED2K-max_indirect_connections? _________________ Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks |
|
| Back to top |
|
 |
Countess neophyte
Joined: 12 May 2003 Posts: 46 Location: NL
|
Posted: Mon Apr 11, 2005 11:21 am Post subject: |
|
|
i thought i'd left them on default, but max opened was on 300 instead of the default 200.
max indirect is to the default 100.
i restarted the core and the messages are gone, but it took about half a day for them to start last time, and then the opend connections started dropping from 300 to about 150 in a cource of about 12 houres, slowly first then faster.
| Code: |
Exception Sys_error("No space left on device") in Network.iter for Donkey
|
i get a few of these aswell, just far less often. |
|
| Back to top |
|
 |
spiralvoice Sage
Joined: 06 Jan 2003 Posts: 3982 Location: Germany
|
Posted: Sat Apr 16, 2005 11:17 am Post subject: |
|
|
| Amorphous wrote: | | /usr/local/lib/ seems to be a somewhat unusual localtion and it seems like the autoconf macro AC_CHECK_LIB(charset,locale_charset,[LOCALECHARSET=yes]) does not work for that location. |
Linking /usr/local/include/libcharset.h, localcharset.h and iconv.h to /usr/include
and /usr/local/lib/libcharset* to /usr/lib solves the problem.
EDIT: Same links have to be set in OpenBSD to compile the core.
But I canīt compile a static core on FreeBSD anymore, when started it core dumps:
| Code: | freebsd# ./mlnet.static
mlnet.static in free(): error: junk pointer, too high to make sense
Segmentation fault (core dumped) |
So I am releasing a shared core on my page.
| Code: | freebsd# ldd ./mlnet
./mlnet:
libz.so.2 => /lib/libz.so.2 (0x282dd000)
libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x282ed000)
libcharset.so.1 => /usr/local/lib/libcharset.so.1 (0x283da000)
libm.so.3 => /lib/libm.so.3 (0x283dd000)
libpthread.so.1 => /usr/lib/libpthread.so.1 (0x283f7000)
libc.so.5 => /lib/libc.so.5 (0x2841b000) |
Static core on OpenBSD 5.3 works though. _________________ Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks |
|
| Back to top |
|
 |
|