The maximum theoretical size of one paging device is 64 GB. You have paging device hd6 which is 6 GB. Theoretically you can expand it by 56 GB.
Before expanding you have to answer the following questions:
- how much memory does your application require?
- is it possible to buy more memory, if the LPAR doesn't have enough, or to move it to another server?
- how did it happen, that you have 47% used in paging space? Which processes are now in the paging space and which of the running processes overuse the memory resources you have?
After you answered the questions and if you still want to have more paging space, you can look in rootvg using lsvg rootvg, if you have enough space in the volume group, and then create additional paging space with mkps or expand the existing with chps.
agent.kgb is absolutely correct: paging space is a "plan B", if "plan A" (memory) fails. Your system shouldn't need to use it under normal circumstance and it should be there only for contingency.
Right now you have your 13GB memory already overused to a point where ~3GB of paging space is needed. You should put in more memory (unless other data show different probably ~5GB, to cover for the 3GB already missing and some extra on top to make the system comfortably run) and only then make your paging space bigger.
The size of paging space should be in some relation to the real memory, like the size of a jerry can should reflect the cars gas consumption. And like the jerry can it should be there but under normal circumstances never be used.
It would also be interessting when the paging to PS occurs. I saw that RMAN accumulated used pgsp at nightly backup jobs (over some days/weeks) but on days peak loads had about no paging out at all.
You can monitor this by writing a small script using vmstat to have a look at the pi/po columns or have nmon installed to record it for you.
Depending on the oslevel of your OS it could also maybe handled by adjusting some tuning parameters.
If you want to investigate what is using the paging space at the moment you can issue:
Column 5 shows which processes have allocated pgsp.
Last edited by zaxxon; 04-20-2016 at 03:45 AM..
Reason: typo
Thank you for your help. I checked the physical memory being only 13GB and left the idea of increasing swap size as of now.
I will get back in case of any progress.
not every segment in AIX memory has a corresponding process.
The real command to look, what lays in paging space is something like:
-S shows all memory segments, -O sortseg=pgsp sorts them, showing first the segments which have most pages in the paging space, -t 20 shows only first 20 segments.
This is an example from a system, which pages right now:
As you see, all the segments are "work" segments and some of them has "long" Vsids (virtual segment IDs), such as 8f61ff, but some of them has "short" Vsid, such as 8000. Those with long IDs are probably associated with some processes. You can look at them using the following command:
The last string contains pid, which you can then find with ps -ef:
If you look at a segment with short Vsid, you will not see any pid:
It is a system segment and it has no corresponding process. Sometimes they can grow very big and in this case it is not an application problem, but server's configuration problem.
In the attached file I am trying to use awk to extract multiple values and create the tab-delimited desired output.
In the output R_Index is a the sequential # and Pre_Enrichment is defaulted to ..
I can extract from the values to the side of the keywords, but most are above and I can not... (2 Replies)
Hello,
How is it possible to free swap memory on AIX.
when i do vmstat on machine i can see less than 1 Gb "fre" when usually I have around 5 GB.
I dont wont to reboot the server.
any idea?
Thanks. (3 Replies)
Thanks for allwoing me to discuss in this forum
GIVEN BELOW A simple shell script which will ask for the user to input a PC name and it will produce the output in CSV with the PC name
#! /bin/bash
read -p "enter the PC name :" pc
#checking for netstat report
netstat -pant |sed '1,2d'... (1 Reply)
I need to change the following field from:
"7/3/2009 7:07:12 PM","12345676","ok","8674"
"6/3/2009 8:07:12 PM","12345676","ok","8674"
"5/1/2009 7:07:12 PM","12345676","ok","8674"
"4/9/2009 3:07:12 AM","12345676","ok","8674"
"3/8/2009 3:07:12 PM","12345676","ok","8674"
"2/7/2009 4:07:12... (10 Replies)
Hi,
I am a newbie to AIX. We have 2 AIX5.3 servers in our environment, I need to transfer some files in Binary mode from one server to another and some files in ASCII mode from one server to another server. Could you please help me as to how I need to do that?
Thanks,
Rakesh (4 Replies)
I have an unsupported legacy server:
# uname -a
AIX ibmms01 3 4 0054960A4C00
Following a period of poor performance, it was investigated using vmstat 10.
There upto 10 blocked kernel threads reported, and free memory was down to 123. The scan rate was high, 3000+ with lots of page in page... (6 Replies)
I have some problem to add a fujitsu Model MAT3147NC on my Aix 5.1 Server. When i run the cfgmrg command and after de lspv command, i can see my disk but i think it's missing some drivers to get operational.
Thank's for your help. (0 Replies)
For a project we need to make sure that all php / html files in a certain directory on the webserver are showing advertisments of us.
For example, when you get a website from Lycos, you'll have an advertisement in the right corner.
How to?
As far as I can see, Lycos includes a javascript... (1 Reply)