Welcome! Log In Create A New Profile

Advanced

[alert] 269#269: sendmsg() failed (109: Too many references: cannot splice)

Gena Makhomed
June 25, 2020 07:36AM
Здравствуйте, All!

CentOS 8.2, nginx 1.19.0 из официального репозитория.

Когда запускаю nginx внутри systemd-nspawn контейнера -
в error.log видно большое количество сообщений про ошибку:

[alert] 269#269: sendmsg() failed (109: Too many references: cannot splice)

Подозреваю, что nginx в контейнере не хватает каких-то лимитов,
только не понятно каких именно.

При worker_processes 64; ошибка появляется в логах,
при worker_processes 32; ошибки в логах больше нет.

Каким образом можно сделать так, чтобы nginx работал в контейнере
systemd-nspawn без ошибок с директивой worker_processes 64; в конфиге?

Насколько критична эта ошибка, и может ли она появиться в логах
при worker_processes 32; в случае высокой нагрузки на nginx?

Процессор на этом сервере: AMD EPYC 7502P 32-Core Processor
32 физических ядра, 64 виртуальных ядра (Simultaneous MultiThreading).

Конфиг:

/etc/systemd/nspawn/1.nspawn

[Exec]
ResolvConf=copy-host
LimitNOFILE=infinity
LimitNICE=40

[Network]
Bridge=venet0

/etc/nginx/nginx.conf

worker_processes 64;
worker_priority -10;
worker_rlimit_core 512M;
worker_rlimit_nofile 262144;
worker_shutdown_timeout 60s;
working_directory /var/log/nginx;

error_log /var/log/nginx/error.log warn;

events {
worker_connections 262144;
use epoll;
}

http {
# ...
}

--
Best regards,
Gena

_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

[alert] 269#269: sendmsg() failed (109: Too many references: cannot splice)

Gena Makhomed June 25, 2020 07:36AM

Re: [alert] 269#269: sendmsg() failed (109: Too many references: cannot splice)

Илья Шипицин June 25, 2020 07:50AM

Re: [alert] 269#269: sendmsg() failed (109: Too many references: cannot splice)

Gena Makhomed June 25, 2020 09:06AM

Re: [alert] 269#269: sendmsg() failed (109: Too many references: cannot splice)

Maxim Dounin June 25, 2020 10:24AM

Re: [alert] 269#269: sendmsg() failed (109: Too many references: cannot splice)

Gena Makhomed June 25, 2020 11:00AM

Re: [alert] 269#269: sendmsg() failed (109: Too many references: cannot splice)

Илья Шипицин June 25, 2020 11:14AM

Re: [alert] 269#269: sendmsg() failed (109: Too many references: cannot splice)

Gena Makhomed June 25, 2020 12:04PM

Re: [alert] 269#269: sendmsg() failed (109: Too many references: cannot splice)

Maxim Dounin June 25, 2020 12:34PM

Re: [alert] 269#269: sendmsg() failed (109: Too many references: cannot splice)

Maxim Dounin June 25, 2020 12:10PM

Re: [alert] 269#269: sendmsg() failed (109: Too many references: cannot splice)

edo1 June 25, 2020 04:04PM

Re: [alert] 269#269: sendmsg() failed (109: Too many references: cannot splice)

Maxim Dounin June 25, 2020 06:20PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 80
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready