1
0
mirror of https://github.com/osmarks/ngircd.git synced 2025-04-22 02:33:12 +00:00
Alexander Barton 3497925000 Try to set file descriptor limit to its maximum and show info on startup
The number of possible parallel connections is limited by the process
file descriptor limit (among other things). Therefore try to upgrade the
current "soft" limit to its "hard" maximum (but limit it to 100000), and
show an information or even warning, wenn still less than the configured
"MaxConnections" setting.

Please note that ngIRCd and its linked libraries (like PAM) need file
descriptors not only for incoming and outgoing IRC connections, but for
reading files and inter-process communication, too! Therefore the actual
connection limit is _less_ than the file descriptor limit!

This introduces the new MAX_FD_LIMIT (100000) #define.
2024-03-31 11:19:48 +02:00
..

ngIRCd - Supplemental Files

This contrib/ directory contains the following sub-folders and files:

  • Debian/ folder: This subfolder contains the rules file and additional assets for building Debian packages.

  • de.barton.ngircd.metainfo.xml: AppStream metadata file.

  • de.barton.ngircd.plist[.tmpl]: launchd(8) property list file.

  • Dockerfile: Container definition file, for Docker or Podman for example. More information can be found in the doc/Container.md file.

  • ngindent.sh: Script to indent the code of ngIRCd in the "standard way".

  • ngircd-bsd.sh: Start/stop script for FreeBSD.

  • ngircd-redhat.init: Start/stop script for old(er) RedHat-based distributions (like CentOS and Fedora), which did not use systemd(8).

  • ngIRCd-Logo.gif: The ngIRCd logo as GIF file.

  • ngircd.logcheck: Sample rules for logcheck(8) to ignore "normal" log messages of ngIRCd.

  • ngircd.service: systemd(8) service unit configuration file.

  • ngircd.socket: systemd(8) socket unit configuration file for "socket activation".

  • ngircd.spec: RPM "spec" file.

  • nglog.sh: Script for colorizing the log messages of ngircd(8) according to their log level. Example: ./src/ngircd/ngircd -n | ./contrib/nglog.sh.

  • platformtest.sh: Build ngIRCd and output a "result line" suitable for the doc/Platforms.txt file.