Я рекомендую выполнить шаги на этой странице, чтобы включить дампы и выяснить причину: https://docs.nginx.com/nginx/admin-guide/monitoring/debugging/#coredumpby edo888 - Nginx Mailing List - Russian
"limits -P <pid>" открыл мои глаза, спасибо большое!by edo888 - Nginx Mailing List - Russian
Спасибо за ответ. Вы правильно отметили, я сам добавил "(core not dumped)" во время отладки. У меня больше 100 ГБ места. В сообщениях у меня только это: kernel: pid NNN (nginx), jid 0, uid 80: exited on signal 11 Не знаю, что мне еще сделать.by edo888 - Nginx Mailing List - Russian
У меня есть --with-debug в аргументах конфигурации nginx. Да, я выполнил шаги, описанные в этой статье. Спасибо!by edo888 - Nginx Mailing List - Russian
Здравствуйте, Очень редко у меня в журнале ошибок появляется "worker process NNN exited on signal 11 (core not dumped)" Я пытаюсь создать дамп, но что бы я ни делал, он не создается или его размер равен 0. Я использую FreeBSD, и первое, что я пby edo888 - Nginx Mailing List - Russian
Hi, Very rarely I have "worker process NNN exited on signal 11 (core not dumped)" in the error log. I'm trying to generate a coredump, but no matter what I do it is not being generated or the size is 0 bytes. I'm running FreeBSD and the first thing I have tried to do is enable nginx to dump core files, but no matter how big I set worker_rlimit_core the dumps are not generated. Iby edo888 - Other discussion
Временно исправил с помощью: error_log /dev/null debug; Конечно это не решение.by edo888 - Nginx Mailing List - Russian
Здравствуйте, Столкнулся с очень непонятной ситуацией: 2018/03/17 22:17:58 24476#103240: *1588730132 upstream timed out (60: Operation timed out) while reading upstream, client: X.X.X.X, server: YYY, request: "GET /AAA/ HTTP/1.1", upstream: "https://Z.Z.Z.Z:443/AAA/", host: "YYY" с резултатом в Googlby edo888 - Nginx Mailing List - Russian
Hi, Just in case someone will find this in google. I have found a solution. You will need to populate sr->request_body->bufs and then make sure to set sr->headers_in.content_length_n... You can check the http echo module subrequest.c file and see how it sets the content length.by edo888 - Nginx Mailing List - English
May be I need to use ngx_http_write_request_body(sr, sr->request_body->buffs)?by edo888 - Nginx Mailing List - English
Digging around I was able to get this code so far: in my module's body filter I do this: if(ngx_http_subrequest(r, &uri, &query_string, &sr, NULL, 0) != NGX_OK) return NGX_ERROR; // adjust subrequest ngx_str_t method_name = ngx_string("POST"); sr->method = NGX_HTTP_POST; sr->method_name = method_name; First of all it still uses GET with fastcgiby edo888 - Nginx Mailing List - English
Hi, I want to make a post subrequest to fastcgi with parent's response body to filter it there and return to client. I cannot find any manual about making a post subrequests. Can you share some basic code with explanation? Thanks in advance.by edo888 - Nginx Mailing List - English
Hi, Can you please share some piece of code. I want to make a post subrequest to send the response body to fastcgi and filter it there.by edo888 - Nginx Mailing List - English
BTW. Just noticed the addresses: 0x80126aa00 0x80126aa02 and I think that this is related to '\0' character.by edo888 - Other discussion
Hi, I think I have found a bug in ngx_http_complex_value. Here is a piece from my code. ngx_str_t first_tmp; if (ngx_http_complex_value(r, &conf->first_value, &first_tmp) != NGX_OK) { return NGX_ERROR; } ngx_str_t second_tmp; if (ngx_http_complex_value(r, &conf->second_value, &second_tmp) != NGX_OK) { return NGX_ERROR; } I'm debugging it with gdb andby edo888 - Other discussion
I have set proxy_set_header Accept-Encoding ""; in the config which disables the gzip responses from upstream server. I'm still curious how sub filter module works in case of gzip responses.by edo888 - How to...
Hi, I'm developing a filter module and here what I have in nginx.conf set $var_name test; module_config_var $var_name; in the module commands I have this: { ngx_string("module_config_var"), NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1, ngx_http_module_set_var, NGX_HTTP_LOC_CONF_OFFSET, offsetof(ngx_http_module_loc_conf_tby edo888 - How to...
Hi, I'm developing a filter module which should get a response from upstream server, modify it with an external program and send it to the client. I'm using nginx as a reverse proxy. I need to know how can I get the buffer chain flattened to be sent to an external program and then devide the result into chunks to be sent to the client. I cannot find a documentation for the nginx chains and dby edo888 - How to...
Hi, I'm developing a filter module and would like to know how I can access the response text from the upstream server if the response is gzipped? Do I need to gunzip it? May be I can disable gzip responses from upstream server somehow (change accept-encoding in request headers)? It seems that incomming chain (in->buf->pos) contains gzipped text.by edo888 - How to...
![]() |
![]() |
![]() |
![]() |
![]() |