Questions tagged [php-fpm]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
73 views

Seeking Advice on High Number of PHP-FPM Processes in Magento Environment (Magento 2.4.6 & php 8.2)

Seeking Advice on High Number of PHP-FPM Processes in Magento Environment (Magento 2.4.6 & php 8.2 ) Hello Magento Community, I hope this message finds you well. I'm currently managing a Magento ...
Muhammad Talha's user avatar
0 votes
0 answers
34 views

Magento 1.9 PHP Fatal error: Call to a member function getFrontNameByRoute() on boolean line 382

Sometimes I get this error in my Magento 1.9 but I cannot debug the reason. It happens quite rarely but I would like to find out why. Can you help me debug? this is my code at around like 382. File ...
Sam Provides's user avatar
2 votes
0 answers
2k views

PHP-FPM CPU usage very high

I am using magento 2.4.3-p2 running php-7.4-fpm and nginx 1.18 on ubuntu 20.04 with elasticsearch 7.17.6 and varnish 6.2.1. My server has 32GB RAM and Intel Xeon-E2136 processor. Everything has been ...
Alex Smith's user avatar
0 votes
1 answer
403 views

Magento Paypal onAuthorization error on return to success page

I have a fresh install of Magento 2.3.6. I enabled the default paypal payment method, and I am trying to debug it using sandbox mode. I am able to complete the process of the payment on Paypal, but ...
justadev's user avatar
  • 225
1 vote
1 answer
3k views

Configure php-fpm in magento2.4 correctly

php-fpm is consuming a large amount of memory, forcing the instance to restart. The server would like to know the configuration or the procedure for an ideal configuration. server: 4vcore memory: ...
amazonas ecommerce's user avatar
0 votes
1 answer
748 views

Magento 2 + FastCGI (Nginx + PHP-FPM) don't work (404)

