Version: 0.4.9
OS: Ubuntu Hardy (8.04)
Install-type: Linux Manual
Skin (if applicable): Plush
Firewall Software: pfSense
Are you using IPV6? nope
Is the issue reproducible? kinda
Stunnel4 = 4.21
I have my linux server also running Stunnel4. I have sabnzbd setup to connect to localhost:119 for the server. Stunnel will grab it and then relay on to giganews using their ssl connections.
What I notice from time to time is that my speed will degrade on downloads. If I restart stunnel, things clear up and are fine.
When I restart stunnel I will see an awful large amount of CLOSE_WAIT on a netstat. For example
Code: Select all
~$ netstat -a | grep nntp
tcp 0 0 *:nntp *:* LISTEN
tcp 7 0 localhost:nntp localhost:36350 CLOSE_WAIT
tcp 7 0 localhost:nntp localhost:33011 CLOSE_WAIT
tcp 7 0 localhost:nntp localhost:33007 CLOSE_WAIT
tcp 7 0 localhost:nntp localhost:45410 CLOSE_WAIT
tcp 0 0 172.31.100.5:57061 news.giganews.com:nntps ESTABLISHED
tcp 0 0 localhost:nntp localhost:46555 ESTABLISHED
tcp 7 0 localhost:nntp localhost:40339 CLOSE_WAIT
tcp 0 0 localhost:41425 localhost:nntp ESTABLISHED
tcp 0 0 localhost:41424 localhost:nntp ESTABLISHED
tcp 7 0 localhost:nntp localhost:34999 CLOSE_WAIT
tcp 0 0 localhost:41423 localhost:nntp ESTABLISHED
tcp 0 0 localhost:nntp localhost:46556 ESTABLISHED
tcp 7 0 localhost:nntp localhost:40325 CLOSE_WAIT
tcp 0 0 localhost:nntp localhost:46557 ESTABLISHED
tcp 7 0 localhost:nntp localhost:35015 CLOSE_WAIT
tcp 7 0 localhost:nntp localhost:50069 CLOSE_WAIT
tcp 7 0 localhost:nntp localhost:36351 CLOSE_WAIT
tcp 7 0 localhost:nntp localhost:35000 CLOSE_WAIT
tcp 7 0 localhost:nntp localhost:45412 CLOSE_WAIT
tcp 7 0 localhost:nntp localhost:36348 CLOSE_WAIT
tcp 7 0 localhost:nntp localhost:34998 CLOSE_WAIT
tcp 0 0 localhost:41422 localhost:nntp ESTABLISHED
tcp 0 0 localhost:41421 localhost:nntp ESTABLISHED
tcp 7 0 localhost:nntp localhost:45414 CLOSE_WAIT
tcp 0 0 localhost:nntp localhost:41425 ESTABLISHED
tcp 7 0 localhost:nntp localhost:40328 CLOSE_WAIT
tcp 8640 0 172.31.100.5:57064 news.giganews.com:nntps ESTABLISHED
tcp 7 0 localhost:nntp localhost:41994 CLOSE_WAIT
tcp 7 0 localhost:nntp localhost:46561 CLOSE_WAIT
tcp 7 0 localhost:nntp localhost:36349 CLOSE_WAIT
tcp 7 0 localhost:nntp localhost:33009 CLOSE_WAIT
tcp 7 0 localhost:nntp localhost:35001 CLOSE_WAIT
tcp 7 0 localhost:nntp localhost:35011 CLOSE_WAIT
tcp 7 0 localhost:nntp localhost:33010 CLOSE_WAIT
tcp 7 0 localhost:nntp localhost:34997 CLOSE_WAIT
tcp 0 0 localhost:nntp localhost:46554 ESTABLISHED
tcp 7 0 localhost:nntp localhost:40327 CLOSE_WAIT
tcp 7 0 localhost:nntp localhost:36347 CLOSE_WAIT
tcp 0 0 localhost:46554 localhost:nntp ESTABLISHED
tcp 0 0 172.31.100.5:57063 news.giganews.com:nntps ESTABLISHED
tcp 7 0 localhost:nntp localhost:41995 CLOSE_WAIT
tcp 7 0 localhost:nntp localhost:46562 CLOSE_WAIT
tcp 7 0 localhost:nntp localhost:46559 CLOSE_WAIT
tcp 4320 0 172.31.100.5:57060 news.giganews.com:nntps ESTABLISHED
tcp 0 0 172.31.100.5:57065 news.giganews.com:nntps ESTABLISHED
tcp 7 0 localhost:nntp localhost:46558 CLOSE_WAIT
tcp 7 0 localhost:nntp localhost:41996 CLOSE_WAIT
tcp 7 0 localhost:nntp localhost:41997 CLOSE_WAIT
tcp 7 0 localhost:nntp localhost:33008 CLOSE_WAIT
tcp 0 0 localhost:nntp localhost:41423 ESTABLISHED
tcp 7 0 localhost:nntp localhost:50068 CLOSE_WAIT
tcp 0 0 localhost:nntp localhost:41422 ESTABLISHED
tcp 0 0 localhost:nntp localhost:46553 ESTABLISHED
tcp 7 0 localhost:nntp localhost:50070 CLOSE_WAIT
tcp 7 0 localhost:nntp localhost:40337 CLOSE_WAIT
tcp 7 0 localhost:nntp localhost:40326 CLOSE_WAIT
tcp 7 0 localhost:nntp localhost:46560 CLOSE_WAIT
tcp 7 0 localhost:nntp localhost:35014 CLOSE_WAIT
tcp 0 0 localhost:nntp localhost:41424 ESTABLISHED
tcp 7 0 localhost:nntp localhost:35012 CLOSE_WAIT
tcp 7 0 localhost:nntp localhost:35013 CLOSE_WAIT
tcp 0 0 localhost:46556 localhost:nntp ESTABLISHED
tcp 7 0 localhost:nntp localhost:40340 CLOSE_WAIT
tcp 7 0 localhost:nntp localhost:40324 CLOSE_WAIT
tcp 7 0 localhost:nntp localhost:45413 CLOSE_WAIT
tcp 7 0 localhost:nntp localhost:50071 CLOSE_WAIT
tcp 0 0 localhost:nntp localhost:41421 ESTABLISHED
tcp 7 0 localhost:nntp localhost:41993 CLOSE_WAIT
tcp 7 0 localhost:nntp localhost:45411 CLOSE_WAIT
tcp 0 0 localhost:46555 localhost:nntp ESTABLISHED
tcp 0 0 localhost:46553 localhost:nntp ESTABLISHED
tcp 7 0 localhost:nntp localhost:50072 CLOSE_WAIT
tcp 0 0 localhost:46557 localhost:nntp ESTABLISHED
tcp 7 0 localhost:nntp localhost:40336 CLOSE_WAIT
tcp 7 0 localhost:nntp localhost:40338 CLOSE_WAIT
Code: Select all
~$ netstat -a | grep nntp
tcp 0 0 *:nntp *:* LISTEN
tcp 0 0 172.31.100.5:53062 news.giganews.com:nntps ESTABLISHED
tcp 0 0 172.31.100.5:53060 news.giganews.com:nntps ESTABLISHED
tcp 0 0 172.31.100.5:53076 news.giganews.com:nntps ESTABLISHED
tcp 0 0 localhost:41447 localhost:nntp ESTABLISHED
tcp 0 0 localhost:41442 localhost:nntp ESTABLISHED
tcp 0 0 localhost:nntp localhost:41441 ESTABLISHED
tcp 0 0 172.31.100.5:53068 news.giganews.com:nntps ESTABLISHED
tcp 0 0 172.31.100.5:53059 news.giganews.com:nntps ESTABLISHED
tcp 0 16384 localhost:nntp localhost:41447 ESTABLISHED
tcp 0 0 localhost:41456 localhost:nntp ESTABLISHED
tcp 0 0 localhost:41453 localhost:nntp ESTABLISHED
tcp 0 13032 localhost:nntp localhost:41455 ESTABLISHED
tcp 0 0 localhost:nntp localhost:41457 ESTABLISHED
tcp 0 0 localhost:41457 localhost:nntp ESTABLISHED
tcp 0 0 localhost:41455 localhost:nntp ESTABLISHED
tcp 0 0 localhost:41445 localhost:nntp ESTABLISHED
tcp 0 0 172.31.100.5:53064 news.giganews.com:nntps ESTABLISHED
tcp 0 0 172.31.100.5:53066 news.giganews.com:nntps ESTABLISHED
tcp 0 0 localhost:nntp localhost:41442 ESTABLISHED
tcp 0 0 localhost:41441 localhost:nntp ESTABLISHED
tcp 0 0 172.31.100.5:53075 news.giganews.com:nntps ESTABLISHED
tcp 0 0 localhost:nntp localhost:41445 ESTABLISHED
tcp 0 0 localhost:nntp localhost:41451 ESTABLISHED
tcp 0 0 localhost:41451 localhost:nntp ESTABLISHED
tcp 0 0 localhost:nntp localhost:41449 ESTABLISHED
tcp 0 0 172.31.100.5:53074 news.giganews.com:nntps ESTABLISHED
tcp 0 0 localhost:41449 localhost:nntp ESTABLISHED
tcp 0 0 localhost:nntp localhost:41453 ESTABLISHED
tcp 0 0 localhost:nntp localhost:41456 ESTABLISHED
tcp 0 0 172.31.100.5:53070 news.giganews.com:nntps ESTABLISHED
Thanks