in reply to Writing to many (>1000) files at once

I think Solaris has (had?) a lot lower limit to open filehandles than linux does. Try it again keeping the filehandles in an array.
  • Comment on Re: Writing to many (>1000) files at once

Replies are listed 'Best First'.
Re^2: Writing to many (>1000) files at once
by jhourcle (Prior) on Aug 14, 2006 at 23:22 UTC

    Solaris does have lower limits by default. Look at rlim_fd_max and the ulimit command.

    For linux, look at file-max and the limit command.