The number of file descriptors available to the proxy service directly impacts its ability to handle concurrent connections and cache objects.
If the prox service runs out of file descriptors, it can't open new connections or files, which can lead to performance degradation or even service interruption.This feature is available on Artica v4.50 Service Pack 1 or Artica v4.50 Hotfix 20240109-14
A file descriptor is a non-negative integer that acts as an abstract indicator for accessing a file or other input/output resource, such as a pipe or network socket.
It's a low-level, yet fundamental concept in Unix/Linux.
When a process opens a file, socket, or another data stream, the kernel returns a file descriptor as a handle to that resource.
This descriptor is then used in subsequent system calls to read from, write to, or manipulate the resource.
Basically, all Proxy service components are affected by file descriptors.
You'll therefore find:
Running out of file descriptors can lead to resource exhaustion, causing Proxy service to become unstable or crash.
Monitoring and appropriately configuring the file descriptor limits is crucial for the stability.
http://1.2.3.4:9503/proxy/monitor/filedesc
You will receive a json
{
"max_filedescriptors": 458522,
"current_file_descriptors": 458522,
"workers": 1,
"must_file_descriptors": 458522,
"config_ok": true,
"error": "",
"status": true
}