aMule Forum
English => aMule Help => Topic started by: DigitoErgoSum on October 05, 2005, 06:55:10 PM
-
Hi all,
I saw that my kad contacts are less every time I restart amuled...
Don't know if this is a bug... I partially solved with this script that run at 4 every 2/3 days...
date +%F%t%T
APID=`ps -ef|grep -m 1 amule|grep -v grep|awk '{print$2}'`
if [ $APID > 0 ]; then
echo "aMule PID = "$APID " Stopping aMule... Please wait"
/etc/init.d/amuled stop > /dev/null
while [ $APID > 0 ]; do
sleep 10
APID=`ps -ef|grep -m 1 amule|grep -v grep|awk '{print$2}'`
done
echo " aMule shutted down "
cp [BACKUP_NODES.DAT] [.aMule DIR] <====== CHANGE THESE =======
echo "nodes.dat copied"
/etc/init.d/amuled start > /dev/null
echo " aMule restarted"
else
echo "Error: aMule is not started"
fi
Hope this should be useful.
bye
-
Well, contacts are removed when they're not online anymore. It's a good idea to leave them removed...
-
Now (cvs 20051030 and after) amule remove contacts faster.
Should it be a problem caused by my nat connection ???
Is there a range of ip that amule filters ????
Take a look at this log:
2005-11-06 04:00:47: Creditfile loaded, 136041 clients are known
2005-11-06 04:00:47: Loading ipfilter.dat files.
2005-11-06 04:00:47: Loaded 0 IP-ranges from 'ipfilter.dat'. 0 malformed lines were discarded.
2005-11-06 04:00:47: Loaded 0 IP-ranges from 'ipfilter_static.dat'. 0 malformed lines were discarded.
2005-11-06 04:00:47: Loading server.met file: /home/p2p/.aMule/server.met
2005-11-06 04:00:47: 44 servers in server.met found
2005-11-06 04:00:47: Found 8 part files
2005-11-06 04:00:47: *** TCP socket (ECServer) listening on 0.0.0.0:4712
2005-11-06 04:00:57: Found 806 known shared files
2005-11-06 04:00:57: Connecting
2005-11-06 04:00:57: Connecting to DonkeyServer No1 (62.241.53.2 - 62.241.53.2:4242)
2005-11-06 04:00:58: AICH Thread: Syncronization thread started.
2005-11-06 04:00:58: Read 457 Kad contacts
2005-11-06 04:00:59: webserver running on pid 23454
2005-11-06 04:00:59: Connected to Kad (firewalled)
2005-11-06 04:00:59: Connected to DonkeyServer No1 (62.241.53.2:4242)
2005-11-06 04:00:59: Warning: DonkeyServer No1 (62.241.53.2:4242) - NG : Your ip (213.140.22.67) is known to be part of a LOWID only network. Dont panic, it's OK.
2005-11-06 04:00:59: Connection established on: DonkeyServer No1
2005-11-06 04:00:59: Connected to DonkeyServer No1 with LowID
2005-11-06 04:00:59: New clientid is 11227695
2005-11-06 04:00:59: ServerMessage: server version 17.7 (lugdunum)
2005-11-06 04:00:59: ServerMessage: >> ATTENZIONE : Comperate i vostri cd e dvd vergini ai migliori prezzi
2005-11-06 04:00:59: ServerMessage: >> nel nostro shop!!
2005-11-06 04:00:59: ServerMessage: >> Ad esempio : 100 cd-r 52x per 12.85 euro o 100 dvd-r 8x per 29.28 euro.
2005-11-06 04:00:59: ServerMessage: >> Non troverete meno caro su Internet.
2005-11-06 04:00:59: ServerMessage: >> .
2005-11-06 04:00:59: ServerMessage: >> http://dvd.razorback2.com/?lang=it
2005-11-06 04:01:00: New external connection accepted
2005-11-06 04:01:00: Connecting client: aMuleweb CVS
2005-11-06 04:01:00: Access granted.
2005-11-06 04:01:02: AICH Thread: Masterhashes of known files have been loaded.
2005-11-06 04:01:02: AICH Thread: No new files found.
2005-11-06 04:01:02: AICH Thread: Terminated.
2005-11-06 04:01:03: Connected to Kad (ok)
2005-11-06 04:49:45: New message from 'ZamBoR 2' (IP:82.60.30.143)
2005-11-06 04:59:25: Lost connection to DonkeyServer No1 (62.241.53.2:4242)
2005-11-06 04:59:25: Connecting to DonkeyServer No1 (62.241.53.2 - 62.241.53.2:4242)
2005-11-06 04:59:25: Connection lost
2005-11-06 04:59:25: Connecting to
2005-11-06 04:59:25: Connected to DonkeyServer No1 (62.241.53.2:4242)
2005-11-06 04:59:25: Warning: DonkeyServer No1 (62.241.53.2:4242) - NG : Your ip (213.140.22.67) is known to be part of a LOWID only network. Dont panic, it's OK.
2005-11-06 04:59:25: Connection established on: DonkeyServer No1
2005-11-06 04:59:25: Connected to DonkeyServer No1 with LowID
2005-11-06 04:59:25: New clientid is 11307990
2005-11-06 04:59:25: ServerMessage: server version 17.7 (lugdunum)
2005-11-06 04:59:25: ServerMessage: >> ATTENZIONE : Comperate i vostri cd e dvd vergini ai migliori prezzi
2005-11-06 04:59:25: ServerMessage: >> nel nostro shop!!
2005-11-06 04:59:25: ServerMessage: >> Ad esempio : 100 cd-r 52x per 12.85 euro o 100 dvd-r 8x per 29.28 euro.
2005-11-06 04:59:25: ServerMessage: >> Non troverete meno caro su Internet.
2005-11-06 04:59:25: ServerMessage: >> .
2005-11-06 04:59:25: ServerMessage: >> http://dvd.razorback2.com/?lang=it
2005-11-06 06:00:59: Connected to Kad (firewalled)
2005-11-06 06:01:00: Connected to Kad (ok)
2005-11-06 09:01:00: Connected to Kad (firewalled)
2005-11-06 10:51:36: Disconnected from Kad
...
...
...
2005-11-06 13:00:54: AICH Thread: Syncronization thread started.
2005-11-06 13:01:07: AICH Thread: Masterhashes of known files have been loaded.
2005-11-06 13:01:08: AICH Thread: No new files found.
2005-11-06 13:01:08: AICH Thread: Terminated.
2005-11-06 13:05:12: New external connection accepted
2005-11-06 13:05:12: Connecting client: aMulecmd CVS
2005-11-06 13:05:12: Access granted.
2005-11-06 13:05:40: Read 8 Kad contacts
2005-11-06 13:06:51: External connection closed.
-
You're probably saturating your line, notice the server disconections. UDP is a non-reliable protocol, so if you saturate the line, packets get lost. Kad nodes get lost.
-
I have a 10mbit line with amuled's up limit = 600