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

(ITS#9162) dbMaxSize property does not as expected



Full_Name: Vijay Kumar
Version: 2.4.48
OS: windows
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (103.204.96.6)


if i try to set the value from property, i dont understand from where the value
1406945XXXXXX and getting set.

Please check the details mentioned.

1) olcDbMaxSize: 10485760

>mdb_stat.exe -rne "C:\testMaxSize2\mdb\data.mdb"
Environment Info
  Map address: 0000000000000000
  Map size: 140694549168128
  Page size: 4096
  Max pages: 34349255168
  Number of pages used: 2
  Last transaction ID: 0
  Max readers: 126
  Number of readers used: 0
Reader Table Status
(no active readers)

>slapd.exe -T add -F ..\slapd.d -l backupContent.ldif
5e37a371 mdb_db_open: database "o=abc.net" cannot be opened: ⁿ    (87).
Restore from backup!
5e37a371 backend_startup_one (type=mdb, suffix="o=abc.net"): bi_db_open failed!
(87)
slap_startup failed


2) olcDbMaxSize: 1048576

>slapd.exe -T add -F ..\slapd.d -l backupContent.ldif
5e37a5ef mdb_db_open: database "o=abc.net" cannot be opened: ⁿ    (87).
Restore from backup!
5e37a5ef backend_startup_one (type=mdb, suffix="o=abc.net"): bi_db_open failed!
(87)
slap_startup failed

>mdb_stat.exe -rne "C:\testMaxSize2\mdb\data.mdb"
Environment Info
  Map address: 0000000000000000
  Map size: 140694539730944
  Page size: 4096
  Max pages: 34349252864
  Number of pages used: 2
  Last transaction ID: 0
  Max readers: 126
  Number of readers used: 0
Reader Table Status
(no active readers)


3) olcDbMaxSize: 1024

>slapd.exe -T add -F ..\slapd.d -l backupContent.ldif
5e37a7fd mdb_db_open: database "o=abc.net" cannot be opened: ⁿ    (87).
Restore from backup!
5e37a7fd backend_startup_one (type=mdb, suffix="o=abc.net"): bi_db_open failed!
(87)
slap_startup failed

>mdb_stat.exe -rne "C:\testMaxSize2\mdb\data.mdb"
Environment Info
  Map address: 0000000000000000
  Map size: 140694538683392
  Page size: 4096
  Max pages: 34349252608
  Number of pages used: 2
  Last transaction ID: 0
  Max readers: 126
  Number of readers used: 0
Reader Table Status
(no active readers)


5) olcDbMaxSize 10

>slapd.exe -T add -F ..\slapd.d -l backupContent.ldif
5e37a92b mdb_db_open: database "o=abc.net" cannot be opened: ⁿ    (87).
Restore from backup!
5e37a92b backend_startup_one (type=mdb, suffix="o=abc.net"): bi_db_open failed!
(87)
slap_startup failed

>mdb_stat.exe -rne "C:\testMaxSize2\mdb\data.mdb"
Environment Info
  Map address: 0000000000000000
  Map size: 140694538682378
  Page size: 4096
  Max pages: 34349252608
  Number of pages used: 2
  Last transaction ID: 0
  Max readers: 126
  Number of readers used: 0
Reader Table Status
(no active readers)


6) olcDbMaxSize 1


>slapd.exe -T add -F ..\slapd.d -l backupContent.ldif
5e37a92b mdb_db_open: database "o=abc.net" cannot be opened: ⁿ    (87).
Restore from backup!
5e37a92b backend_startup_one (type=mdb, suffix="o=abc.net"): bi_db_open failed!
(87)
slap_startup failed

>mdb_stat.exe -rne "C:\testMaxSize2\mdb\data.mdb"
Environment Info
  Map address: 0000000000000000
  Map size: 140694538682369
  Page size: 4096
  Max pages: 34349252608
  Number of pages used: 2
  Last transaction ID: 0
  Max readers: 126
  Number of readers used: 0
Reader Table Status
(no active readers)

7) olcDbMaxSize not set

>mdb_stat.exe -rne "C:\testMaxSize2\mdb\data.mdb"
Environment Info
  Map address: 0000000000000000
  Map size: 1048576
  Page size: 4096
  Max pages: 256
  Number of pages used: 254
  Last transaction ID: 104
  Max readers: 126
  Number of readers used: 0
Reader Table Status
(no active readers)