I try to use Magento 2.4.1 + FastCGI (Nginx + PHP-FPM), but I get 404 error for every page. PHP 7.4.15 MySQL 8.0.23 Nginx 1.16.1 Ubuntu 18.04 Nginx conf: server { server_name mysite.com www.mysite....
RustamV's user avatar
  • 11
1 vote
3 answers
1k views

Magento 2.3.x Admin Panel keeps loading

I have installed Magento 2.3.5-p1 and also tried 2.3.4-p2 on Centos 7, with Nginx & PHP-FPM, maria DB with following commands. 1. /var/www/magento < owner by MAGENTO:NGINX user (I have created ...
nix's user avatar
  • 127
1 vote
0 answers
78 views

Product pages loading occasionally without product attributes

I am facing the following issue on an already-live site on Magento 2.3.2: product pages occasionally don't load completely, missing (amongst other) product attributes / swatches (clothe sizes in our ...
Alexandros Chalatsis's user avatar
0 votes
1 answer
558 views

Proper User for Ubuntu Nginx PHP-FPM when running php bin/magento and composer Command Line

So on the setup mentioned in the title, I want to confirm how the user should be for command line. Using the default setup there is a user "nginx" that is used for php-fpm and for nginx. Should that ...
Kevin Chavez's user avatar
2 votes
1 answer
361 views

Different PHP-FPM Pools for frontend and backend using Apache2

I found this article teaching how to create two different php-fpm pools from magento frontend and backend using nginx. My question is: is it possible to do this using Apache2? Thanks in advance.
Filipe Marques's user avatar
4 votes
1 answer
3k views

Magento 2.3.1 - Issue with catalog search when using php7.2-fpm

When we search any string from the search text box, We have encountered a 500 server error into the search result page in our live web site or search page getting blank. When we check in logs or ...
Emipro Technologies Pvt. Ltd.'s user avatar
4 votes
1 answer
6k views

Magento 2.3 Very High PHP-FPM CPU Usage

Using Magento 2.3 and after some extensive digging, it seems that either fotorama or another that loads the images on product list and product page runs several instances of PHP-FPM all at high usage, ...
Mehdi Rafiai's user avatar
3 votes
0 answers
170 views

My deployment scripts are utilizing all the ram and taking forever

Even if I increase the ram it will end up just using it up and bogging down. I'm not sure if this is riding the gray line of what should be in magento stack exchange vs ask ubuntu. Why are these ...
Head's user avatar
  • 157
1 vote
0 answers
86 views

Cron jobs interfering with load testing

I'm load testing a Magento site using Gatling. The site is hosted on 4 Amazon EC2 machines behind an application load balancer. If all of my cron jobs are disabled, the site can take a good amount of ...
Doug McLean's user avatar
  • 1,130
1 vote
0 answers
419 views

NGINX adding filename.php alias issue

I am trying to add phpfilename with .php extension. My partial NGINX configuration is: server { set $MAGE_ROOT /home/user/public_html; root $MAGE_ROOT/pub; location / { root $...
crashtestxxx's user avatar
5 votes
2 answers
574 views

support for PHP-PM?

As you can see there is a huge performance boost with newly php-pm package that is a good replace for regular php-fpm does magento2 supports PHP-pm or what might happens if we use it on production ...
Sina Miandashti's user avatar
1 vote
0 answers
760 views

Server Load Average Extremely High - 35.46, 36.08, 36.35

I'm running a Digital Ocean droplet with 32GB Memory which runs an online store that uses Magento as a CMS/ERP. Lately I've noticed that the load average for the droplet is extremely high, sometimes ...
coopwatts's user avatar
  • 141
2 votes
3 answers
4k views

Why Magento is using high CPU in AWS?

I'm having a problem that is occurring after the volume of concurrent users on my site has increased. I'm currently with almost 600 concurrent users and the server is using 100% CPU. To alleviate ...
Junior Maia's user avatar
2 votes
2 answers
5k views

MAMP: how to start php-fpm?

I've always been using Apache with MAMP successfully, and now I need to tinker around setting up multi-stores with subdirectories in an Nginx environment. I'm following pretty much the vanilla ...
laketuna's user avatar
  • 6,830
0 votes
2 answers
291 views

Magento 2 DevBox Beta Caching

I'm using the Docker DevBox (Beta) from Magento for development. Unfortunately, after developing a while, it seems that the container caches everything. Sometimes it helps when I restart Docker. In ...
TKly's user avatar
  • 11
0 votes
1 answer
162 views

Category page manager stuck in reload (CentOS7 + ngingx 1.11.8)

I already checked out Category Manager Page in a Reload Loop Nginx and saw a similar problem that I am encountering. The solutions mentioned in the mentioned topic DO NOT solve my problem. The ...
van den HeuvelConcepts's user avatar
0 votes
1 answer
4k views

Nginx 502 Error only with full page cache enabled or trying to go to the admin

Even after disabling my custom module I'm getting this error. When I stopped working on it the day before this wasn't the case. It was working fine and I've been using this same server to develop ...
user avatar
2 votes
1 answer
433 views

Magento - Many unique 404 requests crashes php-fpm / server

One of my Magento servers crashed the other day and I had to restart php-fpm before it would recover. Looking into the problem, I noticed a lot of HTTP requests (around 40) for random file names (tar, ...
dmulligan's user avatar
9 votes
4 answers
14k views

Magento -site not opening after CLI -installation

I am trying to get Magento 2 installed on my Centos7 LEMP-stack, but after a successful CLI-installation and setting the Magento on Developer-mode, I get the following message when trying to open the ...
MyrkkyMies's user avatar
0 votes
1 answer
477 views

Multi-Store Nginx Strange Crossover

Maybe someone can shed some light on this issue. Here's what's happening, when a user visits domain2.com they are sometimes re-directed to domain1.com. Going to domain2.com for a second time (re-...
Todd's user avatar
  • 1
0 votes
1 answer
607 views

Custom Extension - empty observer on sales_order_save_after causes 502; checkout redirects to Cart

I'm trying to build a custom extension for an existing Magento setup which will fire on the sales_order_save_after observer. With the extension disabled, the checkout completes fine, going through ...
WillPS's user avatar
  • 157
2 votes
1 answer
774 views

How to distribute Magento application across several nodes in cluster setup?

I've been Googling around, but still don't have a clear picture of the subject. I've set up following 1x LB node (nginx) 1x Webserver node (Nginx + PHP-FPM) 1x Cache-Session node (2 Redis instances)...
Sharif's user avatar
  • 492
9 votes
1 answer
2k views

Magento Enterprise - Ongoing Redis Connection Errors

Enterprise 1.14.1.0, nginx, php-fpm, solr, redis (2 instances - one for fpc, and one for everything else) We're completely at our wit's end - we have tweaked every configuration setting that seems ...
Mark Middleton's user avatar
1 vote
2 answers
623 views

Magento Onepage keeps redirecting to cart until I reload php-fpm

I have a Magento site on an nginx server with PHP-fpm. I came into this project recently with the server already set up, albeit poorly. Right now, when a user is in onepage checkout and tries to move ...
The_DemoCorgin's user avatar