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

2017-10-24 Thread agriz
Sir, codeigniter is executing everything from index.php The coding which has been done are in the controller, model and view folders. The actual url which user see is different. It is routed. Can we get that url? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,277048,277050#msg-277050

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

2017-10-24 Thread Anoop Alias
/index.php -- is the URL as stated by the log you provided. On Tue, Oct 24, 2017 at 8:39 PM, agriz 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 i

How to force php-fpm to display slow log?

2017-10-24 Thread agriz
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.lo

Crash observed while using nginx-upstream-carp along with zone directive

2017-10-24 Thread rnmx18
Hi, I am trying to use the following "NGINX upstream carp" module to realize upstream load balancing with a certain server affinity for requests. https://github.com/olegloa/nginx-upstream-carp The following basic configuration works fine. upstream mybackends { server 192.168.1.3:872