Search the Community
Showing results for tags 'php-cgi'.
-
Ciao a tutti, Ho installato Prestashop 1.7.6.7 su server cloud aruba con php 7.2.26, non so a cosa sia dovuto ma questo sito dopo qualche minuto di esecuzione mi apre un infinità di processi php-cgi.exe e mi manda in palla il server con cpu al 100% ed il sito non carica, ho limitato il numero di istanze a 15 dal FastCGI ma lo stesso spesso il sito va in palla, come posso capire a cosa è dovuto? Tema, plugin, prestahop.... Qualcuno si è trovato in una situazione simile ? come posso capire quale parte di prestashop fa aprire tutti questi processi ?
-
Have two dedicated servers. One with PHP-CLI and other with Fast-CGI + PHP-FPM both hosted with Apache 2. Hosted same prestashop on both the servers for testing after changing the prestashop config files Website works perfectly fine on PHP-CLI. There is 404.gif image for products which do not have image On PHP-CGI, Fast-CGI + PHP-FPM Everything looks fine except that on 404 status return for an Image url, the url is not redirected to /img/404.gif It has something to do with below in 404.php but I am not sure what else is needed on the server to correct it. if (in_array(substr($_SERVER['REQUEST_URI'], -3), array('png', 'jpg', 'gif'))) { require_once(dirname(__FILE__).'/config/settings.inc.php'); header('Location: '.__PS_BASE_URI__.'img/404.gif'); exit; } Please help if anyone is aware of a solution.
-
I recently installed Prestashop on a new linux GoDaddy VDS. Every time someone visits my site, I get an email from ldf (from my CSF installation) saying that /usr/bin/php-cgi or /usr/sbin/httpd is exceeding 200 MB of virtual memory. To my knowledge, prestashop is the only php code I've got running on my VDS, that could be creating this issue. My question for the forum is: 1) Is the fact that I'm routinely exceeding 200 MB of virtual memory having a negative impact on my site's speed? If not, what problems does it create, if any? 2) If routinely exceeding 200 MB of virtual memory is a problem, what can I do to fix it. Some logs for the linux-literate Time: Wed Jul 11 17:02:20 2012 -0700 Account: myaccount Resource: Virtual Memory Size Exceeded: 384 > 200 (MB) Executable: /usr/bin/php-cgi Command Line: /usr/bin/php-cgi -c /var/www/vhosts/kikbo.com/abc/php.ini PID: 24163 Killed: No Time: Wed Jul 11 17:03:20 2012 -0700 Account: myaccount Resource: Virtual Memory Size Exceeded: 287 > 200 (MB) Executable: /usr/bin/php-cgi Command Line: /usr/bin/php-cgi -c /var/www/vhosts/kikbo.com/abc/php.ini PID: 24184 Killed: No Time: Wed Jul 11 16:23:36 2012 -0700 Account: apache Resource: Virtual Memory Size Exceeded: 425 > 200 (MB) Executable: /usr/sbin/httpd Command Line: /usr/sbin/httpd PID: 23596 Killed: No