cancel
Showing results for 
Search instead for 
Did you mean: 

ShmCreate SHM_PAGING_AREA failed on OpenSuse 10.3

0 Kudos

I tried to run the NW2004s Evaluation Edition on Opensuse 10.3. The system has 2GB ram + 4 GB swap. Kernel version 2.6.22.13-0.3-default x86_64, glibc version 2.6.1-18.3.

Unfortunately the dw-work-processes die immediately at startup. The developer trace gives:

I MtxInit: 0 0 0

M SHM_PRES_BUF (addr: 0x2b4814c73000, size: 4400000)

M SHM_ROLL_AREA (addr: 0x2b49246ad000, size: 301465600)

I *** ERROR => shmat(31522848,0x(nil),SHM_RND) (12: Cannot allocate memory) [shmux.c 1470]

M *** ERROR => ThShMCreate: ShmCreate SHM_PAGING_AREA failed [thxxhead.c 2548]

M *** ERROR => ThIPCInit: ThShMCreate [thxxhead.c 2029]

M ***LOG R19=> ThInit, ThIPCInit ( TSKH-IPC-000001) [thxxhead.c 1486]

M in_ThErrHandle: 1

M *** ERROR => ThInit: ThIPCInit (step 1, th_errno 17, action 3, level 1) [thxxhead.c 10019]

M

M Info for wp 0

M

M stat = 4

M reqtype = 1

M act_reqtype = -1

M rq_info = 0

M tid = -1

M mode = 255

M len = -1

M rq_id = 65535

M rq_source = 255

M last_tid = 0

M last_mode = 0

M semaphore = 0

M act_cs_count = 0

M control_flag = 0

M int_checked_resource(RFC) = 0

M ext_checked_resource(RFC) = 0

M int_checked_resource(HTTP) = 0

M ext_checked_resource(HTTP) = 0

M report = > <

M action = 0

M tab_name = > <

M vm = V-1

M PfStatDisconnect: disconnect statistics

M Entering TH_CALLHOOKS

M ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP

M *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c 720]

M *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c 260]

M Entering ThSetStatError

M ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)

M Entering ThReadDetachMode

M call ThrShutDown (1)...

M ***LOG Q02=> wp_halt, WPStop (Workproc 0 5504) [dpuxtool.c 260]

M Good Bye .....

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You might want to check the permissions on /dev/shm to see if [sid]adm can create files within that 'pseudo' directory.

Hope that helps.

J. Haynes

Denver, CO US

0 Kudos

/dev/shm is writable, but it is not big enough.

df -h /dev/shm gives udev 1008M 124K 1008M 1% /dev

( 1/2 physical memory, the default under Suse)

I tried to change it like described in note 386605: set SHMFS_SIZE in /etc/sysconfig/kernel, but this didn't work. The size was not changed. If you don't know how to set the size of the shmfs, I will open a bug report at Novell.

hannes_kuehnemund
Active Contributor
0 Kudos

Hi Eberhard,

just use:

mount -n -o remount,size=xxG,rw /dev/shm

as user root. This should always work.

Thanks,

Hannes

0 Kudos

Unfortunately this didn't do it. I had to add the following line to /etc/fstab

tmpsf /dev/shm tmpfs size=5G 0 0

Now n4sadm can create files of 5G size in /dev/shm. But it still didn't work. The workprocesses won't start.

I still get the same error in the developer trace.

0 Kudos

It turned out that my system was a little bit too small for the default shared memory settings. I had to insert

es/implementation = std

em/initial_size_MB = 2048

into the instance profile to keep the total system size below ram + swap.

Answers (0)