What tell me do ?

Florian G. Pflug fgp at fgp.priv.at
Fri Jan 15 21:18:13 GMT 1999


> Nguyen Cao Dat wrote:
> > 
> > I have LINUX Redhat5.1 server  using to SAMBA server.
> > It has a error the  following :
> > GethostbyaddrERROR! Out of file structures - perhaps increase
> > MAX_OPEN_FILES?
> > ERROR! Out of file structures - perhaps increase MAX_OPEN_FILES?
> > ERROR! Out of file structures - perhaps increase MAX_OPEN_FILES?
> > ERROR! Out of file structures - perhaps increase MAX_OPEN_FILES?
> > ERROR! Out of file structures - perhaps increase MAX_OPEN_FILES?
> > ERROR! Out of file structures - perhaps increase MAX_OPEN_FILES?
> > ERROR! Out of file structures - perhaps increase MAX_OPEN_FILES?
> > 
> > Tell me do what ?
> 
> This is *NOT* an error message from samba - BUT FROM LINUX !!!
> 
> You have to increase the value of the kernel variable MAX_OPEN_FILES and
> then recompile your Linux-Kernel and reboot with your now kernel.
> 
> Unfortunately I have no idea where the find/edit the kernel variables in
> Linux. But some Linux-Guru might help you here!
Just grep through the sources - something like 

find /usr/src/linux | xargs grep -i "MAX_OPEN_FILES" | grep -i "define" 

                                                  Greetings, FLorian Pflug


More information about the samba mailing list