LinuxQuestions.org
Help answer threads with 0 replies.
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 05-12-2005, 06:36 AM   #1
ravikumarG
Member
 
Registered: Feb 2005
Location: India
Distribution: Fedora -2 ,Rhel3.0,CentOs 4.0-rc2
Posts: 60

Rep: Reputation: 15
Unhappy AIX server running out of paging space


HI,
Iam Linux admin and i got one problem, I am new to AIX.
one of AIX server running out of paging space frequently
We end up restarting the server when paging space reaches 70%
AIX - 5.1
DB2 - v8.1
please help
 
Old 05-12-2005, 08:27 AM   #2
looseCannon
Member
 
Registered: Dec 2003
Location: Little Rock, AR
Distribution: Fedora Core 2, AIX, HP-UX, Solaris, Whitebox
Posts: 193

Rep: Reputation: 31
How much memory is in the server? You can find this with the command 'lsattr -El mem0'.

How much paging space is on the server? You can find this with the command 'lsps -a'.
 
Old 05-12-2005, 08:29 AM   #3
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
Via "smit fs" you may be able to increase the swap file and other partitions.
 
Old 05-12-2005, 01:04 PM   #4
zorba4
Member
 
Registered: Feb 2004
Location: Paris
Posts: 398

Rep: Reputation: 31
Getting out of paging space in nothing terrible (except the fact that you probably experienced an anwanted reboot).
To solve the problem you simply have to add another pageing space, I would simply add a 1giga additional paging space.


Quote:
Originally posted by Thoreau
Via "smit fs" you may be able to increase the swap file and other partitions.
I would rather use "smitty storage",
choose paging space
then choose "add another paging space"
and give the size of the paging space you want to add.
 
Old 05-12-2005, 11:17 PM   #5
adonis
LQ Newbie
 
Registered: May 2002
Posts: 6

Rep: Reputation: 0
I think you'd better and paging space use the method which mentioned by zorba4
 
Old 05-13-2005, 05:34 AM   #6
Mark Taylor
Member
 
Registered: Apr 2004
Posts: 60

Rep: Reputation: 15
hmmm .... you are not addressing the problem by just adding more paging space....your VMM settings are incorrect for your server. You are probably caching to many file pages as default vmm settings allows you to cache 80% file pages. LRUD is pretty non-descriminate about file and computational pages and with default settings LRUD just works ont he "least reacently used" algorythm to mark pages as candidates to be paged out .... DB servers use quite a lot of conputational memory, so you need to allow for that as if you page out a computational page it is highly likely that you will require it back in memory soon ... you do this on AIX by lowering you threshold for file page cache using the maxperm setting.. in 5.1 you use the vmtune command , in 5.2+ you use the vmo command

db2 using ? raw or files ?
how much memory ?
how many cpus
vmtune settings?
have you got bos.adt.samples installed ?
32 bit of 64 bit kernel ?
thewall setting ?

lsattr -EHl mem0
lsdev -Cc proc*
/usr/samples/kernel/vmtune
bootinfo -K
no -a | grep thewall

Then when you system is under load

vmstat 1 20

Rgds
Mark Taylor
 
Old 05-13-2005, 02:22 PM   #7
ravikumarG
Member
 
Registered: Feb 2005
Location: India
Distribution: Fedora -2 ,Rhel3.0,CentOs 4.0-rc2
Posts: 60

Original Poster
Rep: Reputation: 15
lscfg output here , i will paste more details soon
==============
INSTALLED RESOURCE LIST

The following resources are installed on the machine.
+/- = Added or deleted from Resource List.
* = Diagnostic support not available.

Model Architecture: chrp
Model Implementation: Multiple Processor, PCI bus

