Re: hadd: "too many open files"

From: Tom Roberts <tjrob_at_fnal.gov>
Date: Sat, 6 Aug 2011 09:26:01 -0500


On UNIX-derived systems (e.g. Mac and Linux), the ulimit command can increase the limit on the number of open files, up to some system-defined maximum. It is an internal shell command, and applies to all commands run from that shell. On my Mac, the default limit is 256, and the maximum I can set it to is 1024.

Tom Roberts

Noel Dawe wrote:
> I don't know why hadd needs to open all the files at the same time but
> probably a better way to write this tool would be to never open more
> than two files at once: copy the first file to the destination and keep
> it open, then pop off the next file, open it, merge it into the first,
> close it, then pop off the next file and open it, etc...
>
> Noel
Received on Sat Aug 06 2011 - 16:26:10 CEST

This archive was generated by hypermail 2.2.0 : Sat Aug 06 2011 - 23:50:02 CEST