ZCM Content Replication fails with errors 'Insufficient space to replicate content' and/or 'too many open files'

  • 7009258
  • 30-Aug-2011
  • 23-Jul-2012

Environment

Novell ZENworks 11 Configuration Management
SUSE Linux

Situation

ZCM on SLES server fails to replicate content with error 'Insufficient space to replicate content' .
 
ZCM on SLES server fails to replicate content with error 'Too many open files' .
 
SLES content volumes have Gigabytes (GB), 50 - 100 or more, of free space.

Resolution

This is fixed in version 11.2 - see KB 7010044 "ZENworks Configuration Management 11.2 - update information and list of fixes" which can be found at https://www.novell.com/support
 
Workaround:
 
Make a backup copy of /etc/security/limits.conf file.
 
Change the /etc/security/limits.conf by adding a zenworks entry.
 
Example from limits.conf :
 
#*                             soft       core               0
#*                             hard       rss                10000
#@student                       hard       nproc              20
#@faculty                       soft       nproc              20
#@faculty                       hard       nproc              50
#ftp                           hard       nproc              0
#@student                       -          maxlogins          4
zenworks                       -          nofile             16384
*                              soft       nofile             16380
*                              hard       nofile             50000
 
After editing the limits.conf is complete and the file is saved, restart the server.

Additional Information

To see the file system maximum:  sysctl -A | grep fs.file-max , or cat /proc/sys/fs/file-max .
 
1.  ZCC > Configuration > System Information > System Message Log > refresh :
 
'Insufficient space to replicate content (Content ID: xxxxxxxxxxx)'
 
2.  LOADER-MESSAGES.LOG :
 
[DEBUG] [8/10/11 1:47:44 AM] [] [Loader.Content Sync] [] [ Actual Free Disk Space (kb): -1 Required content disk space (kb) = 1] [] []
[DEBUG] [8/10/11 1:47:44 AM] [] [Loader.Content Sync] [] [Error determining free disk space while processing:  /var/opt/novell/zenworks/content-repo/tmp] [] []
[DEBUG] [8/10/11 1:47:44 AM] [] [Loader.Content Sync] []
[java.io.IOException: java.io.IOException: Too many open files
   at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
   at java.lang.ProcessImpl.start(ProcessImpl.java:65)
   at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
   at java.lang.Runtime.exec(Runtime.java:591)
   at java.lang.Runtime.exec(Runtime.java:464)
   at org.apache.commons.io.FileSystemUtils.openProcessStream(FileSystemUtils.java:357)
   at org.apache.commons.io.FileSystemUtils.freeSpaceUnix(FileSystemUtils.java:298)
   at org.apache.commons.io.FileSystemUtils.freeSpaceOS(FileSystemUtils.java:176)
   at org.apache.commons.io.FileSystemUtils.freeSpaceKb(FileSystemUtils.java:146)
   at com.novell.zenworks.loader.modules.ContentSyncThreadWorker.getContentRepoFreeSpaceKb(ContentSyncThreadWorker.java:710)
   at com.novell.zenworks.loader.modules.ContentSyncThreadWorker.run(ContentSyncThreadWorker.java:141)
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
   at java.lang.Thread.run(Thread.java:595) ] [] []

Feedback service temporarily unavailable. For content questions or problems, please contact Support.