+ sys0 00-00 System Object
+ sysplanar0 00-00 System Planar
+ mem0 00-00 Memory
+ proc0 00-00 Processor
+ L2cache0 00-00 L2 Cache
* pmc0 00-00 Power Management Controller
+ proc1 00-01 Processor
+ proc2 00-02 Processor
+ proc3 00-03 Processor
* pci3 00-fec00000 PCI Bus
* pci2 00-fed00000 PCI Bus
* pci1 00-fee00000 PCI Bus
+ ssa1 20-58 IBM SSA 160 SerialRAID Adapter
(14109100)
+ tok1 20-60 IBM PCI Tokenring Adapter
(14103e00)
* pci0 00-fef00000 PCI Bus
* isa0 10-58 ISA Bus
+ fda0 01-D1 Standard I/O Diskette Adapter
+ fd0 01-D1-00-00 Diskette Drive
* siokma0 01-K1 Keyboard/Mouse Adapter
+ sioka0 01-K1-00 Keyboard Adapter
+ sioma0 01-K1-01 Mouse Adapter
+ ppa0 01-R1 CHRP IEEE1284 (ECP) Parallel Port
Adapter
+ sa0 01-S1 Standard I/O Serial Port
+ tty0 01-S1-00-00 Asynchronous Terminal
+ sa1 01-S2 Standard I/O Serial Port
+ sa2 01-S3 Standard I/O Serial Port
+ scsi0 10-60 Wide/Fast-20 SCSI I/O Controller
+ cd0 10-60-00-4,0 SCSI Multimedia CD-ROM Drive (650
MB)
+ rmt0 10-60-00-5,0 SCSI 8mm Tape Drive (20000 MB)
+ hdisk0 10-60-00-8,0 16 Bit SCSI Disk Drive (18200 MB)
+ hdisk1 10-60-00-9,0 16 Bit SCSI Disk Drive (18200 MB)
+ ses0 10-60-00-15,0 SCSI Enclosure Services Device
+ ssa0 10-68 IBM SSA 160 SerialRAID Adapter
(14109100)
+ tok0 10-70 IBM PCI Tokenring Adapter
(14103e00)
+ ent0 10-80 IBM 10/100 Mbps Ethernet PCI
Adapter
(23100020)
+ scsi1 10-88 Wide/Ultra-2 SCSI I/O Controller
+ enclosure0 00-00-854D SSA Enclosure
* hdisk2 10-68-L SSA Logical Disk Drive
+ pdisk9 10-68-854D-01-P SSA160 Physical Disk Drive (18200
MB)
+ pdisk4 10-68-854D-02-P SSA160 Physical Disk Drive (18200
MB)
+ pdisk8 10-68-854D-03-P SSA160 Physical Disk Drive (18200
MB)
+ pdisk6 10-68-854D-04-P SSA160 Physical Disk Drive (18200
MB)
+ pdisk0 10-68-854D-05-P SSA160 Physical Disk Drive (18200
MB)
+ pdisk13 10-68-854D-06-P SSA160 Physical Disk Drive (18200
MB)
+ pdisk3 10-68-854D-13-P SSA160 Physical Disk Drive (18200
MB)
+ pdisk11 10-68-854D-14-P SSA160 Physical Disk Drive (18200
MB)
+ pdisk12 10-68-854D-15-P SSA160 Physical Disk Drive (18200
MB)
+ pdisk7 10-68-854D-16-P SSA160 Physical Disk Drive (18200
MB)
+ pdisk1 20-58-854D-07-P SSA160 Physical Disk Drive (18200
MB)
+ pdisk5 20-58-854D-08-P SSA160 Physical Disk Drive (18200
MB)
+ pdisk14 20-58-854D-09-P SSA160 Physical Disk Drive (18200
MB)
+ pdisk15 20-58-854D-10-P SSA160 Physical Disk Drive (18200
MB)
+ pdisk2 20-58-854D-11-P SSA160 Physical Disk Drive (18200
MB)
+ pdisk10 20-58-854D-12-P SSA160 Physical Disk Drive (18200
MB)



Memory DIMM:
Part Number.................07L9028
Manufacture ID..............190F
EC Level....................3020
Serial Number...............E10AH
Version.....................RS6K
Size........................256
Product
Specific.(ZM).......JI=8008040c0b01480001a07002800404018f0

