Forum Replies Created
Hello Susan Romero,
Hope you are well. Thanks for writing to us. For a Download Manager setup experiencing high-volume download issues with PHP-FPM, you can try these specific recommendations to improve performance and prevent lockups:
Here’s a comprehensive guide to optimize PHP-FPM for WordPress Download Manager (WPDM) during high-volume downloads:
1. First, Backup Your Configuration:
sudo cp /etc/php-fpm.d/www.conf /etc/php-fpm.d/www.conf.backup
2. Locate Your PHP-FPM Configuration File:
– For Debian/Ubuntu:/etc/php/8.x/fpm/pool.d/www.conf
– For CentOS/RHEL: /etc/php-fpm.d/www.conf
(Replace 8.x with your PHP version)`
3.Edit PHP-FPM Pool Configuration:
sudo nano /etc/php-fpm.d/www.conf
4. Add/Modify These Settings in http://www.conf
; Process Manager Configuration
pm = dynamic
pm.max_children = 50
pm.start_servers = 5
pm.min_spare_servers = 5
pm.max_spare_servers = 35
pm.max_requests = 500
; Memory Settings
php_admin_value[memory_limit] = 256M
php_admin_value[max_execution_time] = 300
; Timeout Settings
request_terminate_timeout = 300s
; Slow Log Configuration
slowlog = /var/log/php-fpm/slow.log
request_slowlog_timeout = 10s
5. Configure OPcache in php.ini
Find and edit your php.ini:
opcache.enable=1
opcache.memory_consumption=128
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=4000
6. Additional Performance Improvements
– Install and configure a caching plugin
– Use Redis or Memcached
– Implement a CDN for large files
– Consider using nginx over Apache
7. After Making Changes, Restart PHP-FPM
# For Ubuntu/Debian
sudo systemctl restart php8.x-fpm
# For CentOS/RHEL
sudo systemctl restart php-fpm
8. Monitor Performance
# Monitor PHP-FPM processes
htop
# Check PHP-FPM status
systemctl status php8.x-fpm
# Monitor error log
tail -f /var/log/php-fpm/error.log
9. Fine-Tuning Notes
– Adjust pm.max_children based on your server’s RAM
– Formula: max_children = (Total RAM – Reserved RAM) / Max PHP process size
– Monitor server resources and adjust values accordingly
– Keep an eye on the slow log for potential bottlenecks
Remember to:
– Test in a staging environment first
– Make one change at a time
– Monitor the impact of each change
– Keep backups of all configuration files
Please kindly check and let me know.
Thank you and kind regards
Glad to hear that. However, if you need further help with anything else, then please don’t hesitate to open a new topic. If you get some free moments, can you please give us a 5* here https://wordpress.org/support/plugin/download-manager/reviews/?rate=5#new-post, It will inspire us a lot. Thanks in advance 🙂
Thank you again and regards
You shall find the file from plugins folder wpdm-form-lock\wpdm-form-lock.php file. Please kindly check and let me know if you have any more queries.
Thank you and kind regards
Hello Sitcom Software,
Hope you are well. Thanks for writing to us. For dynamic category implementation with download packages slug you may have to consult with our customization team. You may order a custom order request here, https://www.wpdownloadmanager.com/download/custom-upgrade-service/. Please kindly check.
Thank you and kind regards
Which colors do you want to adjust? Please kindly check.
Thank you and regards
I have information from our team that the issue has been fixed on the latest version of PRO membership plugin. Please kindly check and let me know.
Thank you and kind regards
Hello again,
Can you please let me know what I will do with the above credentials? Please kindly check and let me know.
Thank you and kind regards
Glad to hear that. However, if you need further help with anything else, then please don’t hesitate to open a new topic. If you get some free moments, can you please give us a 5* here https://wordpress.org/support/plugin/download-manager/reviews/?rate=5#new-post, It will inspire us a lot. Thanks in advance 🙂
Thank you again and regards
You can use this filter hook for implementing the file_list design or its order part, https://www.wpdownloadmanager.com/doc/filter-reference/wpdm_get_files-manipulate-wordpress-download-manager-package-file-list/. Please kindly check.
Thank you and kind regards
We are checking the issue. I have already forwarded it to our related team authority. Please kindly check and let me know if you have any more queries.
Thank you and kind regards
Ok, can you please let me know, are you trying to customize the output HTML appearance here, https://bergen4palestine.no/download/test-package/. Please kindly check and let me know.
Thank you and kind regards
I can’t able to access wp-admin other menu while login. Please kindly check.
Thank you and regards
If possible, can you please, give your temporary wp-admin login details in a private reply to check the issue?
Thank you and regards
Hello misterspok,
Hope you are well. For translation of the site contents you can use a better translation plugin. And more details, you can check these articles,
Please kindly check and let me know.
Thank you and kind regards
If you don’t expose the URL, nobody will find the download URL normally. If protection is working for other file types it will work for exe file type as well. We have not set special release for exe file and its permission. However, I can’t able to check for non public packages the login required message. It should show login required message for non public package. Please kindly check.
Thank you and kind regards
Glad to hear that. However, if you need further help with anything else, then please don’t hesitate to open a new topic. If you get some free moments, can you please give us a 5* here https://wordpress.org/support/plugin/download-manager/reviews/?rate=5#new-post, It will inspire us a lot. Thanks in advance 🙂
Thank you again and regards
What issues still you are facing? please kindly check.
Thank you
If you turned on open in a new window the URL will always open into a new tab, how you will hide the URL then, it is the basic setting. I hope you have understood. Please kindly check.
Thank you and regards
Please kindly check now, I have adjusted the CSS. Please let me know if it fits your requirement.
Thank you and kind regards
Please kindly check now. If it works properly for you. I have added the below CSS from Customizer > Additional CSS. Please kindly check and let me know.
#grve-content{
display:inline-flex;
}
#grve-content.grve-left-sidebar #grve-main-content {
width: 98% !important;
margin-left: 0% !important;
}
#grve-content.grve-left-sidebar .grve-content-wrapper{
width:70% !important;
}
Thank you and kind regards
Glad to hear that. However, if you need further help with anything else, then please don’t hesitate to open a new topic. If you get some free moments, can you please give us a 5* here https://wordpress.org/support/plugin/download-manager/reviews/?rate=5#new-post, It will inspire us a lot. Thanks in advance 🙂
Thank you again and regards
Please kindly check now, https://bergen4palestine.no/download/test-package/, I have added necessary CSS on r4p-simple-page-template CSS section. Please let me know if you like the design appearance and let me know if you need more assistance. Please kindly check.
Thank you and kind regards
I have disabled Open in new window download link URL from your WPDM settings. Now I hope the download URL should not be exposed. Please kindly check.
Thank you and regards
You are welcome. And never hesitate to open a new topic if you face any problem or issue.
Thank you and kind regards
