• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 705
  • Last Modified:

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
0
Los Angeles1
Asked:
Los Angeles1
  • 2
1 Solution
 
woolmilkporcCommented:
ulimit

/etc/limits.conf

wmp
0
 
Los Angeles1Author Commented:
I see it, -v option.  Thanks
0
 
wesly_chenCommented:
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
0
 
Los Angeles1Author Commented:
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 ?
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now