Keyword

Can't upload image size 3.6mb

More
3 years 6 months ago #178877 by JoomlaWorks
Replied by JoomlaWorks on topic Can't upload image size 3.6mb
A high memory limit is not a problem if you use PHP-FPM and can control how many threads PHP can open at any given time. A good rule is to use "ondemand" mode in PHP-FPM with a thread count of 80%-100% of your available CPUs. So if your server has 8 CPUs, use 8 for pm.max_children (the thread count for PHP-FPM). That means your server will never require more than 8 GBs of RAM assuming you have a 1024M memory limit.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
3 years 6 months ago - 3 years 6 months ago #178886 by Nikola
Replied by Nikola on topic Can't upload image size 3.6mb
Fotis, thank you very much for further clarification! Not using PHP-FHM at the moment, but will definitely reconfigure Apache in the nearby future. My most troublesome server (regarding this particular problem) is a 6-core Xeon with 32 GB of physical memory running solely as a dedicated web server, so I think I wouldn't face this problem anyway, but it's good to set limits, just in case.
Last edit: 3 years 6 months ago by Nikola.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum