Hello there
I am wondering what could be the maximum number of shared memory that
could be attached to a single process (I would need at least 2048
attached to a single process!!!)Any idea???
Francis ANDRE
I am wondering what could be the maximum number of shared memory that
could be attached to a single process (I would need at least 2048
attached to a single process!!!)Any idea???
Francis ANDRE
> I am wondering what could be the maximum number of shared memory that
> could be attached to a single process (I would need at least 2048
> attached to a single process!!!)Any idea???
> Francis ANDRE
snip snip snip
.
.
.
Name Default Max Description
------ --------------- ---------------
-------------------------------------
shmmax 1048576 (1Meg) 4294967295 Limits the maximum size of a
shared
(4GB) memory segment, which is the
largest
2.5.1 or value which can be requested of
higher shmget(2). Setting this value
high
does not hurt anything, as the
2147483647 resource it controls is not
(2GB) preallocated; it is allocated
on
2.5 or lower demand.
regards,
Mattias
There is a system defined limit. This is the maximum request size
for shared memory which is not rejected out of hand. This is the
SHMMAX variable which can be examined from the sysdef command.
The maximum amount of shared memory for a process is:
SHMMAX * SHMSEG
These can be adjusted at the system level and there are many
examples on how to do this.
The hard upper limit is the total amount of virtual memory available
in the system.
-- richard
1. (Shared Memory Limits) Raise max number of segments per process
I would like to know how to raise the max number of
segments(IPC V shared memory) per process ?
I found on /proc/sys/kernel the shmall and shmmax.
I adjust successfully the Maximum size in bytes for a shared memory
segment
echo 1073741824 > /proc/sys/kernel/shmmax
But how to set on the flight the max number of shm segment.
I have only 128 segments max on my Linux machine while I need
1000 segments !
SHMMNI System wide maximum number of shared memory segments
Thanks for your help
freygagne.vcf < 1K Download |
3. How to see memory used per user; memory used per process
4. Netscape mail and linux mail or mailx on linux
5. max file descriptor number per process in solaris2.7
6. ANNOUNCE: xmcd v2.0 CD-audio player
7. Setting max number of open files per process?
9. How to limit the max number of process per user ?
10. Setting max number of per user processes.
11. max number of threads per JVM process in AIX
13. Max memory per process in 64 bit mode