imexpire Hangs When Run on Single Partition

(Doc ID 1396299.1)

Last updated on JANUARY 19, 2018

Applies to:

Oracle Communications Messaging Server - Version 6.3 and later
Information in this document applies to any platform.


When imexpire [Message Store Message Expiration ] is run as:

# imexpire -n -r 2 -v 2 -d -f /var/tmp/expire.rules -p <specific-partition>

It generates output for some time and then seems to stop doing anything, but never completes.

Using pstack on the imexpire process shows two threads like:

-----------------  lwp# 7 / thread# 7  -------------------- 
 ffffffff7bfd85f8 lwp_park (0, 0, 0) 
 ffffffff7c82e430 PR_Lock (1002aeec0, ... ) + 4 
 000000010000d580 expire_partition (100250eb0, ...) + 540 
 000000010000d8e8 expire_thread (ffffffff7ffff770, ...) + 90 
 ffffffff7c836128 _pt_root (1002b0180, ...
 ffffffff7bfd8558 _lwp_start (0, 0, 0, 0, 0, 0) 

Ctrl/C would not exit the process.  It was necessary to use kill -9, which caused watcher to restart the store.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms