1974

Failed to get shared memory handle for WQSINDEX

Description 

iProcess failed to create or attach to the WQSINDEX shared memory segment.

This can happen if the operating system is not configured correctly - for example, if the size of the shared memory segment that iProcess is trying to allocate is too big or too small for the operating system.

Appears In 

SWDIR\logs\sw_error

Severity 

1 (Critical)

Action 

To resolve the problem:

1. Use the following command to set debugging for the WQS process:

swadm set_attribute 0 wqs 0 debug T=255,W=255,TIME=ABS,FLAGS=U

Warning 

Turning on debugging can have a significant impact on system performance. Please see Debugging before using it.

2. Try to restart the WQS process.
3. Search the debug log for lines in the following format, which identifies both the affected shared memory segment and the errno returned by the operating system.

W001:sw_shm_create () : shmget(shared_memory_key) failed: <Errno>

Note 

If you are running the iProcess Engine on UNIX, you can look up the Errno in the system include file (/usr/include/sys/errno.h) to find the name of the error code, then look up the error in the man pages for the shmget call.

Other Wxxx: messages may provide further information about the cause of the problem.

4. If the cause of the error is still unclear, send the log files to TIBCO Support for further assistance.
5. Turn debugging off as soon as you no longer need it, using the following command:

swadm delete_attribute 0 wqs 0 debug

See Also 

“Administering iProcess Engine Server Processes”, in the TIBCO iProcess Engine: Administrator's Guide, for information about how to restart the WQS process.