Bug#604907: mldonkey-server: Stops with "Too many open files for directory open" message
Package: mldonkey-server
Version: 3.0.3-4
Severity: normal
Tags: upstream
Sometimes mldonkey halts with "Too many open files for directory open"
message in log file. As far as I can tell, it's caused by "Max open
files" ulimit - default setting is 1024 files, and that limit can be
reached easily with a single torrent file.
Adding "ulimit -n 16384" into to /etc/default/mldonkey-server solved
the issue for me.
It would be nice to add this into startup script / README.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-openvz-686 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages mldonkey-server depends on:
ii adduser 3.112 add and remove users and groups
ii debconf [debconf-2.0] 1.5.36 Debian configuration management sy
ii libbz2-1.0 1.0.5-6 high-quality block-sorting file co
ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib
ii libfontconfig1 2.8.0-2.1 generic font configuration library
ii libfreetype6 2.4.2-2.1 FreeType 2 font engine, shared lib
ii libgcc1 1:4.4.5-6 GCC support library
ii libgd2-xpm 2.0.36~rc1~dfsg-5 GD Graphics Library version 2
ii libjpeg62 6b1-1 The Independent JPEG Group's JPEG
ii libpng12-0 1.2.44-1 PNG library - runtime
ii libstdc++6 4.4.5-6 The GNU Standard C++ Library v3
ii libx11-6 2:1.3.3-3 X11 client-side library
ii libxpm4 1:3.5.8-1 X11 pixmap library
ii mime-support 3.48-1 MIME files 'mime.types' & 'mailcap
ii ucf 3.0025+nmu1 Update Configuration File: preserv
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
mldonkey-server recommends no packages.
mldonkey-server suggests no packages.
-- debconf information excluded
Reply to: