We've recently upgraded our LDAP server from Centos (due to the IBM takeover of RedHat) to run on Ubuntu Server. The server has 64GB of RAM, and an 8 GB swap partition on a 480 GB SSD drive. We have a perl script that queries a main LDAP server and returns hits on first or last name as well as userid. The total volume of returned data is less than 4K.
This script ran for years on Centos, but will not run on Ubuntu, with an error output of "Out of memory!".
The ulimit command output shows identical values on both Centos and Ubuntu for all relevant memory limits, with:The free command on the Ubuntu server shows 557MB of free uncached memory, with 61GB available:max memory size (kbytes, -m) unlimited virtual memory (kbytes, -v) unlimited
I've searched here and via search engines for a solution, but can find none. Thanks for any idea you have to resolve this.# free -h total used free shared buff/cache + available Mem: 62Gi 557Mi 867Mi 5.0Mi 61Gi + 61Gi
In reply to Perl script works on Centos but not Ubuntu by harryhendo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |