Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Why is ulimit -l value 64?

I am trying to prepare the server running Oracle linux 8.8 for Oracle database 19c installation.

I installed oracle-database-preinstall-19c.rpm and ulimit -l value started showing unexpected to me value of ‘64’.

It's my first time configuring a server so i need some help in understanding ‘ulimit -l’ value.

I expect it to be the value set in the /etc/limits.conf for * (all) users and value from /etc/limits.d/oracle-database-preinstall-19c.conf for ‘oracle’ user but i see ‘64’ using both xrdp connection and local log in for all users.

However when i open a console and switch user using ‘su’ and run ‘ulimit -l’ i get the expected value that was set in .conf files.

/etc/security/limits.d/oracle-database-preinstall-19c.conf file contains following lines for setting memlock value:

oracle soft memlock 134217728

oracle hard memlock 134217728

/etc/security/limits.conf file contains following lines for setting memlock value:

* soft memlock 134217728

* hard memlock 134217728

no other /etc/security/*.conf files set ‘memlock’ value. The server has 96GB of memory and x86_86 architecture.

sudo grep pam_limits /etc/pam.d/* shows:

/etc/pam.d/fingerprint-auth: session required pam_limits.so

/etc/pam.d/password-auth: session required pam_limits.so

/etc/pam.d/runuser: session required pam_limits.so

/etc/pam.d/system-auth: session required pam_limits.so

grep Huge /proc/meminfo shows:

AnonHugePages: 0 kB

ShmemHugePages: 0kB

FileHugePages: 0kB

HugePages_Total: 0

HugePages_Free: 0

HugePages_Rsvd: 0

HugePages_Surp: 0

Hugeagesize: 2048 kB

Hugetlb: 0 kB

Transparent hugepages are set to ‘never’.

I haven't found any ‘memock’ values in systectl show user-$(id -u oracle).slice

I also have set vm.hugetlb_shm_group value in /etc/sysctl.d/99-hugetlb-shm-group.conf in case that matters.

I haven't installed Oracle database yet.

So can anyone help me?

Why is ‘ulimit -l’ value set to 64?

Is it okay?

I can provide more environment settings and values if needed.

This post has been answered by Анатолій Жулай on May 9 2025
Jump to Answer
Comments
Post Details
Added on May 5 2025
1 comment
231 views