Samba &| VFS
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.
Upon boot, I see this message:
VFS: Mounted root (ext2 filesystem) readonly.
even though I'm able to write to the root filesystem.
I don't know what other clues I can leave. Thanks for any help on
this. I'm not sure if it is a Samba issue or a kernel issue or a
filesystem issue. All the server is running is ssh, apache, samba,
and the other basic services (cron, inetd, etc).
Thanks.
Reply to: