cancel
Showing results for 
Search instead for 
Did you mean: 

Web dispatcher kernel upgrade issue

Former Member
0 Kudos

Hi

We are upgrading our web dispatcher from 720 - patch 24 to 720 - patch 80. after the kernel upgrade we get the below issue

[Thr 47003381003296] *** ERROR => ShmCreate: Invalid size. Key=63 Size=86040 [shmux_mt.c 1437]

[Thr 47003381003296] *** ERROR => IcmShmCreate: ShmCreate(63, 86040) failed 2 [icxxshm_mt.c 284]

[Thr 47003381003296] ShmCleanup SHM_ICM_MAN

[Thr 47003381003296] ShmCleanup( 63 )

[Thr 47003381003296] ShmProtect( 63, 3 )

[Thr 47003381003296] ShmProtect: shmat key 63 prot 3/0 done

[Thr 47003381003296] ShmCreate( 63, 0, 2, -> 0x2abfd4b47000 )

[Thr 47003381003296] ShmKeyPermission( 63 ) = 0740 (octal)

[Thr 47003381003296] ShmProtect( 63, 3 )

[Thr 47003381003296] ShmProtect: shmat key 63 prot 3/0 done

[Thr 47003381003296] ShmCreate( 63, 86040, 1, -> 0x2abfd4b4c000 )

[Thr 47003381003296] Statistic Level: 1

[Thr 47003381003296] IcmInit: Attach to DP disabled

[Thr 47003381003296] IcmBufInit: mpi totalSz / bufferSz = 524288000 / 65536

[Thr 47003381003296] MPI: max. number of pipes = 21000

[Thr 47003381003296] MPI: max. pipe size = 128000 KB

[Thr 47003381003296] MPI: dynamic quotas disabled.

[Thr 47003381003296] MPI: reserved quota (percent total space) = 30% (2398 buffers)

[Thr 47003381003296] MPI init: pipes=21000 buffers=7994 reserved=2398 quota=10%

[Thr 47003381003296] SemKeyPermission( 52 ) = 0740 (octal)

[Thr 47003381003296] SemKeyPermission( 52 ) = 0740 (octal)

[Thr 47003381003296] ShmKeyPermission( 62 ) = 0740 (octal)

[Thr 47003381003296] ShmKeyPermission( 62 ) = 0740 (octal)

[Thr 47003381003296] *** ERROR => shmget(10162,537951072,480) (22: Invalid argument) [shmux_mt.c 1532]

[Thr 47003381003296] *** ERROR => ShmCreate( ATTACH 62, 537951072) failed 1 [mpixx_mt.c 1064]

[Thr 47003381003296] *** ERROR => IcmBufInit: MpiInit failed (rc=1) [icxxbuf_mt.c 189]

[Thr 47003381003296] *** ERROR => IcmInit: IcmBufInit failed (rc=1) [icxxrout_mt. 2112]

[Thr 47003381003296] *** SAP Web Dispatcher shutdown completed (pid: 30780) ***

[Thr 47003381003296] ***LOG IM2=> IcmMain, Shutdown (SAP Web Dispatcher&westbrook.atldc.nscorp.com&30780&) [icxxrout_mt. 829]

Not which parameter has to be changed to make the "ERROR => ShmCreate: Invalid size. Key=63 Size=86040 " size change.

our server has 8GB RAM and 10GB swap space

Regards

Senthil

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi ,

Did you try to run cleanipc <SID> <instance no> after shutting down your webdisp?

Try above and restart your webdisp.It should work fine after that.

Thanks..

Mohit

Former Member
0 Kudos

Hi Mohit,

I tried cleanipc, but no luck.

When I set the parameters

mpi/total_size_MB = 500

mpi/max_pipes = 20500

it starts.

When I increase the parameter mpi/max_pipes to 21000

mpi/total_size_MB = 500

mpi/max_pipes = 21000

it fails with the above error message.

We have got 8 GB RAM in our linux server and 10 GB swap size. but not sure whether it needs more memory

[wpladm@westbrook profile]$ free

total used free shared buffers cached

Mem: 8175340 7959832 215508 0 389932 6845016

-/+ buffers/cache: 724884 7450456

Swap: 1048568 120 1048448

Regards

Senthil

Former Member
0 Kudos

Try below steps..

1.stop the instance

2. look for ipcs | grep -i <sidadm>

You may see something like below

<server>:pr1adm 5> ipcs|grep qp1adm

m 71303173 0x000027bd rw-r--- pr1adm sapsys

s 167772199 0x00004ec0 ra-r--- pr1adm sapsys

if you find any like this, clean this up

ipcrm -m 71303173

ipcrm -s 167772199

also remove any old .stream files under /tmp folder

Regards

Suresh

Former Member
0 Kudos

Thank you all,

Found that the maximum value for the mpi/max_pipes parameter is 20500 (for the latest kernel).

The previous kernel starts even if you sent the max_pipes to 21000 or above, but with the latest kernel, the max values can't be above 20500.

Regards

Senthil

Former Member
0 Kudos

This message was moderated.

Answers (0)