mldonkey-users
[Top][All Lists]
Advanced

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

Re: [Mldonkey-users] can't 'kill' mldonkey


From: Roland Arendes
Subject: Re: [Mldonkey-users] can't 'kill' mldonkey
Date: Fri, 20 Dec 2002 12:50:59 +0100 (CET)

Hi

> using mldonkeywatch:
> from_gui: exception Sys_error("Input/output error") for message KillServer
> using the web-interface:
> Exception Sys_error("Input/output error")

I never had this bug. What is your max_opened_connections setting?
Perhaps it is to high.

Locate the first message in the console log:
"Your system supports 1024 file descriptors"
Then you should *NOT* set the value above:
1024 - (number of downloads) - (number of shared files) - (reserved for
burst)

max_opened_connections of 850 might be ok for 1024 fd's.

> I'm using SuSE Linux 8.1 with standard kernel 2.4.19 (4GB), plenty of
> swap-space free and (afaik) enough free file-descriptors.

You can cleanly stop mldonkey with kill -INT and wait until it's gone:

        if [ -n "`/sbin/pidof mldonkey`" ]; then
                kill -INT `/sbin/pidof mldonkey`
                echo -n "mlDonkey contacted .. "
                while [ -n "`/sbin/pidof mldonkey`" ]; do
                        sleep 2
                        echo -n "."
                done
                echo "stopped."
        else
                echo
                echo "No mlDonkey found to kill."
        fi


Hope it helps.
Roland




reply via email to

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