LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices


Reply
  Search this Thread
Old 11-24-2010, 08:28 AM   #1
iregk
LQ Newbie
 
Registered: Sep 2010
Posts: 5

Rep: Reputation: 0
Increase paging space


Hi all,

Have just been handed a server that apparently now I've to look after. I've given it a once over and it keeps running out of paging space. Now it has 8GB of RAM in there but it is running some very high usage (from a memory point of view) java processes.

The paging space is set to 1.5 gb which is far too low. Even at that its set incorrectly, it seems to have 512mb in hd6 and 1gb in paging00.

I've checked the PP's and sizings and the problem is that I can add any more paging space. Any time I do I get the following error:

There are not enough free partitions or not enough physical volumes
to keep strictness and satisfy allocation requests. The command
should be retried with different allocation characteristics.

It's AIX 5.3 and my aix skills are very limited. I've plenty of free disk space so can anyone give any ideas of how I may be able to use some of that free disk space and reassign as paging space?
 
Old 11-25-2010, 06:27 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
How much *unallocated* space is there? The "Free PPs" line in "lsvg rootvg" (or another VG if you have more than rootvg - see plain "lsvg"). If there's no unallocated space you can't add more paging space. If that's true, but you DO have allocated-but-unused space on a partition (free space according to "df") AND the partition's filesystem is JFS2 (which I believe is default in AIX 5.3), you CAN shrink a partition with "chfs -a size=-1G /partition", Then you can try adding 1GB swap again.

If this is an LPAR, log in to the HMC (or IVM console) and see if the physical machine has RAM available to add to the LPAR, and if so, add it then shut down and re-boot the LPAR.

Adding swap space is like a Hello Kitty band-aid on a broken heart: may help a little, but is attacking the symptoms and not the cause. Swapping to disk is tons slower than RAM, so when you run out of RAM your performance slows to a crawl, and adding more *may* prevent it from running out of memory, but more swap will probably only prolong its demise. I would try to reduce the memory usage on this system, starting with whatever its users are doing to use so much RAM (AIX doesn't use that much by itself!)

Last edited by AlucardZero; 11-25-2010 at 06:39 AM.
 
Old 11-26-2010, 08:43 AM   #3
iregk
LQ Newbie
 
Registered: Sep 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Thank you very much. That helped and did the trick.

The proper answer would be to minimize the amount of memory being used be the processes but unfortunately given their nature they are beasts when it comes to memory usage and there is nothing we can do about them.
 
Old 12-01-2010, 11:08 PM   #4
fbsduser
Member
 
Registered: Oct 2009
Distribution: Hackintosh, SlackWare
Posts: 267

Rep: Reputation: 30
Or (if possible) add more RAM to the computer.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
user need to increase space to run a program its showing not enough space svani Red Hat 4 04-16-2010 04:04 AM
hard disk partitioning/I am out of space /how to increase linux space? RMLinux Red Hat 8 09-05-2008 12:33 PM
[SOLVED] Difference between Swap and Paging space ?? vikas027 Linux - General 3 09-02-2008 12:00 AM
AIX server running out of paging space ravikumarG AIX 8 05-16-2005 09:23 AM
paging space jnc Programming 0 09-12-2001 11:03 AM

LinuxQuestions.org > Forums > Other *NIX Forums > AIX

All times are GMT -5. The time now is 06:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration