Operating System - HP-UX
1834630 Members
3363 Online
110069 Solutions
New Discussion

Re: memory problems on 5470 running hp-ux 11.11 and 3 SAP Systems

 
Armin Schneider
Occasional Advisor

memory problems on 5470 running hp-ux 11.11 and 3 SAP Systems

Hello,

I set up a 5470 running 11.11.
there are 3 SAP-Systems (64 bit and Oracle 64 bit).
When all three systems are running for about an hour and i try to do something on command line for example just calling sam
i got a message " sh: the fork function failed. there is not enough memory available."

the box has 4 GB physical memory and 8 GB Swap
but there is only 1 gb of swap used.

what to do ? which parameters to change ?

thanks

armin
5 REPLIES 5
Mladen Despic
Honored Contributor

Re: memory problems on 5470 running hp-ux 11.11 and 3 SAP Systems

Armin,

How do you know there is only 1Gb of swap used?

If you run 'swapinfo -tam' what's the percentage for "total"?
Mladen Despic
Honored Contributor

Re: memory problems on 5470 running hp-ux 11.11 and 3 SAP Systems

Armin,

Check your nproc and maxuprc parameters. The former is the maximum number of processes allowed to run on your system. The latter is the maximum number of processes allowed to run by any single user ID on your system. If you don't find a related message in your syslog, then maxuprc may be the culprit.

Run 'kmtune | grep maxup' to check the current value and then run 'ps -ef | grep oracle' to see how many oracle processes are running. If these two values are close, then increase your maxuprc parameter, but make it less than nproc. If necessary, increase nproc as well.

HTH,

Mladen
Mladen Despic
Honored Contributor

Re: memory problems on 5470 running hp-ux 11.11 and 3 SAP Systems

NOTE: nproc may depend on maxusers (via formula). If so, increase nproc by increasing maxusers.
Armin Schneider
Occasional Advisor

Re: memory problems on 5470 running hp-ux 11.11 and 3 SAP Systems

the only way I can check it is looking inside SAP. There are some informations regarding the operating system. it's transaction st06 - detailed analysis.
On OS-Level I have no chance - every try gives back "the fork function failed. there is ..."

:-(

I even can't stop one of the sap-systems - the only thing i can do is, shutting down the system "the hard way" by turning it off.
Volker Borowski
Honored Contributor

Re: memory problems on 5470 running hp-ux 11.11 and 3 SAP Systems

Hi,

SAP is an extremly resource hungry application.
You should check out the OS-Dependencies guide for recomendations of kernel parameters.
As you have three systems on this box, you might need to increase those values as well.

You should check out OSS-notes on this as well, I think there is on like "more instances on on computer" or so.

The standard SAP recomendation on SWAP for 64bit OS systems is to have 20GB configured. There have been a lot of discussions on this at various places, but you better do it this way. It eases discussions with the support, and there are several (rare) actions inside the SAP that really do require this memory.

You'll get the guides at http://service.sap.com/instguides
Select your correct SAP-Release.

In addition, ask your SAP-Admin to import and check the SAP-profiles via transaction RZ10.

Hope this helps
Volker