What exactly are shmpages in the grand scheme of kernel and memory terminology. If I'm hitting a shmpages limit, what does that mean?
I'm also curious if this applies to more than linux
|
What exactly are I'm also curious if this applies to more than linux |
||||
|
|
|
User mode processes can use Interprocess Communication (IPC) to communicate with each other, the fastest method of achieving this is by using shared memory pages ( Try to find out more about shared memory configuration and usage with some of the following commands: Display the shared memory configuration:
By default (Linux 2.6) this should output:
The currently used shared memory:
If enabled by the distribution:
will output the shared memory usage, you can see the allocated segments with the corresponding sizes.
shows more information about a specified segment including the PID of the process creating (cpid) and the last (lpid) using it.
Running out of shared memory could be a program heavily using a lot of shared memory, a program which does not detach the allocated segments properly, modified This is not Linux specific and also applies to (most) UNIX systems (shared memory first appeared in CB UNIX). |
|||||
|