Andi Kleen wrote:

> On Fri, Jun 30, 2000 at 09:47:41AM -0700, Aaditya Rai wrote:
> > > Tanks for the reply.
> >
> > Can I really be running out of ports when there are not more than 20
> > connections at any given time. (The structure of  my program and netstat,
> > both verify this.)
> >
> > Netstat doesn;t show more than 5 connections in TIME_WAIT during the
> > operation.
>
> connect() only returns EAGAIN when it runs out of ports.
>
> sendmsg()et.al. can return EAGAIN when it runs out of memory or you're writing
> to a not yet connected non blocking socket.

And just to clarify...you may still have lots of free memory in the machine, just none
accessible in the kernel buffers or queues.  You can change some of the queue sizes
through the proc fs...and change the ethernet queue with the 'ip' command...

>
>
> -Andi
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to [EMAIL PROTECTED]

--
Ben Greear        [EMAIL PROTECTED]   Pager: 202-2717
(623) 581 4980    "More weight!" -- _The Crucible._
http://hydrogen:8080/home/greearb/public_html/index.html



-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to