aMule Forum
English => aMule Help => Topic started by: boutros on February 23, 2005, 03:22:01 PM
-
I keep graphs of my server, and since upgrading to Amule CVS I've noticed very strange network behaviour, as seen here
(http://host217-43-91-129.range217-43.btcentralplus.com:10001/hotsanic/netstat/connections-week.png)
What's with the sudden occurences of the (purple) 1000's of sockets in CLOSE_WAIT? If I trace them using lsof I see that they belong to amuleweb
?( ;)
-
they're all from amuleweb?
-
Yes, all from amuleweb. I wonder if it's a result of something bizarre from my setup. It could be that big brother regularly opens a socket to test the service is up, and then it drops the socket. Maybe amuleweb doesn't like the way that the bb4 client does that.
johnh@shuttle johnh $ netstat -n | grep CLOSE_WAIT
tcp 1 0 172.29.0.2:4711 172.29.0.2:47120 CLOSE_WAIT
tcp 1 0 172.29.0.2:4711 172.29.0.2:50454 CLOSE_WAIT
tcp 1 0 172.29.0.2:4711 172.29.0.2:43543 CLOSE_WAIT
tcp 1 0 172.29.0.2:4711 172.29.0.2:36116 CLOSE_WAIT
tcp 1 0 172.29.0.2:4711 172.29.0.2:33557 CLOSE_WAIT
tcp 1 0 172.29.0.2:4711 172.29.0.2:34837 CLOSE_WAIT
tcp 1 0 172.29.0.2:4711 172.29.0.2:38171 CLOSE_WAIT
tcp 1 0 172.29.0.2:4711 172.29.0.2:40217 CLOSE_WAIT
tcp 1 0 172.29.0.2:4711 172.29.0.2:47646 CLOSE_WAIT
tcp 1 0 172.29.0.2:4711 172.29.0.2:36636 CLOSE_WAIT
tcp 1 0 172.29.0.2:4711 172.29.0.2:38402 CLOSE_WAIT
tcp 1 0 172.29.0.2:4711 172.29.0.2:48640 CLOSE_WAIT
etc etc etc couple of hundred of lines cut
-
Maybe amuleweb doesn't like the way that the bb4 client does that.
wtf is bb4 client ?
-
This perhaps? http://www.bb4.org/
Sounds double-plus good to me! :P
P.S.
Lfroen, google is your friend. ;)
-
Oh, the know-it-all doesn't know bb4 :P
Well, seems like amuleweb is not closing connections. We should add a timeout and we're cool.
-
Oh, the know-it-all doesn't know bb4
Yea, nice to meet you too
-
Heh, funny.
Yes, you're correct, bb4 is Big Brother monitoring software. When it tests that a service is running, it opens a TCP socket onto that service, and if the service answers, closes the socket. I use this software to inform me if amule or amuleweb dies :)