Operating System - HP-UX
1753775 Members
7427 Online
108799 Solutions
New Discussion юеВ

Re: The fork function failed. There is not enough memory available

 
SOLVED
Go to solution
DnD_1
Regular Advisor

Re: The fork function failed. There is not enough memory available

Info requested.

# lvdisplay /dev/vg00/lvol2
--- Logical volumes ---
LV Name /dev/vg00/lvol2
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 51200
Current LE 3200
Allocated PE 3200
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default

# lvdisplay /dev/vg00/lvol3
--- Logical volumes ---
LV Name /dev/vg00/lvol3
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 208
Current LE 13
Allocated PE 26
Stripes 0
Stripe Size (Kbytes) 0
Bad block off
Allocation strict/contiguous
IO Timeout (Seconds) default

# more /etc/fstab
/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand hfs defaults 0 1
/dev/vg00/lvol4 /tmp vxfs delaylog 0 2
/dev/vg00/lvol5 /home vxfs delaylog 0 2
/dev/vg00/lvol6 /opt vxfs delaylog 0 2
/dev/vg00/lvol7 /usr vxfs delaylog 0 2
/dev/vg00/lvol8 /var vxfs delaylog 0 2
/dev/vg00/lvol9 /may/oracle vxfs largefiles 0 2
/dev/vg00/lvol2 /may/opt vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vgnetapp/lvdb /db vxfs largefiles 0 2

Johnson Punniyalingam
Honored Contributor

Re: The fork function failed. There is not enough memory available

may i know how much is your psyical size mememory ?

# dmesg |grep pshyical

usually we will create swap swap double the size

Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: The fork function failed. There is not enough memory available

# lvcreate -L 1024 -n lvol11 /dev/vg00


Use SAM to declare your new secondary swap or use the command line:

# swapon /dev/vg14/lvol15


Verify it has been added in "/etc/fstab" when using SAM, or add it manually when using the command line.

Example:
/dev/vg00/lvol11 . swap defaults 0 0



Configuration of Swap using SAM

SAM - Swap --> Actions --> Add Device Swap -> Add File System Swap...

point your /dev/vg00/lvol11 while reading the removed swap space.

finally check with swapinfo -mat
Problems are common to all, but attitude makes the difference
DnD_1
Regular Advisor

Re: The fork function failed. There is not enough memory available

physical page size = 4096 bytes, logical page size = 4096 bytes
Johnson Punniyalingam
Honored Contributor

Re: The fork function failed. There is not enough memory available

Ok,

create file system has mentioned above,
and Use SAM to declare has secondary swap space,

I hope some how the "primary swap" has been removed or damaged, we try to add the secondary space space ,

but to regain the "primary" swap . I hope you need to "Ignite Server" hence its Contigious

Problems are common to all, but attitude makes the difference
DnD_1
Regular Advisor

Re: The fork function failed. There is not enough memory available

Thanks...

I not quite sure how to do it, since I'm a dummies...so I let it be and ask others more HP experienced guys to do it... :D

let see what he going do...