aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: aMule CVS network usage  (Read 3081 times)

boutros

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 53
aMule CVS network usage
« 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



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

  ?( ;)
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: aMule CVS network usage
« Reply #1 on: February 23, 2005, 03:57:31 PM »

they're all from amuleweb?
Logged

boutros

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 53
Re: aMule CVS network usage
« Reply #2 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
« Last Edit: February 24, 2005, 04:32:42 AM by boutros »
Logged

lfroen

  • Guest
Re: aMule CVS network usage
« Reply #3 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 ?
Logged

Xaignar

  • Admin and Code Junky
  • Hero Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 1103
Re: aMule CVS network usage
« Reply #4 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. ;)
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: aMule CVS network usage
« Reply #5 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.
Logged

lfroen

  • Guest
Re: aMule CVS network usage
« Reply #6 on: February 24, 2005, 07:32:26 PM »

Quote
Oh, the know-it-all doesn't know bb4

Yea, nice to meet you too
Logged

boutros

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 53
Re: aMule CVS network usage
« Reply #7 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 :)
Logged