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

Robartes,

Thanks for the reply. The .dir file is 152 MEG and the .pag file is 704 MEG.


Kevin-

Replies are listed 'Best First'.
Re: Re: Re: Error creating database file
by robartes (Priest) on Oct 24, 2002 at 12:39 UTC
    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-

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

      -Kevin
      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"...