Skip to main content.
home | support | download

Back to List Archive

Re: resources problem osx

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Sat Jun 21 2003 - 14:28:07 GMT
On Fri, Jun 20, 2003 at 04:13:20AM -0700, Rolf Schatzmann wrote:
> Hi there,
> =20
> I am trying to use swish to index a ridiculously large collection of PDF
> files on a MacOSX Server (X-Serve)
> =20
> All was going well until Swish-E ran out of memory whilst building the
> index, no problem I thought, I'll just use the economy mode.
> =20
>  Unfortunately now I get the too many open files error from the System.
> =20
>  On linux this would be easy to fix, however I have a bad feeling that =
> under
> OSX (aka BSD) I have to re-compile the kernel to change this value. Does
> anyone know for sure if I can increase the max open files without
> re-compiling the kernel or have any other clever suggestions..

I don't know.  I suppose you need to ask on a BSD/OS X list.  Please 
post back here when you find out.

You can set the number of temp files used with -e in config.h:

#define MAX_LOC_SWAP_FILES 377


-- 
Bill Moseley
moseley@hank.org
Received on Sat Jun 21 14:28:08 2003