My Oracle Support Banner

Sfscleanup fails with ENOMEM (Cannot allocate memory) error during invocation of system call "getdents" (Doc ID 2903333.1)

Last updated on OCTOBER 20, 2022

Applies to:

Siebel CRM - Version [IP2013] to 17.0 [IP2017] [Release V8 to V17]
Generic Linux


Not possible to run sfscleanup in order to scan or delete orphan attachments from Siebel File System which have millions of files stored inside of single partition.

The issue can be reproduced at will with the following steps:

1. Execute sfscleanup using the following syntax:

sfscleanup /U <Username> /P <Password> /C <ODBC_data_source> /D <Siebel_table_owner> /F <Paths for file system directories> /X <Path for output file>

2. As result, the output from log file reveal that no file attachment is processed. Output below:

The size of the Siebel File System is almost 2.7 terabytes and contains over 11 millions of .saf files in single File System partition. Even simple operations like finding a file is taking a lot of time until the result is returned. 

In addition, severe Application performance degradation is observed.




To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.