On Wed, Feb 27, 2002 at 11:52:02AM +0100, Schramp, R. wrote: > Hello All, > > First, thanks for the fast response, I am still a bit puzzled though. > > > > I understand from this statement that the amount of data > > needed is about > > > 16Kbyte per connection, of which 350 bytes is non > > swappeble. This seems like > > > an awfull lot of data for one TCP session. > > > > where do you get the 16k from? it's 350 bytes. > > Well 16Kb is the number I get when I device 64Mb by 4096....... > > Am I correct when I conclude that the FAQ is incorrect???? (My puzzlement > starts here, no flame intended...)
4096 is an arbitrary limit imposed by /proc/sys/net/ipv4/ip_conntrack_max. And this limit is derived from the systems total amount of memory at startup time. This is something totally different than the hardware-imposed limit once you run out of memory. The description just wants to tell you that you can set the software limit to a higher value, as long as you consider your amount of free memory. You should never set the software limit to something higher than your hardware does. > Because the FAQ clearly states that 64Mb memory corresponds to 4096 > connections. Or is the important word in this scentence "SIMULTANEOUS" which > is not directly related to the total number of connections (e.g. answer "c" > of my example). the key phrae is "by default". And it goes on "you can easily increase" > Ruud Schramp > -- Live long and prosper - Harald Welte / [EMAIL PROTECTED] http://www.gnumonks.org/ ============================================================================ GCS/E/IT d- s-: a-- C+++ UL++++$ P+++ L++++$ E--- W- N++ o? K- w--- O- M+ V-- PS++ PE-- Y++ PGP++ t+ 5-- !X !R tv-- b+++ !DI !D G+ e* h--- r++ y+(*)