Rob Hudson wrote: > > We recently set up a Samba server on Debian potato. After a little > uptime (about 30 minutes to an hour) we saw an error message that > said: > > VFS: file-max limit 4096 reached > > I did some searching on the net, and found what might be a solution. > I added a simple .sh script to the startup that increased the file-max > and inode-max via the following: > > echo 16384 > /proc/sys/fs/file-max > echo 65536 > /proc/sys/fs/inode-max > > That seemed to help a little. Now we are getting errors that say > something like 'no fork() resources available' or something like that.
check ulimit. from the sounds of it your running a very busy server. try ulimit -u 1024 and restart samba (from the same shell). if that works i would add it to the samba scripts in /etc/init.d or something to make it take affect the next time you reboot. nate -- ::: ICQ: 75132336 http://www.aphroland.org/ http://www.linuxpowered.net/ [EMAIL PROTECTED]