Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Dec 1999 11:53:43 -0800
From:      Mike Smith <msmith@freebsd.org>
To:        Warner Losh <imp@village.org>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: tty level buffer overflows 
Message-ID:  <199912061953.LAA00484@mass.cdrom.com>
In-Reply-To: Your message of "Fri, 03 Dec 1999 11:14:47 MST." <199912031814.LAA11849@harmony.village.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> In message <199912030155.RAA02824@mass.cdrom.com> Mike Smith writes:
> : It's documented in the sio(4) manpage, which is always worth reading.
> 
> Even reading the sio manpage is unclear.  All it says is that things
> are too slow.  Steady state I don't get these, just every now and
> again it happens.  No apparent correlation to the time of day, cron
> jobs running, etc.
> 
> What I was wondering is if there is a way to, say, double the buffer
> size.  Also, what is the number of overflows mean?  Is that bytes?
> clists?  16byte chunks?  The overflow seems to happen just once and it
> is always a number less than 1000.  I'd gladly spend an extra 1-2k of
> memory to help my poor ppp machine over the humps.

Growing the buffer isn't the solution; it should be big enough already.  
We need to work out why a system that should have no trouble with the 
data rate in question is croaking so trivially.

-- 
\\ Give a man a fish, and you feed him for a day. \\  Mike Smith
\\ Tell him he should learn how to fish himself,  \\  msmith@freebsd.org
\\ and he'll hate you for a lifetime.             \\  msmith@cdrom.com




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912061953.LAA00484>