Too many open files when using clearcase
Jeremy Allison
jeremy at valinux.com
Thu Jan 27 22:44:29 GMT 2000
> "Backus, Ozzie" wrote:
>
> FYI:
> I'm using samba 2.0.6 for clearcase interoperation between Unix and NT, and while it works
> great 99% of the time, I run into a problem whenever I do a complete build on an NT system,
> which involves compiling ~1500 files. The first 1100 or so are compiled correctly, but then the following
> errors show up on the NT box:
>
> The system cannot open the
> device or file specified.
>
> And the following errors show up in the samba log file:
>
> [2000/01/10 17:42:48, 0] lib/doscalls.c:dos_GetWd(461)
> dos_GetWd: dos_getwd call failed, errno Too many open files
> ........................repeated hundreds of times ..............................
>
> [2000/01/10 17:42:48, 0] smbd/files.c:file_new(85)
> ERROR! Out of file structures
> .........................repeated 4 or 5 times .............................
>
> Does anyone have any suggestions on how to get around this? I've tried changing some of the MVFS
> parameters on the NT side, but that only made it worse.
>
> Thanks in advance for any help on this issue!
Set the "open files" to be a large number (5000) in the
shell you use to spawn the smbd.
Use the ulimit command to do this.
Regards,
Jeremy Allison,
Samba Team.
--
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
--------------------------------------------------------
More information about the samba
mailing list