[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: slapcat unable to make ldif file with size > 2GB

mukim pathan <mukim.iitkgp@gmail.com> writes:

> Hi,
> I have a 32 bit supporting OS. Actually I have other processes running on it and hence it's not possible to upgrade the
> whole OS. is there any other way? I mean if ldapsearch can work like slapcat or if slapcat can make many files of size 2
> GB then also I don't have any problem.
> Regards,
> Mukim Pathan
> On Sun, Jun 7, 2009 at 7:21 AM, Brett @Google <brett.maxfield@gmail.com> wrote:
>     Hi,
>     This might happen on a 32 bit kernel, or perhaps you are using 32 bit BDB libraries..
>     If this is the case, you will need to upgrade your OS or recompile openldap against 64 bit libraries. i'd setup a
>     test system, and validate which of the above is true.
>     i think on Linux it would be a kernel/policy issue, on solaris it would be a linking issue, as by default both the
>     openldap and BDB configure only picks up 32 bit libraries, solaris ships both 32 and 64 bit libraries, but he 64 bit
>     libraries are in /usr/lib/sparcv9 (not the default location).
>     there is some chance that it's a policy restriction also, check "ulimit -a" for max file size.
>     Cheers
>     Brett
>     On Fri, Jun 5, 2009 at 11:46 PM, mukim pathan <mukim.iitkgp@gmail.com> wrote:
>         Hi,
>         I am trying to create backup of database using slapcat. But as soon as .ldif file reaches size of 2GB, it is
>         giving me an error of File Size Limit Exceeded and quitting the process.
>         I am using bdb 2.3.43. Is there anything I can do about it?

This seems to be a file system error, what is the output of ulimit -f-d
and check the file system capabilities.


Dieter Klünter | Systemberatung
sip: +49.180.1555.7770535