MCPcopy Create free account
hub / github.com/antirez/disque / adjustOpenFilesLimit

Function adjustOpenFilesLimit

src/server.c:1124–1194  ·  view source on GitHub ↗

This function will try to raise the max number of open files accordingly to * the configured max number of clients. It also reserves a number of file * descriptors (CONFIG_MIN_RESERVED_FDS) for extra operations of * persistence, listening sockets, log files and so forth. * * If it will not be possible to set the limit accordingly to the configured * max number of clients, the function will d

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

configSetCommandFunction · 0.85
initServerFunction · 0.85

Calls 1

serverLogFunction · 0.85

Tested by

no test coverage detected