ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

ERROR at CsBlockCif.cc(1220): accept() Failure: Too many open files.

book

Article ID: 111770

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

VNM.OUT shows the following error:

ERROR at CsBlockCif.cc(1220): accept() Failure: Too many open files.

Environment

Release: for 10.4.0 and LOWER - this is unsupported on 10.4.1 and up
Component: SPCCSS

Resolution

If you are getting error “Too many open files (24)” then your application/command/script is hitting max open file limit allowed by linux. You need to increase open file limit as below:



Increase limit



Per-User Limit



Open file: /etc/security/limits.conf



Paste following towards end:




* hard nofile 500000
* soft nofile 500000
root hard nofile 500000
root soft nofile 500000

Additional Information

From 10.4.2.1 version Spectrum uses systemd no more init.d 
 

"DX NetOps Spectrum Process Initialization Changed from init to systemctl
From the current release, DX NetOps Spectrum processes are registered with systemctl instead of /etc/init.d. The use of systemctl helps to reduce the system and application boot time by parallelly booting the processes.

..

The DX NetOps Spectrum installation adds a process daemon (processd) file to the following startup areas on Linux:
/etc/rc.d/init.d/processd (10.4.2) or /etc/systemd/system/processd.service (10.4.2.1)

..."

and it looks like  systemd handles such limits (like nofile, nproc ..) differently than initd.

This means, that limits configured in /etc/security/limits.conf are completely ignored for systemd services