[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mkbmp and threads
- To: gcdev <gcdev@sseos.lbl.gov>
- Subject: mkbmp and threads
- From: Henrik Nordberg <HNordberg@lbl.gov>
- Date: Fri, 21 Aug 1998 19:29:33 -0700
- Organization: Lawrence Berkeley Laboratory, Berkeley, California
Hello,
It is possible to get file open errors when runnning mkbmp. This is
because there is a soft limit for how many file descriptors you can have
open. This is set by the shell. The default for tcsh is 64 fd:s. Use the
command:
limit descriptors 1024
to increase it. Or use the new optional argument to mkbmp to limit the
number of concurrent worker threads:
mkbmp Index/bin_spec.tdc Index 4
the last argument tells mkbmp to use a maximum of 4 threads to create
the index (plus the main thread, so top would show 5 threads).
Regards, Henrik
_________________________________________
Henrik Nordberg <hnordberg@lbl.gov>
Scientific Data Management Research Group
Lawrence Berkeley National Laboratory