Welcome! Log In Create A New Profile

Advanced

Re: How to force php-fpm to display slow log?

Anoop Alias
October 24, 2017 11:20AM
/index.php -- is the URL as stated by the log you provided.

On Tue, Oct 24, 2017 at 8:39 PM, agriz <nginx-forum@forum.nginx.org> wrote:

> slowlog = /var/log/php-fpm/slow.log
> request_slowlog_timeout = 1s
> This following two lines are added in the php config file. Once it is added
> and restart php-fpm, the slow.log file is created.
>
> (request: "GET /index.php") executing too slow (1.072177 sec), logging
> This error is displayed in error.log file of php-fpm. But there is no
> additional details.
>
> I am not able to trace which url is causing the trouble. It is codeigniter
> framework. So I used the framework's benchmarking tool on all the methods
> and found the execution is fast 0.004 to 0.01 for multiple test
>
> What could be the possible reason for slow.log being empty? Is there a way
> to get complete url in the error log for slow process?
>
> Posted at Nginx Forum: https://forum.nginx.org/read.
> php?2,277048,277048#msg-277048
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>



--
*Anoop P Alias*
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

How to force php-fpm to display slow log?

agriz October 24, 2017 11:09AM

Re: How to force php-fpm to display slow log?

Anoop Alias October 24, 2017 11:20AM

Re: How to force php-fpm to display slow log?

agriz October 24, 2017 11:32AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 295
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