I am running AIX 5.2. My server is running low on memory. It it using about 1307775 file pages on a total of 1511424 (from vmstat -v).
I looked at the memory yesterday morning, and we had plenty of free memory. I did a backup from Windows (ftp mget command) of a large file selection. From this moment, free memory dropped to very low.
Question #1 : how do I prevent that to happen?
Question #2 : how do I "flush" memory for it to be normal, without restarting my server?
Here is the result of vmstat -v :
Thanks
Last edited by jim mcnamara; 02-21-2012 at 11:07 AM..
Are you getting errors in another application, or do you just want to see memory free? File memory (like reading large files to perform a backup) will not be freed unless that memory is needed for something else.
I don't think high "file pages" is bad per se, if that's disk cache like the documents I've found suggest. The OS should give that up as easily as "free", and when the right things get cached(frequently used programs and data) it's not just harmless, it's highly beneficial.
But large amounts of disk access can cause cache pollution -- all the "good" disk cache of frequently-used programs and data gets recycled, to make room for the "more recent" disk activity caused by a big FTP transfer.
This useless cache will be replaced by better things once they're used again, but not before, which may be surprisingly slow once you're used to how fast they work when cached...
This clearly shows that you are running out of filesystem buffer (bufstruct) causing slow I/O. You can increase the number of bufstructs per file system, known as numfsbufs, with the ioo command and remount the file system. Check man page of ioo for details or go to here: Help - AIX 6.1 Information Center
I guess your system is paging a lot (or scanning and freeing pages in significant amount).
Your minperm value is set to 20% which is approx 26000 pages - you might want to reduce this to give the box some air to breathe.
For AIX 5.2 with ML greater 4, IBM used to recommend usually below tunables
I've got RHEL5 running in CLI mode on a powerful workstation. It was a Pentium Pro 200 Mhz, but was upgraded to the new Pentium II Overdrive 333 Mhz chip. This machine has 128 MB of RAM. The video card is an ATI Radeon 9250.
RHEL5 runs fine in 128 MB in CLI mode. It won't run in GUI mode... (7 Replies)
Hello All
I have a system running AIX 61 shared uncapped partition (with 11 physical processors, 24 Virtual 72GB of Memory) .
The output from NMON, vmstat show a high run queue (60+) for continous periods of time intervals, but NO paging, relatively low I/o (6000) , CPU % is 40, Low network.... (9 Replies)
Hi All,
Does anyone know what the best commands in the UNIX command line are for obtaining this info:
current CPU usage
memory usage
virtual memory usage
preferably with date and time parameters too?
thanks
ocelot (4 Replies)
Hi,
Would any one be so kind to explain me :
are ulimits defined for each user seperately ? When ?
Specialy what is the impact of :
max locked memory
and
virtual memory
on performance of applications for a user.
Many thanks.
PS :
this is what I can see in MAN :
ulimit ]
... (5 Replies)
Hi,
First of all I appreciate this group very much for its informative discussions and posts.
Here is my question.
I have one process whose virtual memory size increases linearly from 6MB to 12MB in 20 minutes. Does that mean my process has memory leaks?
In what cases does the... (4 Replies)