Về Việc: Re: MAXFD is always 1024
Hay Tran The <thecunghay-/[email protected]>
| Newsgroups | gmane.comp.web.web-polygraph.user |
|---|---|
| Message-ID | <[email protected]> |
Thanks Henrik, I can increase number of open file by adding ulimit before ./configure as you suggested. Now, I got problem that after running for a while, polyctl shows: "OS probably ran out of ephemeral ports at 10.101.0.1:0" Later on, polysrv stop because of " shutdown reason: inactivity timeout" How to increase ephemeral ports ? or anyway to come over this issue. Thanks Quang --- Henrik Nordstrom <[email protected]> Ä~Qã viết: > On Mon, 15 Aug 2005, Hay Tran The wrote: > > > Hi, > > I am using Redhat Linux ES 3.1 > > > > I have changed the maximum open files for OS by > doing all three things: > > - Edit /etc/sysctl.conf, add fs.file-max = 32768 , > then run #sysctl -p > > I can double check /proc/sys/fs/file-max and see > this figure 32768 > > > > - run command #ulimit -n 32768 > > > > - Edit /usrusr/include/bits/typesizes.h and set > > #define __FD_SETSIZE 32768 > > > > > > Next, I re-complile web-polygraph. I can see below > messages during "configure" is running: > > Do you do this in the same shell where you ran > ulimit a few lines up? > > Verify by running "ulimit -n ; ./configure ..." > > Regards > Henrik > ________________________________________________________ Bạn có sá» dụng Yahoo! không? http://vn.mail.yahoo.com/ Má»~Gt má»~Oi vì thư rác? Yahoo! Thư có tÃnh nÄ~Cng bảo vá»~G chá»~Qng thư rác tá»~Qt nhất trên mạng