I suppose I should also mention the older version of OpenLDAP we are running. It's openldap-2.4.17.
From: Jack Kielsmeier Sent: Friday, February 13, 2015 9:40 AM To: openldap-technical@openldap.org Subject: Is OpenLDAP PAE Aware?
Hello,
We have an older LDAP server running on a 32-bit Linux OS. We've had slapd crash 2 times now, running out of memory. The box only has 2GB of RAM, but it's using PAE capable hardware and PAE support is enabled in Linux. We are debating if we should simply just add more RAM to the box, or rebuild the server. Obviously, rebuilding the server would be the best solution, but adding more RAM would be the quickest.
Is 32-bit OpenLDAP able to address 4GB of memory?
Thanks,
-
[cid:image003.png@01CFB713.F712CDA0]http://www.lightedge.com/
Jack Kielsmeier Systems Engineer
Phone: 515-471-1712
E-mail: jkielsmeier@lightedge.commailto:jkielsmeier@lightedge.com
Follow Us: [cid:image012.png@01CFB715.39A84900] http://twitter.com/lightedge [cid:image013.png@01CFB715.39A84900] http://www.linkedin.com/groups?gid=1846184&trk=hb_side_g [cid:image014.png@01CFB715.39A84900] http://www.facebook.com/pages/Des-Moines-IA/LightEdge-Solutions/105451056954 [cid:image010.png@01CFB713.F712CDA0] http://blog.lightedge.com/
"This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation."
On Fri, Feb 13, 2015 at 03:43:25PM +0000, Jack Kielsmeier wrote:
I suppose I should also mention the older version of OpenLDAP we are running. It's openldap-2.4.17.
We've run OpenLDAP on a PAE host with 6G of memory. PAE only affects how the kernel tracks pages of memory; a userland process doesn't care.
A single process is still capped, more or less, at 3G:
http://www.spack.org/wiki/LinuxRamLimits
Jack Kielsmeier Systems Engineer
Phone: 515-471-1712
E-mail: jkielsmeier@lightedge.commailto:jkielsmeier@lightedge.com
Follow Us: [cid:image012.png@01CFB715.39A84900] http://twitter.com/lightedge [cid:image013.png@01CFB715.39A84900] http://www.linkedin.com/groups?gid=1846184&trk=hb_side_g [cid:image014.png@01CFB715.39A84900] http://www.facebook.com/pages/Des-Moines-IA/LightEdge-Solutions/105451056954 [cid:image010.png@01CFB713.F712CDA0] http://blog.lightedge.com/
"This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation."
OK. Thank you for the info.
-----Original Message----- From: Brian Reichert [mailto:reichert@numachi.com] Sent: Friday, February 13, 2015 9:48 AM To: Jack Kielsmeier Cc: openldap-technical@openldap.org Subject: Re: Is OpenLDAP PAE Aware?
On Fri, Feb 13, 2015 at 03:43:25PM +0000, Jack Kielsmeier wrote:
I suppose I should also mention the older version of OpenLDAP we are running. It's openldap-2.4.17.
We've run OpenLDAP on a PAE host with 6G of memory. PAE only affects how the kernel tracks pages of memory; a userland process doesn't care.
A single process is still capped, more or less, at 3G:
http://www.spack.org/wiki/LinuxRamLimits
Jack Kielsmeier Systems Engineer
Phone: 515-471-1712
E-mail: jkielsmeier@lightedge.commailto:jkielsmeier@lightedge.com
Follow Us: [cid:image012.png@01CFB715.39A84900] http://twitter.com/lightedge [cid:image013.png@01CFB715.39A84900] http://www.linkedin.com/groups?gid=1846184&trk=hb_side_g [cid:image014.png@01CFB715.39A84900] http://www.facebook.com/pages/Des-Moines-IA/LightEdge-Solutions/10545 1056954 [cid:image010.png@01CFB713.F712CDA0] http://blog.lightedge.com/
"This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation."
At Fri, 13 Feb 2015 10:47:31 -0500 Brian Reichert reichert@numachi.com wrote:
On Fri, Feb 13, 2015 at 03:43:25PM +0000, Jack Kielsmeier wrote:
I suppose I should also mention the older version of OpenLDAP we are running. It's openldap-2.4.17.
We've run OpenLDAP on a PAE host with 6G of memory. PAE only affects how the kernel tracks pages of memory; a userland process doesn't care.
Right. PAE is just a way for a *32-bit* system, with a 32-bit address space: 4G, less system overhead (eg PCI bus addresses, etc.) to make use of more than 3.5G of *physical* memory. It is also used when a 64-system is running with a 32-bit operating system (32-bit kernel). Only the kernel knows about PAE. Userland processes only see a 32-bit address space. OpenLDAP, like any other userland process is NOT ever 'PAE Aware', although if you are running a 32-bit version of OpenLDAP on a 32-bit operating system (kernel) on PAE hardware and if the kernel is built with PAE support, the PAE hardware will be used, but OpenLDAP won't be aware if it in any sense -- it will just see upto all of about 3.5G of memory and will totally unaware that *other* processes (and the kernel) will be using other memory (as if the kernel and the rest of the system somehow were using no physical memory at all).
A single process is still capped, more or less, at 3G:
http://www.spack.org/wiki/LinuxRamLimits
Jack Kielsmeier Systems Engineer
Phone: 515-471-1712
E-mail: jkielsmeier@lightedge.commailto:jkielsmeier@lightedge.com
Follow Us: [cid:image012.png@01CFB715.39A84900] http://twitter.com/lightedge [cid:image013.png@01CFB715.39A84900] http://www.linkedin.com/groups?gid=1846184&trk=hb_side_g [cid:image014.png@01CFB715.39A84900] http://www.facebook.com/pages/Des-Moines-IA/LightEdge-Solutions/105451056954 [cid:image010.png@01CFB713.F712CDA0] http://blog.lightedge.com/
"This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation."
openldap-technical@openldap.org