Los Angeles1
asked on
RHEL 6 and memory
How can I increase the maximum amount of memory available to a user. I think my mqm user is running out of memory
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
How much memory of your system?
# free -m
By default, there is no limit for max memory available.
You can see from the output of "ulimit -a" for that user
...
max memory size (kbytes, -m) unlimited
...
virtual memory (kbytes, -v) unlimited
So make sure you have enough memory and swap on the system
# free -m
By default, there is no limit for max memory available.
You can see from the output of "ulimit -a" for that user
...
max memory size (kbytes, -m) unlimited
...
virtual memory (kbytes, -v) unlimited
So make sure you have enough memory and swap on the system
ASKER
I assume that this should be enough:
What should I investigate now.
What about max threads ?
[root@WEST5 fs]# free -m
total used free shared buffers cached
Mem: 145187 6195 138992 0 38 991
-/+ buffers/cache: 5165 140022
Swap: 66411 0 66411
[root@WEST5 fs]# su mqm
bash: fork: retry: Resource temporarily unavailable
bash: fork: retry: Resource temporarily unavailable
bash: fork: retry: Resource temporarily unavailable
bash: fork: retry: Resource temporarily unavailable
^C^C^Cbash-4.1$ free -m
total used free shared buffers cached
Mem: 145187 6196 138991 0 38 991
-/+ buffers/cache: 5166 140021
Swap: 66411 0 66411
bash-4.1$
What should I investigate now.
What about max threads ?
ASKER