Skip to Content
0
Apr 07, 2016 at 02:13 PM

[ASE Upgrade] From 15.5 to 16.0 (kernel kistartup: could not create shared memory)

244 Views

Hi.

I have a problem with upgrade from ASE 15.5 to ASE 16.0 (Linux 64bit).

Problem occurs when I am trying to start ASE 16.0 (with device master from 15.0) to perform 'upgrade' manually.

I use upgrade method from manual: Manually Upgrading SAP ASE

When I want to start new ASE 16.0 with master device from 15.5 to perform upgrade script I get:

The current 'max memory' value '30408704' is less than the 'total logical memory' value '1111040339'. ASE has increased the value of configuration parameter 'max memory' to '1111040339' to enable upgrade.

WHY...?

My 15.5 server runs fine with max_memory=30408704 (with 64GB RAM).

During upgrade ASE 16.0 tries to allocate more than 2TB of memory ?!?!

I read information from:

http://service.sap.com/sap/support/notes/1959916

I have tried to:

1. Reboot server

2. Turn off HugePages

3. Turn off "allocate max shared memory" parameter

4. Decrease all memory parmaeters (like data /proc /stmt caches)

5. Reset shmmax (from systcl.conf) to higher values

...

but ASE 16.0 always attempts to allocate HUGE amount of memory:

server The configured value '6396' for parameter 'kernel resource memory' is too low. It should be atleast '10860' for the present configuration.

server kernel resource memory' has been modified from '6396' to '10860' by the verification routine.

server The current 'max memory' value '1111040339' is less than the 'total logical memory' value '1111044804'. ASE has increased the value of configuration parameter 'max memory' to '1111044804' to enable upgrade.

kernel os_create_region: can't allocate 2199023255552 bytes

kernel kbcreate: couldn't create kernel region.

kernel kistartup: could not create shared memory

I have tested upgrade process on machine with 4GB of RAM and it worked perfecly.

I would be grateful for any help.

Regards

--

Marcin