Skip to Main Content

Infrastructure 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!

How can i change the kernel parameters in Oracle Linux 7 - containers

ora_techNov 18 2015 — edited Nov 25 2015

I just installed and configured the Linux container and I would like to know how can i update the kernel parameters inside the container. By default its a read-only file system which is not allowing to update.

[root@OEL7DB01 ~]# sysctl -p

sysctl: setting key "fs.file-max": Read-only file system

sysctl: setting key "kernel.sem": Read-only file system

sysctl: setting key "kernel.shmmni": Read-only file system

sysctl: setting key "kernel.shmall": Read-only file system

sysctl: setting key "kernel.shmmax": Read-only file system

sysctl: cannot stat /proc/sys/net/core/rmem_default: No such file or directory

sysctl: cannot stat /proc/sys/net/core/rmem_max: No such file or directory

sysctl: cannot stat /proc/sys/net/core/wmem_default: No such file or directory

sysctl: cannot stat /proc/sys/net/core/wmem_max: No such file or directory

sysctl: setting key "fs.aio-max-nr": Read-only file system

sysctl: cannot stat /proc/sys/net/ipv4/ip_local_port_range: No such file or directory

[root@OEL7DB01 ~]#

I already checked below link but its not very helpful. Please any hints?

https://docs.oracle.com/cd/E52668_01/E54669/html/section_f3w_csz_or.html

thanks,

X A H E E R

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 23 2015
Added on Nov 18 2015
3 comments
4,872 views