Re: kern.ipc.nmbclusters limit reached makes a server go down,

看板FB_questions作者時間11年前 (2014/06/25 20:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/3 (看更多)
Thanks Eduardo what values do you recommend ? i have 1 gb of ram and rarely use more than = 20%, as it's a tor box only. should i add those values to ensure they enforce at boot in /etc/sysctl.con= f ? On Tuesday, June 24, 2014 7:08 PM, Eduardo Morras <emorrasg@yahoo.es> wrote: = On Tue, 24 Jun 2014 06:52:19 -0700 Stefan Stere <icetor.is@bitmessage.ro> wrote: > Hi, > = > I have a vmware virtual server running FreeBSD 10.0 STABLE > The virtual server has 100mbps port. > = > It is running a Tor router, consuming an average of 6-7 TB of monthly > traffic. Its the only purpose of the server. > = > Last night it went down, and vmware console log was saying: > [zone: Mbuf_cluster] kern.ipc.nmbclusters limit reached > = nmbclusters shows/sets the number of network buffers the system has. Each c= onnection needs one buffer, if you get a connection peak, it can be exhasut= ed. > = > I don't know what this means - the traffic of the server is unlimited > and nothing is capped in any way. What can I do to fix this? I have > read on freebsd wiki that I might need to add some lines to sysctl ? > can you please confirm? Thank you in advance. Show us the values of: #sysctl kern.ipc.nmbclusters kern.ipc.nmbclusters: 25600 #sysctl kern.ipc.somaxconn kern.ipc.somaxconn: 128 I put mine as example, but those values are for desktop use. Yours should b= e bigger (131072, 512, f.ex.), don't set an arbitrarly high value because i= ncreasing both values increase the memory needed by the kernel. HTH ---=A0 --- Eduardo Morras <emorrasg@yahoo.es> _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org " _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
文章代碼(AID): #1Jghd_8H (FB_questions)
文章代碼(AID): #1Jghd_8H (FB_questions)