QuestionQ70

VerifiedLinux Kernel

How can the kernel parameter that controls the maximum shared-memory segment size (shmmax) be changed to 2 GiB (2,147,483,648 bytes) on a running system?

Choose two
Explanation

kernel.shmmax is a runtime sysctl that sets the maximum size of a shared-memory segment. It can be updated with sysctl -w kernel.shmmax=2147483648 or by writing 2147483648 to /proc/sys/kernel/shmmax.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!