sysctl kern.ipc.somaxconn limit 65535 why?

看板FB_current作者時間14年前 (2012/01/05 04:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/34 (看更多)
sunsaturn:~# sysctl -w kern.ipc.somaxconn=200000 kern.ipc.somaxconn: 4096 sysctl: kern.ipc.somaxconn: Invalid argument sunsaturn:~# sysctl -w kern.ipc.somaxconn=65536 kern.ipc.somaxconn: 4096 sysctl: kern.ipc.somaxconn: Invalid argument sunsaturn:~# sysctl -w kern.ipc.somaxconn=65535 kern.ipc.somaxconn: 4096 -> 65535 sunsaturn:~# Trying to stress test a framework here that tosses 100k of connections into a listen queue before doing anything, I realize I'll have to use multiple local IPs get get around port limitations, but why is this backlog using a limit? Dan. -- Dan The Man CTO/ Senior System Administrator Websites, Domains and Everything else http://www.SunSaturn.com Email: Dan@SunSaturn.com _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1F1BT2Ag (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1F1BT2Ag (FB_current)