1753808 Members
7243 Online
108805 Solutions
New Discussion юеВ

Re: Memory Is Full

 
grshankar
Frequent Advisor

Memory Is Full

We are running out of memory space in one of the server,i need to extend the swap space,
OS:B.11.11 U 9000/800.

9 REPLIES 9
Michal Kapalka (mikap)
Honored Contributor

Re: Memory Is Full

hi,

make a Ignite backup and restore the system with new swap space, or just add additional swap ( second ) to the running system.

mikap
Venkatesh BL
Honored Contributor

Re: Memory Is Full

You could use /usr/sbin/swapon command to add more swap space online.
grshankar
Frequent Advisor

Re: Memory Is Full

Can I add swap space in other vloume groups, does it requires a reboot.
This is wat i am trying to do
#lvcreate -n swap2 ├в L 4000 vgbq1
And putting entry in /etc/fstab, but I am confused with priority.
Michal Kapalka (mikap)
Honored Contributor

Re: Memory Is Full

hi,

Can I add swap space in other vloume groups, does it requires a reboot.

= the best way is to have the swap space in VG00, because your other vgxx, could be set to don't active on startup the system, check /etc/lvmrc.

This is wat i am trying to do
#lvcreate -n swap2 ├Г┬в├В ├В L 4000 vgbq1
And putting entry in /etc/fstab, but I am confused with priority.

= the priority could be the same, as on the primary swap. ( its depend on the disk performance/usage )

mikap
grshankar
Frequent Advisor

Re: Memory Is Full


I have attached the swapinfo -tam details,
In vg00 volume group,we have around 40GB of free space.
Michal Kapalka (mikap)
Honored Contributor

Re: Memory Is Full

hi,

it seems to be ok,

but the next time if you creating the LVOL, its better to multiple MB with 1024,

4 GB = 4096 MB => lvol12 size,

and the priority 0 is higher as the default swap, if the second swap space is on the same disk as the primary the performance will go down.

the second swap is more used because of the riority of the swap.

mikap
grshankar
Frequent Advisor

Re: Memory Is Full

From the output of vgdispaly ,it seems that the /dev/vg00/lv0l2 & dev/vg00/lv0l9 are in same disk.
So i can't increase the swap space in vg00.
Michal Kapalka (mikap)
Honored Contributor

Re: Memory Is Full

hi,

yu can add aditional swap as you did ( lvol12 ),

but t o incerasse the primary swap space is not so easy possible, because ths lvol must be continues.

mikap
Roberto Arias
Valued Contributor

Re: Memory Is Full

Hello:
try this in single user :
1)check the nex lvol at lvol of swap
2) mv or re-create this lvol in other block of disk
3) extend lvol of swap at PE of lvol moved

please, check that lvol1,lvol2 and lvol are in PE contiguous, if next lvol of swap's lvol is other this procedure is possible

best regards
The man is your friend