4060101000ed08000001a141a3240000000000

00000000000000000000000000000000000000

0000000000000013c,JM=a400000000000000,

JL=91,JP=30374c39303238202020202020202
0202020,JD=8600
System Info Specific.(YL)...P1-M1.11

Name: IBM,memory-module
Node: IBM,memory-module@7
Physical Location: P1-M1.12

Memory DIMM:
Part Number.................07L9028
Manufacture ID..............190F
EC Level....................3020
Serial Number...............E0ZVJ
Version.....................RS6K
Size........................256
Product
Specific.(ZM).......JI=8008040c0b01480001a07002800404018f0

4060101000ed08000001a141a3240000000000

00000000000000000000000000000000000000

0000000000000013c,JM=a400000000000000,

JL=91,JP=30374c39303238202020202020202
0202020,JD=8700
System Info Specific.(YL)...P1-M1.12

Name: IBM,memory-module
Node: IBM,memory-module@8
Physical Location: P1-M1.5

Memory DIMM:
Part Number.................07L9028
Manufacture ID..............190F
EC Level....................3020
Serial Number...............E108N
Version.....................RS6K
Size........................256
Product
Specific.(ZM).......JI=8008040c0b01480001a07002800404018f0

4060101000ed08000001a141a3240000000000

00000000000000000000000000000000000000

0000000000000013c,JM=a400000000000000,

JL=91,JP=30374c39303238202020202020202
0202020,JD=8800
System Info Specific.(YL)...P1-M1.5

Name: IBM,memory-module
Node: IBM,memory-module@9
Physical Location: P1-M1.6

Memory DIMM:
Part Number.................07L9028
Manufacture ID..............190F
EC Level....................3020
Serial Number...............E108H
Version.....................RS6K
Size........................256
Product
Specific.(ZM).......JI=8008040c0b01480001a07002800404018f0

4060101000ed08000001a141a3240000000000

00000000000000000000000000000000000000

0000000000000013c,JM=a400000000000000,

JL=91,JP=30374c39303238202020202020202
0202020,JD=8900
System Info Specific.(YL)...P1-M1.6

Name: IBM,memory-module
Node: IBM,memory-module@a
Physical Location: P1-M1.13

Memory DIMM:
Part Number.................07L9028
Manufacture ID..............190F
EC Level....................3020
Serial Number...............E10AP
Version.....................RS6K
Size........................256
Product
Specific.(ZM).......JI=8008040c0b01480001a07002800404018f0
:
 
Old 05-15-2005, 05:17 AM   #8
Yordan
Member
 
Registered: Nov 2004
Posts: 56

Rep: Reputation: 15
@ravi : Mark is right, the most important things are the first infos you should look at :
lsattr -EHl mem0
lsdev -Cc proc*
/usr/samples/kernel/vmtune
bootinfo -K
no -a | grep thewall

regards
Yordan

By the way, what does "dialy tech blog " mean ?

Last edited by Yordan; 05-15-2005 at 05:18 AM.
 
Old 05-16-2005, 10:23 AM   #9
Mark Taylor
Member
 
Registered: Apr 2004
Posts: 60

Rep: Reputation: 15
hi Ravi, the info i need is

db2 using ? raw or files ?

and the output of the following commands -->

lsattr -EHl mem0
lsdev -Cc proc*
/usr/samples/kernel/vmtune
bootinfo -K
no -a | grep thewall

Not lscfg ...

Cheers
Mark
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to stat X-Server on AIX 5.3 ??? touny AIX 6 08-14-2007 03:20 PM
Dial-In to AIX Server neozero62 AIX 5 11-15-2004 06:54 PM
AIX System running slow Greenman AIX 7 04-22-2004 05:37 AM
paging space jnc Programming 0 09-12-2001 12:03 PM
System is paging and running slow schurma Linux - General 4 04-16-2001 01:20 PM

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

All times are GMT -5. The time now is 05:00 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration