My Oracle Support Banner

hat_statlock contended when rcapd becomes active (Doc ID 2242875.1)

Last updated on JANUARY 26, 2018

Applies to:

Solaris Operating System - Version 11 11/11 to 11.3 [Release 11.0]
Solaris Operating System - Version 10 3/05 to 10 1/13 U11 [Release 10.0]
Information in this document applies to any platform.
Observed with Oracle IMAPD servers

Symptoms

Should the issue happen, the mmap(2) or munmap(2) system calls are taking all the CPU in %sys and taking a long time to return if rcapd(1M) is running.

lockstat(1M) would indicate lock contention in hat_setstat.

Adaptive mutex spin: 139316 events in 2.119 seconds (65756 events/sec)

-------------------------------------------------------------------------------
Count indv cuml rcnt     nsec Lock                   Hottest Caller          
12048  55%  55% 0.00   684920 hatstatlock_mutex[1024] hat_setstat+0x54        

     nsec ------ Time Distribution ------ count     Stack                  
     2048 |                               3         sfmmu_ttesync+0x98      
     4096 |                               7         sfmmu_hblk_unload+0x1a8
     8192 |                               24        hat_unload_callback+0x644
    16384 |                               25        segvn_unmap+0x2b4      
    32768 |                               73        as_unmap_impl+0x254    
    65536 |@                              500       munmap+0x50            
   131072 |@@@@@@                         2485      syscall_trap+0x228      
   262144 |@@@                            1450      
   524288 |@@                             864      
  1048576 |@@@@@@@@@@@@@@@                6311      
  2097152 |                               165      
  4194304 |                               51        
  8388608 |                               25        
 16777216 |                               19        
 33554432 |                               22        
 67108864 |                               17        
134217728 |                               7        
-------------------------------------------------------------------------------

Cause

To view full details, 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 a vibrant support community of peers and Oracle experts.