LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Samba 4 alpha13 - too many opened files (http://www.linuxquestions.org/questions/linux-server-73/samba-4-alpha13-too-many-opened-files-860533/)

KamasCZ 02-03-2011 02:31 PM

Samba 4 alpha13 - too many opened files
 
Hello everyone,
I have yust instaled Samba 4 on my Slackare64 Linux. Everything works fine - I can add users, join computers and I can set privilegies on shared files.

But when I started to zip files that were on samba share (from win7), I got error in aplication (7-zip) and in samba log, i found this:

Code:

2011-02-03_20:56:14.10176 ../ntvfs/posix/pvfs_open.c:1557 mapped errno NT_STATUS_TOO_MANY_OPENED_FILES for /full/path/to/file/and/filename (was 24)
I think the limit is 1024 pre one samba child, because when idle, samba have about 1000 opened files and when backup starts, is wil rise to about 2000 and start write errors to log.

Can anybody help me?

KamasCZ 02-04-2011 12:02 PM

I already solved it. :-)
In the end, it was my mistake - ulimit -n was set too low.


All times are GMT -5. The time now is 12:28 AM.