in reply to Re: Re: Error creating database file
in thread Error creating database file

That adds up to 856M, which does not sound like a magic number at all. What filesystem is this, and do you know the filesize limit of said filesystem?

It probably wouldn't hurt to check diskspace as well, although you would expect a different error in that case.

CU
Robartes-

  • Comment on Re: Re: Re: Error creating database file

Replies are listed 'Best First'.
Re: Re: Re: Re: Error creating database file
by Anonymous Monk on Oct 24, 2002 at 14:43 UTC

    The system is running Compaq Tru64 Unix V4.0G and the filesize limit is unlimited.

    -Kevin
Re: Re: Re: Re: Error creating database file
by graff (Chancellor) on Oct 25, 2002 at 02:45 UTC
    There's no reason why the memory size limit should be expected to look like a magic number -- or even be the same number from one moment to the next. It will depend on the amount of free swap space, which might vary with how much file data is sitting around on /tmp.

    update: I noticed that the NDBM module man page does talk about "errno 22", which happens when a given key and/or value being stored is too large (the limit is said to be 1008 bytes for key and value combined), though I guess that's not relevant here -- or maybe it is, hard to say based on the code in the OP.

    Meanwhile, the "AnyDBM" man page cites "4k" as the "Size limit" for NDBM (hmm, I guess one of these two man pages might be off by about 3k), and it helpfully notes "?" for "Database Size"...