Operating System - HP-UX
1849824 Members
1961 Online
104044 Solutions
New Discussion

Newbie question: increasing virtual memory?

 
SOLVED
Go to solution
Paulo A G Fessel
Trusted Contributor

Newbie question: increasing virtual memory?

Hello.

We have two A500 with 1 GB RAM running Oracle Application Server. OAS is giving us the following message:

12-03-2001 18:47:09 710608 ford0001 `Broker` 3889 1
0x10fff `OWS-04770: Host ford0001 is running out of Virtual Memory(at 8 MB) and disabled temporarily for Cartridge plsql_sps/sps_cart instance creation
. `

The OAS manual says: "Increase virtual memory size". So, I just need to add more swap space to the machine? Or does it require any kernel configuration parameters to do it?

TIA,
Paulo Fessel
L'employé propose, le boss dispose.
5 REPLIES 5
Wim Rombauts
Honored Contributor

Re: Newbie question: increasing virtual memory?

I think the first step is to check the value of the maxdsiz and maxssiz kernel parameters. They control how much memory a single process (application) can use. You can have 1GB of memory available, but the kernel could limit memory usage to a maximum of 8MB per process.
Steven Gillard_2
Honored Contributor

Re: Newbie question: increasing virtual memory?

A couple of things to check:

- Run "swapinfo -atm" and check out how much swap space you have available. If you're running low then yes you will need to add swap space. Otherwise...

- Check the size of the processes, either with "top", or:

# export UNIX95=1; ps -eo 'vsz args' | grep

This value is in kbytes. If it is getting close to the value of the maxdsiz kernel parameter, you will need to increase that. The maxdsiz default of 64Meg is insufficient on most systems.

Regards,
Steve
Roger Baptiste
Honored Contributor
Solution

Re: Newbie question: increasing virtual memory?

hi,

With 1Gb RAM, you would need to have around 1.5Gb to 2Gb Device swap configured on the system. Check your current swap configuration:
swapinfo -mt
You can add swap by creating logical volumes and running swapon command (with equal priority and size )

In addition check your pseudo-swap.
kmtune -q swapmem_on
-> it should be set to 1.

Virtual memory refers to Swap area, which is where a process's "inactive pages" are paged/swapped out. The error you are getting seems to point that the system does not see enough virtual memory to allocate.

Also, as others suggested check the maxdsiz kernel parameter.

A good document to refer:
http://us-support2.external.hp.com/cki/bin/doc.pl/sid=6300f512126d7ff763/screen=ckiDisplayDocument?docId=200000048595137

HTH
raj
Take it easy.
Sanjay_6
Honored Contributor

Re: Newbie question: increasing virtual memory?

Hi Paulo,

To increase virtual memory, you have to tune this kernel parameter,

http://docs.hp.com//hpux/onlinedocs/os/11i/kcparams/KCparam.UnlockableMem.html

Here is a completer list of kernel parameters,

http://docs.hp.com//hpux/onlinedocs/os/11i/kcparams/KCparams.OverviewAll.html

Hope this helps.

Regds
Wodisch
Honored Contributor

Re: Newbie question: increasing virtual memory?

Hello,

and be careful to increase your kernel parameter "maxswapchunks" to something big enough - to be able to add more swapspace later on without reboot...

Just my $0.02,
Wodisch