Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

NAC Manager high memory issue

Hi guys, I have a CAM´s failover installed. I had seen high utilization of the ram memory in the 2 appliances. The utilization is higher than 80%. Anyone knows what is the cause for this memory use?

Also, I have a NAC Profiler integrated with these CAM's.

Regards

Gerard

1 ACCEPTED SOLUTION

Accepted Solutions

Re: NAC Manager high memory issue

Gerard,

Your system looks fine. Linux utilizes the free/unused memory to cache data, and hence the free memory reported might seem very low, but it's being used by the kernel to actively use it for caching. As/When it's needed, the kernel releases memory for the processes to use, so this is normal. If you want to look at what processes are using the most memory try this command:

ps auwwwx | awk '{print$4"\t"$11'} | sort | uniq -c | awk '{print $2" "$1" "$3}' | sort -nr

The output will show you the process with the most memory being used. For example on a test CAM here was the output of the command listed above:

14.3 1 /usr/java/jdk1.6.0_12/bin/java
0.8 1 /usr/sbin/httpd.worker
0.7 1 /usr/sbin/httpd.worker
0.6 1 /usr/sbin/httpd.worker
0.6 1 postgres:
0.5 1 postgres:
0.5 1 heartbeat:

Meaning Java was taking the most memory.

HTH,

Faisal

4 REPLIES

Re: NAC Manager high memory issue

Gerard,

What process is taking up the memory? Issue the top command in a shell/console session and post the output.

Faisal

New Member

Re: NAC Manager high memory issue

Hi Faisal, I tried with the top command, but I couldn´t see what is the process taking more memory. I´m attaching the output from the 2 CAMs.

Is there a way to see more information about the memory consumed?

Regards

Gerard

Re: NAC Manager high memory issue

Gerard,

Your system looks fine. Linux utilizes the free/unused memory to cache data, and hence the free memory reported might seem very low, but it's being used by the kernel to actively use it for caching. As/When it's needed, the kernel releases memory for the processes to use, so this is normal. If you want to look at what processes are using the most memory try this command:

ps auwwwx | awk '{print$4"\t"$11'} | sort | uniq -c | awk '{print $2" "$1" "$3}' | sort -nr

The output will show you the process with the most memory being used. For example on a test CAM here was the output of the command listed above:

14.3 1 /usr/java/jdk1.6.0_12/bin/java
0.8 1 /usr/sbin/httpd.worker
0.7 1 /usr/sbin/httpd.worker
0.6 1 /usr/sbin/httpd.worker
0.6 1 postgres:
0.5 1 postgres:
0.5 1 heartbeat:

Meaning Java was taking the most memory.

HTH,

Faisal

New Member

Re: NAC Manager high memory issue

Thanks Faisal, your explanation is perfect.

Regards

Gerard

218
Views
0
Helpful
4
Replies