PeteC21 Posted December 15, 2021 Share Posted December 15, 2021 Hi peeps. Nice to be a Prestashop member So, here what is going on I have a VPS (8 core, 16 GB Ram) and im hosting 3 prestashop websites Right now im working on the 4th one but something weird is going on. (Nginx - Apache - PHP=FPM) When in trying to duplicate, edit or do anything in the product the php-fpm crashes (only in that vhost) and i get 504 timeout. I restart the php-fpm and it comes back to normal. I can work everywhere in the backend without any issues but when i go in the product then the timeout comes back. I cant really find anything in the logs Anyone had the same issue before? (i have done my research, did increase timeout in the server's config and all that.) Any help appreciated Link to comment Share on other sites More sharing options...
Nickz Posted December 15, 2021 Share Posted December 15, 2021 46 minutes ago, PeteC21 said: Anyone had the same issue before? (i have done my research, did increase timeout in the server's config and all that.) Sorry to hear that Php version, memory and upload setting for php, ngingx are set at .....???? Link to comment Share on other sites More sharing options...
PeteC21 Posted December 16, 2021 Author Share Posted December 16, 2021 16 hours ago, Nickz said: Sorry to hear that Php version, memory and upload setting for php, ngingx are set at .....???? PHP Version: 7.4 Memory: 1024 (it was 256 but i tokk it up to 1024) Upload: 100M nginx: client_max_body_size 100M; the weird thing here is that in the same server i have 2 more prestashop sites that are working file. Same versions with same settings. thats why im lost. Link to comment Share on other sites More sharing options...
Nickz Posted December 16, 2021 Share Posted December 16, 2021 All using the same theme? Link to comment Share on other sites More sharing options...
El Patron Posted December 16, 2021 Share Posted December 16, 2021 You must not be finding the log, if php-fpm crashes there must be a log of it somewhere. Is it possible for your to contact your hosting company for assistance? what is your control panel? Plesk (recommended), cpanel..etc Link to comment Share on other sites More sharing options...
Nickz Posted December 16, 2021 Share Posted December 16, 2021 1 hour ago, El Patron said: Is it possible for your to contact your hosting company for assistance? Most VPS are self managed. My guess is vestcp, hestia, webmin or else Link to comment Share on other sites More sharing options...
PeteC21 Posted December 16, 2021 Author Share Posted December 16, 2021 2 hours ago, Nickz said: All using the same theme? They are not using the same theme but it happend when i work in the backend and only inside a product. When i hit "save" it just goes on time out Link to comment Share on other sites More sharing options...
PeteC21 Posted December 16, 2021 Author Share Posted December 16, 2021 1 hour ago, El Patron said: You must not be finding the log, if php-fpm crashes there must be a log of it somewhere. Is it possible for your to contact your hosting company for assistance? what is your control panel? Plesk (recommended), cpanel..etc CWP is the panel an im in sharge of the vps. I have 15 years of experience on centos. I have tried everything but still no idea where the issue comes from on ONLY this account. All of them are running under same settings when is comes to nginx, apache and php-fpm Link to comment Share on other sites More sharing options...
Nickz Posted December 16, 2021 Share Posted December 16, 2021 1 minute ago, PeteC21 said: When i hit "save" it just goes on time out Check for timeouts in the php.ini files. Link to comment Share on other sites More sharing options...
El Patron Posted December 16, 2021 Share Posted December 16, 2021 5 minutes ago, PeteC21 said: CWP is the panel an im in sharge of the vps. I have 15 years of experience on centos. I have tried everything but still no idea where the issue comes from on ONLY this account. All of them are running under same settings when is comes to nginx, apache and php-fpm I have 45 years experience, see where that got us loool. without hands on, well it's difficult to guess, crash is just not enough detail. fyi, my experience is IBM mainframes, centos....www all very barbaric. we do have a real linux blackbelt on staff, I'll send him link maybe he will join the fourm..... but if it crashes and no log....without knowing what the crash is...well I'd like to help you out but don't know what door you came in. Contact us via our webiste and we take a look, for free. Link to comment Share on other sites More sharing options...
PeteC21 Posted December 16, 2021 Author Share Posted December 16, 2021 Just now, El Patron said: I have 45 years experience, see where that got us loool. without hands on, well it's difficult to guess, crash is just not enough detail. fyi, my experience is IBM mainframes, centos....www all very barbaric. we do have a real linux blackbelt on staff, I'll send him link maybe he will join the fourm..... but if it crashes and no log....without knowing what the crash is...well I'd like to help you out but don't know what door you came in. Contact us via our webiste and we take a look, for free. found the issue.... Stupid mod_security adding the exception in the htaccess fixes the issue <IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule> Link to comment Share on other sites More sharing options...
El Patron Posted December 17, 2021 Share Posted December 17, 2021 18 hours ago, PeteC21 said: found the issue.... Stupid mod_security adding the exception in the htaccess fixes the issue <IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule> don't feel bad, that has tripped every webmaster as well because it's mod_security and finding a log if it exists is apparently a security issue loool. Happy you found before the weekend as I'm sure you feel tired. Often I think of just doing one service, hosting upgrades for ecommerce even if just to tune the mysql config. cheers, Fred Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now