ircd: raise all limits

This commit is contained in:
lassulus 2021-02-16 23:02:08 +01:00
parent 892ae1f8a7
commit 57da9035d2

View File

@ -5,6 +5,8 @@
6667 6669 6667 6669
]; ];
systemd.services.charybdis.serviceConfig.LimitNOFILE = 16384;
krebs.charybdis = { krebs.charybdis = {
enable = true; enable = true;
motd = '' motd = ''
@ -15,7 +17,7 @@
serverinfo { serverinfo {
name = "${config.krebs.build.host.name}.irc.r"; name = "${config.krebs.build.host.name}.irc.r";
sid = "1as"; sid = "1as";
description = "miep!"; description = "irc!";
network_name = "irc.r"; network_name = "irc.r";
vhost = "0.0.0.0"; vhost = "0.0.0.0";
@ -26,7 +28,7 @@
#ssl_dh_params = "etc/dh.pem"; #ssl_dh_params = "etc/dh.pem";
#ssld_count = 1; #ssld_count = 1;
default_max_clients = 100000; default_max_clients = 2048;
#nicklen = 30; #nicklen = 30;
}; };
@ -38,12 +40,12 @@
*/ */
host = "0.0.0.0"; host = "0.0.0.0";
port = 6667; port = 6667;
sslport = 6697; #sslport = 6697;
/* Listen on IPv6 (if you used host= above). */ /* Listen on IPv6 (if you used host= above). */
host = "::"; host = "::";
port = 6667; port = 6667;
sslport = 6697; #sslport = 6697;
}; };
class "users" { class "users" {
@ -53,9 +55,9 @@
number_per_ip_global = 4096; number_per_ip_global = 4096;
cidr_ipv4_bitlen = 24; cidr_ipv4_bitlen = 24;
cidr_ipv6_bitlen = 64; cidr_ipv6_bitlen = 64;
number_per_cidr = 65536; number_per_cidr = 65535;
max_number = 100000; max_number = 65535;
sendq = 10 megabyte; sendq = 1000 megabyte;
}; };
privset "op" { privset "op" {
@ -91,7 +93,7 @@
use_knock = yes; use_knock = yes;
knock_delay = 5 minutes; knock_delay = 5 minutes;
knock_delay_channel = 1 minute; knock_delay_channel = 1 minute;
max_chans_per_user = 15; max_chans_per_user = 150;
max_bans = 100; max_bans = 100;
max_bans_large = 500; max_bans_large = 500;
default_split_user_count = 0; default_split_user_count = 0;