cancel
Showing results for 
Search instead for 
Did you mean: 

Error in shadow with queue server

Former Member
0 Kudos

Hi. I'm working in upgrade from nw 702 to 740 and have a problem in phase START_SHDI_PREPUT when shadow is started. An error occurs with the enqueue server. msg_server start, then enqueue start but stop immediately. Below logs:


dev_enqsrv

[Thr 139778380547872] initialize_global: Enqueue server started WITHOUT replication functionality

[Thr 139778380547872] Enqueue: EnqMemStartupAction Utc=1467734739, attach_only=0

[Thr 139778380547872] EnqLockTableSizeCalculate: session quota = 100%

[Thr 139778380547872] EnqLockTableCreate: create lock table (size = 67108864)

[Thr 139778380547872] *** ERROR => shmget(10134,67108864,2016) (28: No space left on device) [shmux.c      1530]

[Thr 139778380547872] *** ERROR => EnqLockTableCreate: size = 67108864 failed. rc = 1 [enxxmini.h   490]

[Thr 139778380547872] ***LOG GEF=>  [enxxmini.h   491]

[Thr 139778380547872] ***LOG GZZ=> Creation of lock table failed [enxxmini.h   492]

[Thr 139778380547872] ***LOG GZZ=> Size = 67108864, rc = 1 [enxxmini.h   493]

[Thr 139778380547872] ------------------ C-STACK ----------------------

en.sapTX0_DVEBMGS01_SHD[S](LinStackBacktrace+0x8c)[0x429779]

en.sapTX0_DVEBMGS01_SHD[S](LinStack+0x35)[0x42d7c0]

en.sapTX0_DVEBMGS01_SHD[S](CTrcStack2+0x4e)[0x42953c]

en.sapTX0_DVEBMGS01_SHD[S](SigThrDefaultSigaction+0x1ab)[0x58ffab]

libpthread.so.0[T][0x3cd060f500]

en.sapTX0_DVEBMGS01_SHD[S](EnqMemStartupAction+0x19f)[0x4a198c]

en.sapTX0_DVEBMGS01_SHD[S](initialize_global()+0xf5e)[0x5ecc0e]

en.sapTX0_DVEBMGS01_SHD[S](nlsui_main+0x5b2)[0x5ef7b2]

libc.so.6[T](__libc_start_main+0xfd)[0x3cd021ecdd]

[Thr 139778380547872] -------------------------------------------------

[Thr 139778380547872] ***LOG Q0E=> SigThrDefaultSigaction, signal ( 11) [ensaux.c     856]

[Thr 139778380547872] ***LOG GEY=> Server crash (server crash) [encllog.cpp  550]

[Thr 139778380547872] Enqueue server: emergency shutdown

stderr2

*** ERROR => shmget(10110,200000000,992) (28: No space left on device) [shmux.c      1530]

*** ERROR => shmget(10110,200000000,992) (28: No space left on device) [shmux.c      1530]

*** ERROR => Shm Pool Create Error. PoolKey=10, Key=16. [shmux.c      2101]

*** ERROR => SemMonIn: Unable to attach Semaphore Monitor Buffer [semxxmo2.h   322]

*** DISPATCHER EMERGENCY SHUTDOWN => DpSapEnvInit: DpIPCInit2

I already checked free memory, disk space, operating system parameters, and reboot machine and instances, clean semaphores.

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

isaias_freitas
Advisor
Advisor
0 Kudos

Hello Manuel,


[Thr 139778380547872] *** ERROR => shmget(10134,67108864,2016) (28: No space left on device) [shmux.c   1530]

[Thr 139778380547872] *** ERROR => EnqLockTableCreate: size = 67108864 failed. rc = 1 [enxxmini.h   490]

The enqueue could not get around 64MB of memory to create the lock table.

Logon as "<sid>adm" and execute "ulimit -a" (or just "limits", depending on the OS/shell in use) and confirm that the limits are "unlimited" (specially the memory limits).

If further assistance is needed, please share the "ulimit -a" output and also inform which is the operating system and its version (e.g., SUSE Linux 12 SP1. AIX 7.1, Solaris 10, ...).

Regards,

Isaías

Former Member
0 Kudos

Hi Isaías, thanks for help me. Limits are:

cputime      unlimited

filesize     unlimited

datasize     unlimited

stacksize    10240 kbytes

coredumpsize 0 kbytes

memoryuse    unlimited

vmemoryuse   unlimited

descriptors  32800

memorylocked 64 kbytes

maxproc      2047

What memory use to créate lock table?

Johan_sapbasis
Active Contributor
0 Kudos

Hi,

Depending on your OS and so forth what the recommendations are for.

941735 - SAP memory management system for 64-bit Linux systems

kernel.shmmax

kernel.shmall

Also look at aforementioned note.

Kind Regards,

Johan

isaias_freitas
Advisor
Advisor
0 Kudos

Hello Juan,

Besides verifying the SAP note mentioned by Johan, set "stacksize" to unlimited as well.

Regards,

Isaías

raquel_gomez
Employee
Employee
0 Kudos

Hi Juan Manuel,
Note:

1437105 - Operating system limits for SAP instances

may also be helpful.

Regads,
Raquel

Former Member
0 Kudos

Hi, I increase kernel.shmmax and kernel.shmall and shadow up!

Very thanks to all!

Answers (0)