Welcome! Log In Create A New Profile

Advanced

Nginx mail proxy: 12: Cannot allocate memory

Dmitriy M.
February 17, 2017 03:14PM
Добрый день,

в процессе работы nginx в качестве mail-прокси, как IMAP + IMAPs так и
POP3 + POP3s, довольно часто (десятки в час при сотнях запросах/сек)
наблюдаются сообщения вида:

2017/02/17 18:53:04 [alert] 85666#100706: *382213 send() failed (12:
Cannot allocate memory) while proxying and sending to client, client:
37.203.xxx.xxx, server: 0.0.0.0:110, login: "alex@local.domain",
upstream: 10.10.10.10:110

2017/02/17 18:53:29 [crit] 85672#100581: *304157 SSL_write() failed
(SSL:) (12: Cannot allocate memory) while proxying and sending to
client, client: 212.90.xxx.xxx, server: 0.0.0.0:993, login:
"po@local.domain", upstream: 10.10.10.10:143

Жалоб вроде бы не поступало от пользователей (сервис публичный, запросы из-вне).

Стоит ли беспокоиться по поводу этих сообщений, что может служить
причиной, какие конфиг-параметры можно попробовать менять для
исправления?

Спасибо!

Наблюдается на FreeBSD 10, сборка из исходников:
nginx version: nginx/1.10.3
built by clang 3.3 (tags/RELEASE_33/final 183502) 20130610
built with LibreSSL 2.4.5
TLS SNI support enabled
configure arguments: --prefix=/usr/local/etc/nginx --with-cc-opt='-I
/usr/local/include' --with-ld-opt='-L /usr/local/lib'
--conf-path=/usr/local/etc/nginx/nginx.conf
--sbin-path=/usr/local/sbin/nginx --pid-path=/var/run/nginx.pid
--error-log-path=/var/log/nginx/error.log --user=www --group=www
--modules-path=/usr/local/libexec/nginx
--http-client-body-temp-path=/var/tmp/nginx/client_body_temp
--http-fastcgi-temp-path=/var/tmp/nginx/fastcgi_temp
--http-proxy-temp-path=/var/tmp/nginx/proxy_temp
--http-scgi-temp-path=/var/tmp/nginx/scgi_temp
--http-uwsgi-temp-path=/var/tmp/nginx/uwsgi_temp
--http-log-path=/var/log/nginx/access.log --with-http_addition_module
--with-http_realip_module --with-http_stub_status_module
--with-http_sub_module --with-pcre --with-http_v2_module
--with-threads --with-http_ssl_module --with-mail
--with-mail_ssl_module --without-mail_smtp_module
--with-openssl=/root/nginx/libressl-2.4.5
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

Nginx mail proxy: 12: Cannot allocate memory

Dmitriy M. February 17, 2017 03:14PM

Re: Nginx mail proxy: 12: Cannot allocate memory

Dmitry Ivanov February 17, 2017 04:00PM

Re: Nginx mail proxy: 12: Cannot allocate memory

Maksim Kulik February 18, 2017 02:18AM

Re: Nginx mail proxy: 12: Cannot allocate memory

Dmitry Ivanov February 18, 2017 03:30AM

Re: Nginx mail proxy: 12: Cannot allocate memory

Dmitriy M. February 18, 2017 04:00PM

Re: Nginx mail proxy: 12: Cannot allocate memory

Илья Шипицин February 18, 2017 04:12PM

Re: Nginx mail proxy: 12: Cannot allocate memory

Dmitry Ivanov February 19, 2017 02:08AM

Re: Nginx mail proxy: 12: Cannot allocate memory

Sergey Kandaurov February 20, 2017 04:56AM

Re: Nginx mail proxy: 12: Cannot allocate memory

Dmitriy M. February 20, 2017 05:06AM

Re: Nginx mail proxy: 12: Cannot allocate memory

Dmitriy M. February 21, 2017 11:02AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 253
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready