capsx Posted November 4, 2021 Report Share Posted November 4, 2021 Sveiki! Varbūt kāds var izpalīdzēt - īsti netieku skaidrībā. Ir: Ubuntu 20.04.3 LTS nginx/1.18.0 php7.4-fpm Gan iekš poola, gan iekš php.ini ir ielikts: php_admin_value[memory_limit] = 1024M php_admin_value[upload_max_filesize] = 256M php_admin_value[post_max_size] = 256M php_admin_value[max_execution_time] = 600 php_admin_value[max_input_time] = 600 php_admin_value[default_socket_timeout] = 600 Tomēr - PHP scripti, kuri izpildās ilgāk par 60 sekundēm - mirst nost: [04-Nov-2021 12:18:36] WARNING: [pool www] child 204435, script '/xxx/xxx.php' (request: "POST /xxx/xxx.php") executing too slow (66.125165 sec), logging [04-Nov-2021 12:18:36] NOTICE: child 204435 stopped for tracing [04-Nov-2021 12:18:36] NOTICE: about to trace 204435 [04-Nov-2021 12:18:36] NOTICE: finished trace of 204435 Tas ir kaut kāds bags, ka nevar uzlikt ilgāku izpildes laiku, vai kā ??? Ir kādas idejas? Paldies! Quote Link to comment Share on other sites More sharing options...
e-remit Posted November 4, 2021 Report Share Posted November 4, 2021 Paskaties, no kurienes nginx ņem timeout! Vai no pareizā php.ini vai viņa paša konfigurācijā iekšā ir iestādītas 60 sekundes. Quote Link to comment Share on other sites More sharing options...
capsx Posted November 4, 2021 Author Report Share Posted November 4, 2021 Tā - izskatās, ka pie vainas bija, ka aizmirsts ielikts pašam nginx: fastcgi_read_timeout 600; Liek vainu iekš paša vhosta, vai iekš http { Paldies par uzmanību ;) Turam buras! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.