aMule Forum

English => aMule Help => Topic started by: boutros on February 23, 2005, 03:22:01 PM

Title: aMule CVS network usage
Post 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

  ?( ;)
Title: Re: aMule CVS network usage
Post by: Kry on February 23, 2005, 03:57:31 PM
they're all from amuleweb?
Title: Re: aMule CVS network usage
Post by: boutros on February 24, 2005, 04:31:53 AM
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.

Code: [Select]
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
Title: Re: aMule CVS network usage
Post by: lfroen on February 24, 2005, 09:38:48 AM
Quote
Maybe amuleweb doesn't like the way that the bb4 client does that.

wtf is bb4 client ?
Title: Re: aMule CVS network usage
Post by: Xaignar on February 24, 2005, 09:43:22 AM
This perhaps? http://www.bb4.org/
Sounds double-plus good to me! :P

P.S.
 Lfroen, google is your friend. ;)
Title: Re: aMule CVS network usage
Post by: Kry on February 24, 2005, 04:22:48 PM
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.
Title: Re: aMule CVS network usage
Post by: lfroen on February 24, 2005, 07:32:26 PM
Quote
Oh, the know-it-all doesn't know bb4

Yea, nice to meet you too
Title: Re: aMule CVS network usage
Post by: boutros on February 24, 2005, 11:11:49 PM
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 :)