And how about result cache file ? Will it be only 1 object in cache when 2 client GET 1 file SIMULTANEOUSLY or 2 different objects in Nginx proxy_cache_path ?by vizl - Nginx Mailing List - English
Hello I notice strange behavior with keepalive and upstream module. I've backend PHP-FPM with setting configuration request_terminate_timeout = 5s And nginx config: upstream phpfpm { server unix:/tmp/php-fpm-7.sock max_fails=0 fail_timeout=1s; keepalive 8; } location ^\*.php$ { include fastcgi_params; fastcgi_index index.php; fastcgi_connect_timeout 1; fastcgi_neby vizl - Nginx Mailing List - Russian
Thank you. Waiting for 1.9.13 branch.by vizl - Nginx Mailing List - English
We found, that we are running 'truncate -s 0' to file before removing them. Can it potentially cause the mentioned above problems ?by vizl - Nginx Mailing List - English
One thing: when we disable threads in config, and leave only "senfile on;" the problem was gone. So if problem caused by sendfile and non-atomic file updates, why it does not apeared when threads off ?by vizl - Nginx Mailing List - English
Thank you. We don't make any changes with files or overwrite them while sendfile processing it. Only create temp file and then mv it. Maybe Is it the same bug concerned with treads aio like in this messeges, https://forum.nginx.org/read.php?21,264701,265016#msg-265016 and it would be fixed in future ?by vizl - Nginx Mailing List - English
Debug log regarding to hanged PID 7479 http://dev.vizl.org/debug.log.txtby vizl - Nginx Mailing List - English
Sorry, my misprint. Config whithout aio on; only aio threads=default; > do you or some tool periodically change the files ? no, files are unchanged, just periodically some new are added and some expired are deletedby vizl - Nginx Mailing List - English
user www; worker_processes 16; thread_pool default threads=128 max_queue=1024; worker_rlimit_nofile 65536; ###timer_resolution 100ms; #error_log /home/logs/error_log.nginx error; error_log /home/logs/error_log.nginx.debug debug; events { worker_connections 30000; use epoll; } http { include mime.types; default_type application/octet-stream; index index.html indby vizl - Nginx Mailing List - English
Sorry for long answer, but we have doing some tests, and notice that probles is appear when thread_pool enabled. thread_pool default threads=128 max_queue=1024 We need to use thread_pool, and can't permenent disable it unfortunatelyby vizl - Nginx Mailing List - English
P.S: we are using Gentoo with 4.4.1 kernel and CPU X3330 @ 2.66GHz GenuineIntel GNU/Linuxby vizl - Nginx Mailing List - English
Hello, I have strange issuses with nginx workers. For some time after start Nginx I notice that some process of workers cause high load to CPU ( principally sys CPU). At first I've got syscall traces from one of such process: futex(0x157d914, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x157d910, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1 epoll_wait(38, {{EPOLLIN, {u32=7156096, u64=7156096}}}, 512, -1)by vizl - Nginx Mailing List - English