Many File Descriptor When Repeat Approving of Basic Assets Including CKEditor.

(Doc ID 2338727.1)

Last updated on MARCH 04, 2018

Applies to:

Oracle WebCenter Sites - Version 12.2.1.2.0 and later
Information in this document applies to any platform.

Symptoms

 Every time approval is performed, open File descriptors will increase.
 File descriptors will not be released until WebCenter Sites is restarted.
 Due to this behavior, the system frequently encounters "Too many open files errors".

 1. Login to the Contributor UI.
 2. Enable basic asset type in your site.
 3. Create new asset with using above type and enter all CKEditor fields and save.
 4. Execute below command and counting the file descriptor and keeping this commands.

e.g) watch -n 1 -d "ls /proc/{wcs_process_id}/fd/ | wc -l"

     1461

 5. Execute below command and checking file descriptor.

e.g) lsof -p {wcs_process_id} | grep {Basic_Asset_Type_Name}

     * Nothing should be displayed at this point.

 6. Check the count number displayed in 4. now and approve created asset.
 7. The number of file descriptors has increased.

e.g) 1475

 8. Re-execute the 5. command, you will see below results.

[oracle@hostname 501]$ lsof -p 18011 | grep {Basic_Asset_Type_Name}
java 18011 oracle 1452r REG 252,2 24 99418386
/refresh/home/product/Middleware/Oracle_Home/user_projects/domains/base_domain/wcsites/Shared/Storage/{Basic_Asset_Type_Name}/414/302/1485837747912.txt
java 18011 oracle 1463r REG 252,2 24 210380296
/refresh/home/product/Middleware/Oracle_Home/user_projects/domains/base_domain/wcsites/Shared/Storage/{Basic_Asset_Type_Name}/287/180/1485837747913.txt
java 18011 oracle 1464r REG 252,2 24 99418390
/refresh/home/product/Middleware/Oracle_Home/user_projects/domains/base_domain/wcsites/Shared/Storage/{Basic_Asset_Type_Name}/160/58/1485837747914.txt
java 18011 oracle 1465r REG 252,2 24 210380299
/refresh/home/product/Middleware/Oracle_Home/user_projects/domains/base_domain/wcsites/Shared/Storage/{Basic_Asset_Type_Name}/33/960/1485837747915.txt
java 18011 oracle 1466r REG 252,2 24 99418394
/refresh/home/product/Middleware/Oracle_Home/user_projects/domains/base_domain/wcsites/Shared/Storage/{Basic_Asset_Type_Name}/930/837/1485837747916.txt
java 18011 oracle 1467r REG 252,2 24 210380302
/refresh/home/product/Middleware/Oracle_Home/user_projects/domains/base_domain/wcsites/Shared/Storage/{Basic_Asset_Type_Name}/803/715/1485837747917.txt
java 18011 oracle 1468r REG 252,2 24 99418398
/refresh/home/product/Middleware/Oracle_Home/user_projects/domains/base_domain/wcsites/Shared/Storage/{Basic_Asset_Type_Name}/676/593/1485837747918.txt
java 18011 oracle 1469r REG 252,2 24 99418386
/refresh/home/product/Middleware/Oracle_Home/user_projects/domains/base_domain/wcsites/Shared/Storage/{Basic_Asset_Type_Name}/414/302/1485837747912.txt
java 18011 oracle 1470r REG 252,2 24 210380296
/refresh/home/product/Middleware/Oracle_Home/user_projects/domains/base_domain/wcsites/Shared/Storage/{Basic_Asset_Type_Name}/287/180/1485837747913.txt
java 18011 oracle 1471r REG 252,2 24 99418390
/refresh/home/product/Middleware/Oracle_Home/user_projects/domains/base_domain/wcsites/Shared/Storage/{Basic_Asset_Type_Name}/160/58/1485837747914.txt
java 18011 oracle 1472r REG 252,2 24 210380299
/refresh/home/product/Middleware/Oracle_Home/user_projects/domains/base_domain/wcsites/Shared/Storage/{Basic_Asset_Type_Name}/33/960/1485837747915.txt
java 18011 oracle 1473r REG 252,2 24 99418394
/refresh/home/product/Middleware/Oracle_Home/user_projects/domains/base_domain/wcsites/Shared/Storage/{Basic_Asset_Type_Name}/930/837/1485837747916.txt
java 18011 oracle 1474r REG 252,2 24 210380302
/refresh/home/product/Middleware/Oracle_Home/user_projects/domains/base_domain/wcsites/Shared/Storage/{Basic_Asset_Type_Name}/803/715/1485837747917.txt
java 18011 oracle 1475r REG 252,2 24 99418398
/refresh/home/product/Middleware/Oracle_Home/user_projects/domains/base_domain/wcsites/Shared/Storage/{Basic_Asset_Type_Name}/676/593/1485837747918.txt

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