Link to home
Start Free TrialLog in
Avatar of Los Angeles1
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
Avatar of woolmilkporc
woolmilkporc
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Los Angeles1
Los Angeles1

ASKER

I see it, -v option.  Thanks
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
I assume that this should be enough:

[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$

Open in new window


What should I investigate now.

What about max threads ?