So Many Open File Descriptors /shm/dev

This only happens in Automatic Memory Management when memory_max_target and memory_target are set.

ls -ltr /dev/shm | wc -l
79

Why 79?  checking the memory_max_target = 316M.  The granule size is 4MB, therefore 316MB/4MB = 79. The number of files in /dev/shm = MEMORY_TARGET / granule size


Counting the number of ASM processes
ps -ef | grep -i +ASM1 | wc -l
37

lsof /dev/shm | wc -l
2923  ==> why so many?

There are 37 background processes were created, each background process opens 79.  Therefore, 37 x 79 = 2923

No comments:

Post a Comment