Re: question about fopen fd limit

2016-12-24 Thread Alfred Perlstein
;s Dr Zhang ? nice to meet you ! winson sheng winson sheng From: Hongjiang Zhang Date: 2016-12-23 11:44 To: 盛慧华; freebsd-net Subject: RE: RE: question about fopen fd limit Ok. I know. There are two possible solutions:

RE: RE: question about fopen fd limit

2016-12-23 Thread Hongjiang Zhang via freebsd-net
...@corp.netease.com] Sent: Friday, December 23, 2016 11:02 AM To: Hongjiang Zhang ; freebsd-net Subject: Re: RE: question about fopen fd limit hi all, not map TCP to FILE, you misunderstanding my meaning~ for example, if my server tcp already holds 32000 connection fopen only has 767 fd to

Re: RE: question about fopen fd limit

2016-12-23 Thread 盛慧华
Zhang ? nice to meet you ! winson sheng winson sheng From: Hongjiang Zhang Date: 2016-12-23 11:44 To: 盛慧华; freebsd-net Subject: RE: RE: question about fopen fd limit Ok. I know. There are two pos

RE: question about fopen fd limit

2016-12-22 Thread Hongjiang Zhang via freebsd-net
: Thursday, December 22, 2016 11:57 PM To: freebsd-net Subject: question about fopen fd limit hi all, hi~ we are from Chinese Game Develop Corp, Netease. and One of our product using FreeBsd as its OS platform. This Game has Millions of players online , and Each Server may holds 25000+ tcp

Re: RE: question about fopen fd limit

2016-12-22 Thread 盛慧华
ugh for me, and i don't wanna change a lot of FILE function that take FILE * as its argument ~ Thank you ~~~ winson sheng winson sheng From: Hongjiang Zhang Date: 2016-12-23 10:17 To: 盛慧华; freebsd-net Subject: RE: question about fopen fd limi

Re: question about fopen fd limit

2016-12-22 Thread Anton Yuzhaninov
On 12/22/16 10:57, 盛慧华 wrote: and even in BSD 10 , it seems this short limit still there , but other OS as debian , FILE strucnt's fileno is a int . * Certain members of __sFILE are accessed directly via macros or * inline functions. To preserve ABI compat, these members must not * be di

question about fopen fd limit

2016-12-22 Thread 盛慧华
hi all, hi~ we are from Chinese Game Develop Corp, Netease. and One of our product using FreeBsd as its OS platform. This Game has Millions of players online , and Each Server may holds 25000+ tcp connection at the same time.Thanks to BSD and kqueue :) for example, it's one of our