Facebook
From Round Peafowl, 3 Years ago, written in Plain Text.
This paste is a reply to Untitled from Ample Mosquito - view diff
Embed
Download Paste or View Raw
Hits: 152
  1. cat /var/lib/ldap/DB_CONFIG
  2. set_cachesize 0 20970152 0
  3. set_lk_max_objects 2500
  4. set_lk_max_locks 2500
  5. set_lk_max_lockers 2500
  6.  
  7.  
  8.  
  9.  
  10. db_stat -c -h /var/lib/ldap/
  11. 3280    Last allocated locker ID
  12. 0x7fffffff      Current maximum unused locker ID
  13. 9       Number of lock modes
  14. 500     Initial number of locks allocated
  15. 0       Initial number of lockers allocated
  16. 500     Initial number of lock objects allocated
  17. 2500    Maximum number of locks possible
  18. 2500    Maximum number of lockers possible
  19. 2500    Maximum number of lock objects possible
  20. 500     Current number of locks allocated
  21. 63      Current number of lockers allocated
  22. 500     Current number of lock objects allocated
  23. 100     Number of lock object partitions
  24. 2053    Size of object hash table
  25. 10      Number of current locks
  26. 1114    Maximum number of locks at any one time
  27. 12      Maximum number of locks in any one bucket
  28. 43M     Maximum number of locks stolen by for an empty partition (43591395)
  29. 459326  Maximum number of locks stolen for any one partition
  30. 51      Number of current lockers
  31. 57      Maximum number of lockers at any one time
  32. 10      Number of current lock objects
  33. 593     Maximum number of lock objects at any one time
  34. 5       Maximum number of lock objects in any one bucket
  35. 1706    Maximum number of objects stolen by for an empty partition
  36. 21      Maximum number of objects stolen for any one partition
  37. 5059M   Total number of locks requested (5059796510)
  38. 5016M   Total number of locks released (5016204795)
  39. 0       Total number of locks upgraded
  40. 2182    Total number of locks downgraded
  41. 116M    Lock requests not available due to conflicts, for which we waited (116209728)
  42. 224     Lock requests not available due to conflicts, for which we did not wait
  43. 86      Number of deadlocks
  44. 0       Lock timeout value
  45. 0       Number of locks that have timed out
  46. 0       Transaction timeout value
  47. 0       Number of transactions that have timed out
  48. 632KB   Region size
  49. 199M    The number of partition locks that required waiting (1%)
  50. 2289302 The maximum number of times any partition lock was waited for (2%)
  51. 48368   The number of object queue operations that required waiting (0%)
  52. 130M    The number of locker allocations that required waiting (3%)
  53. 15113   The number of region locks that required waiting (0%)
  54. 5       Maximum hash bucket length
  55.