Environment
Novell ZENworks 7 Desktop Management on Linux Support Pack 1 - ZDML7 SP1
Situation
Distributor crashing nightly during distribution, error: "Too many files opened "
Resolution
Use the OS limits.conf settings to increase the open file limits:
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
* hard nofile 50000
After editing the limits.conf is complete and the file is saved, restart the server.
Additional Information
Error from zfs-pds-ted.log:
" 2011.01.26 22:32:50 [TED:Event Processing] java.net.SocketException: Too many files open at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(Unknown Source)
at java.net.PlainSocketImpl.accept(Unknown Source)
at java.net.ServerSocket.implAccept(Unknown Source)
at java.net.ServerSocket.accept(Unknown Source)
at java.net.ServerSocket.accept(Unknown Source)
at com.novell.application.zenworks.ted.net.WorkOrderServer$NoPortBrokerFactory.getSocket(WorkOrderServer.java:1239)
at com.novell.application.zenworks.ted.net.WorkOrderServer.run(WorkOrderServer.java:179) "