IMAP Response Time Slow for a Long Time After Restart (Doc ID 1486896.1)

Last updated on SEPTEMBER 14, 2016

Applies to:

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

Symptoms

After restarting Messaging Server, there is an extended period (sometimes more than an hour) during which IMAP response time is so slow that clients timeout and retry their connection, which further exacerbates the problem.

Using the pstack-summary.sh script on dbhang collections from while the problem is happening shows the vast majority of threads are in BDB calls __lock_put_nolock() and __lock_get_internal():

   1 __1cRindex_do_contexts6FpnIimap_ctx_Ii_v_ __1cLindex_check6FpnIimap_ctx_pnHmailbox_iiII_v_ __1cQindex_newmailbox6FpnIimap_ctx_pnHmailbox_ipnHtimeval__v_
   1 ___lwp_mutex_wakeup mutex_unlock __db_pthread_mutex_unlock
   1 __fdsync sync_file append_copy
   1 __fdsync sync_file mailbox_append_index
   1 mmap mailbox_read_index_fixed_header mailbox_reopen_index
   1 pollsys poll WriteWait
   1 stat __1cJcmd_fetch6FpnIimap_ctx_pc2i_v_ __1cLprocess_cmd6FpnIimap_ctx_ipGpv_v2_i_
   2 _close close mailbox_close_files
   2 memcpy charset_readconvert charset_searchfile
   3 __pollsys poll GDispCx_DispatchLoop
  32 nanosleep yasr_usleep lock_internal
  45 pollsys poll GDispCx_DispatchLoop
  48 accept _pt_root _lwp_start
  48 lwp_park cond_wait_queue cond_wait_common
  48 pollsys poll _pr_poll_with_poll
 144 pollsys poll __1cJensconn_tMdispatchloop6M_v_
2121 lwp_mutex_timedlock __db_pthread_mutex_lock __lock_put_nolock
2444 lwp_mutex_timedlock __db_pthread_mutex_lock __lock_get_internal

Cause

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