Home All Groups Group Topic Archive Search About

Dot.Net Error -- any idea? "System.Net.Sockets.SocketException:"

Author
6 Mar 2007 8:33 PM
Ringholz, Blake
We are running Windows Server 2003 Standard SP1 with both IIS and SQL2000
running on the same box (and Dot Net 1.1).   We'll start our application,
and it will make a TCP/IP connection to a host computer, but after a few
hours, we'll see this error:



"System.Net.Sockets.SocketException: An operation on a socket could not be
performed because the system lacked sufficient buffer space or because a
queue was full"



We found a KB article about if you have more than 50 protocols bound to
multiple interfaces, then that could be the issue, but we are only running 1
Network connection, and only 1 protocol (TCP/IP).



Any ideas?

Author
6 Mar 2007 9:41 PM
Chris Mullins [MVP]
I would expect to see that if your socket receiver isn't pulling data out of
Windows quickly enough.

If your server stops pulling data out of the buffer (your receive thread
gets deadlocked or terminated, you forget to call BeginReceive, or some
other related issue) then Windows will
queue up data for a bit, then reject incoming data. This sounds to me like
what you're seeing.

--
Chris Mullins, MCSD.NET, MCPD:Enterprise, Microsoft C# MVP
http://www.coversant.com/blogs/cmullins

Show quote
"Ringholz, Blake" <bringh***@Galvanon.com> wrote in message
news:0002E833-E798-4F99-9E66-6B86EEA61FD9@microsoft.com...
> We are running Windows Server 2003 Standard SP1 with both IIS and SQL2000
> running on the same box (and Dot Net 1.1).   We'll start our application,
> and it will make a TCP/IP connection to a host computer, but after a few
> hours, we'll see this error:
>
>
>
> "System.Net.Sockets.SocketException: An operation on a socket could not be
> performed because the system lacked sufficient buffer space or because a
> queue was full"
>
>
>
> We found a KB article about if you have more than 50 protocols bound to
> multiple interfaces, then that could be the issue, but we are only running
> 1 Network connection, and only 1 protocol (TCP/IP).
>
>
>
> Any ideas?
>

AddThis Social Bookmark Button