SnapStream Forums

Go Back   SnapStream Forums > User-to-User Troubleshooting & Support Forums > Beyond TV and Beyond TV Link User-to-User Troubleshooting & Support Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-19-2006, 06:15 AM
Registered User
 
Join Date: Jul 2006
Posts: 89
btvagent opens hundreds of sockets

I asked this in another forum but no answer. Is it normal for the btvagent to open tons of sockets? What are they for? They seem to constantly churn on my system, opening and closing constantly, it's sort of a mess if you are doing other network stuff.
Reply With Quote
  #2 (permalink)  
Old 09-19-2006, 07:09 AM
merrypig's Avatar
...
 
Join Date: Oct 2002
Posts: 4,404
Re: btvagent opens hundreds of sockets

As long as they are being closed why worry?

I've run into some issues on other applications where they didn't close a socket properly and it built up in the tables of my router until it eventually failed routing. That was exacerbated (Go shaun!) by a stupid several hour timeout on the socket by the router. Changing that timeout to minutes solved the problem.
__________________
Sleep well Kismet
Reply With Quote
  #3 (permalink)  
Old 09-19-2006, 02:38 PM
Registered User
 
Join Date: Mar 2006
Posts: 94
Re: btvagent opens hundreds of sockets

Quote:
Originally Posted by merrypig View Post
As long as they are being closed why worry?
Because minus the guide update, which isn't continuously operating, a DVR should have little use of networking, and the presence of a lot of socket connections indicates a problem.
Reply With Quote
  #4 (permalink)  
Old 09-19-2006, 03:00 PM
merrypig's Avatar
...
 
Join Date: Oct 2002
Posts: 4,404
Re: btvagent opens hundreds of sockets

No, it demonstrates a lack of knowledge about the product. For example, read up on NetRemoting and inter process communication.
__________________
Sleep well Kismet
Reply With Quote
  #5 (permalink)  
Old 09-19-2006, 05:12 PM
Registered User
 
Join Date: Jul 2006
Posts: 89
Re: btvagent opens hundreds of sockets

I program .net remoting interfaces in my work, and I know about this. This is why I'm wondering why the btvagent would open hundreds of sockets at the same time. As it starts to open them it reaches some sort of limit, more than 100 I estimate, perhaps up to 200, I haven't counted them. I use sysinternals tcpview to view the connection list. These are all connections to localhost that don't seem to be doing anything. The hard drive churns along in step with this process, which is what first led me to look into it. When this limit is reached it seems to start churning them, for lack of a better term, opens and closes sockets, but the count stays absurdly high.

I wish someone in programming at snapstream could comment on what I'm seeing. Is this normal, expected?
Reply With Quote
  #6 (permalink)  
Old 09-19-2006, 06:54 PM
merrypig's Avatar
...
 
Join Date: Oct 2002
Posts: 4,404
Re: btvagent opens hundreds of sockets

Well if it counts for anything, the BTV Networking process sits at 2-3% cpu on my box and has done for almost all 4.x releases. I've bugged/complained and otherwise moaned about it officially during beta development and it's never been considered problematic or given a second look.

I suspect it's 'by design', not necessarily desireable, but in short, not going to change.
__________________
Sleep well Kismet
Reply With Quote
  #7 (permalink)  
Old 09-19-2006, 08:26 PM
nanook105's Avatar
Integration Man
 
Join Date: Jun 2003
Location: Naperville, IL
Posts: 8,017
Re: btvagent opens hundreds of sockets

Quote:
Originally Posted by parisology View Post
I program .net remoting interfaces in my work, and I know about this. This is why I'm wondering why the btvagent would open hundreds of sockets at the same time. As it starts to open them it reaches some sort of limit, more than 100 I estimate, perhaps up to 200, I haven't counted them. I use sysinternals tcpview to view the connection list. These are all connections to localhost that don't seem to be doing anything. The hard drive churns along in step with this process, which is what first led me to look into it. When this limit is reached it seems to start churning them, for lack of a better term, opens and closes sockets, but the count stays absurdly high.

I wish someone in programming at snapstream could comment on what I'm seeing. Is this normal, expected?
If you want and answer from support you need to submit a tech support request
__________________

Media- 5 Tuners XP SP2 BTV 4.9.X
Asus P4S8X|P4 2.4|FX5200|PVR350/250/150/NVidia DualTV|OB SNDMAX

DVD - 10 Tuners XP SP2 BTV 4.9.X
Asus P4800E Dlx|P4 3.0 HT|FX5700|2GB Mem|PVR250/PVR150//2 PVRUSB2/]3 HDHomeRun/QAM

3 BTV Links - All XP SP2 BTV 4.9.X, BM 1.1, Firelfy

Family Room Asus P4800 Dlx|P4 2.6HT|7600GT
Treadmill Shuttle P4 2.6HT|6600GT
Basement Asus P4800 Dlx|P4 3.0HT|6600GT
Reply With Quote
  #8 (permalink)  
Old 05-02-2007, 08:37 AM
Registered User
 
Join Date: Jul 2006
Posts: 148
Re: btvagent opens hundreds of sockets

I recently posted in another thread. But this one is more appropriate.

Was the cause of this behavior ever discovered?

I've found it mentioned in a few different threads but no responses as to the cause/reason, or a fix for this behavior.

I'm currently running BTV 4.4 and no software firewalls. Is this behavior still evident in the latest version of BTV?

And I understand that this doesn't effect system performance to a great extent. But it shouldn't be normal behavior and I don't want to chance it conflicting with any of the ports used by my other services.
Reply With Quote
  #9 (permalink)  
Old 11-06-2009, 11:24 PM
Registered User
 
Join Date: Jul 2006
Posts: 89
Re: btvagent opens hundreds of sockets

I am trying Link again... it's been a couple of years as you can see from the first post. Link is failing after a while, and tcpview on the host is showing about 256 zombie connections to the Link client. I am trying to at least close the connections down, so far no luck. This has to have something to do with why Link fails. Has it run out of socket connections? I think there is something wrong with the software.

The only way I can reconnect with link is to reboot the host machine... this is way too drastic. Not hoping for a fix of course, I am a realist. If you have a working Link connection that has been up over an hour perhaps you can run tcpview on the host and report the number of connections to the Link client.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
btvagent opening hundreds of ports? parisology Beyond TV and Beyond TV Link 0 09-15-2006 12:56 PM
BTV opens on startup aab1 Beyond TV and Beyond TV Link User-to-User Troubleshooting & Support Forum 7 06-27-2006 08:47 PM
What is BTVagent and why does it hang my system? fester Beyond TV and Beyond TV Link User-to-User Troubleshooting & Support Forum 6 02-23-2005 10:55 AM
Standby creates hundreds of short files mikeosbornma Beyond TV and Beyond TV Link 0 11-14-2004 06:52 PM


All times are GMT -6. The time now is 02:23 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.0 RC1
©2004-2006 Snapstream Media