Messages in this thread | | | From | (Miquel van Smoorenburg) | Subject | Re: large fdset for 2.0.37 (fwd) | Date | 16 Jun 1999 09:41:49 +0200 |
| |
In article <cistron.Pine.LNX.4.02A.9906160134180.1344-100000@shell.wt.net>, Tom Tom Tom <dumbkid@wt.net> wrote: >After I patched the 2.0.37 w/ the large filehandle patch, >I set max number of open file per process to 2048 and set the >max number of process to 2048 also. Then put > >in the rc.local . I started seeing > >do_ypcall: clnt_call: RPC: Unable to receive; errno = Bad file descriptor >do_ypcall: clnt_call: RPC: Unable to receive; errno = Bad file descriptor >do_ypcall: clnt_call: RPC: Unable to receive; errno = Bad file descriptor > >in the apache error log. I recompiled apache,ypserv,ypbind and I still >get this error in the apache error_log. > >I don't have this error on 2.0.36 before. What could cause that?
Many library functions, esp. the RPC functions, do not work well when the # of open files is > 1024. Set the max. number of open files to 1024 and all will be well.
Mike. -- Indifference will certainly be the downfall of mankind, but who cares?
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |