This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
CentOS-WebPanel Bugs / xml import pro cron job
« on: May 22, 2024, 06:35:16 PM »
Hello.
I cannot define cron for the link below. Can you help please?
https: // xxxxxx.com / admin / import.php?import_id=1&part=1_1
I cannot define cron for the link below. Can you help please?
https: // xxxxxx.com / admin / import.php?import_id=1&part=1_1
2
Apache / Re: server reached MaxClients setting, consider raising the MaxClients setting
« on: June 03, 2023, 09:29:10 AM »
I got into this part. I hope my problem will be fixed.
Do I need to edit anywhere other than here?
<IfModule mpm_event_module>
StartServers 3
MinSpareThreads 63
MaxSpareThreads 127
ThreadsPerChild 382
ThreadLimit 382
MaxRequestWorkers 3056
ServerLimit 3066
MaxConnectionsPerChild 4000
</IfModule>
Do I need to edit anywhere other than here?
<IfModule mpm_event_module>
StartServers 3
MinSpareThreads 63
MaxSpareThreads 127
ThreadsPerChild 382
ThreadLimit 382
MaxRequestWorkers 3056
ServerLimit 3066
MaxConnectionsPerChild 4000
</IfModule>
Put all settings offered by apache_mpm_calculator into the appropriate section of:Code: [Select]/usr/local/apache/conf/extra/httpd-mpm.conf
Please don't forget to make backup of the file before you modify it in order to undo the changes if something goes wrong.
3
Apache / Re: server reached MaxClients setting, consider raising the MaxClients setting
« on: June 03, 2023, 06:20:47 AM »
Which one should I enter?
prefork?
worker?
event?
prefork?
worker?
event?
Put all settings offered by apache_mpm_calculator into the appropriate section of:Code: [Select]/usr/local/apache/conf/extra/httpd-mpm.conf
Please don't forget to make backup of the file before you modify it in order to undo the changes if something goes wrong.
4
Apache / Re: server reached MaxClients setting, consider raising the MaxClients setting
« on: June 02, 2023, 01:34:21 PM »
Which option should I enter the values in the calculation?
StartServers 3
MinSpareThreads 63
MaxSpareThreads 127
ThreadsPerChild 382
ThreadLimit 382
MaxRequestWorkers 3056
ServerLimit 3066
MaxConnectionsPerChild 4000
StartServers 3
MinSpareThreads 63
MaxSpareThreads 127
ThreadsPerChild 382
ThreadLimit 382
MaxRequestWorkers 3056
ServerLimit 3066
MaxConnectionsPerChild 4000
You just need to change the value in the appropriate section (prefork, worker, event) of:Code: [Select]/usr/local/apache/conf/extra/httpd-mpm.conf
and then restart Apache.
The value depends on available (free memory). Don't set the value too high. I recommend you to following:
1. Check how much free memory you have;
2. Find the most memory expensive http/apache process;
3. Divide free memory by the RAM usage of the most expensive http/apache process;
4. Divide the result by two.
Don't forget other services eat RAM too
I recommend you to check the following guide:
https://www.woktron.com/secure/knowledgebase/133/How-to-optimize-Apache-performance.html
Also, you can use:Code: [Select]/scripts/apache_mpm_calculator
to get values recommended by CWP.
5
Apache / Re: server reached MaxClients setting, consider raising the MaxClients setting
« on: May 30, 2023, 09:29:17 AM »
What values can we set this file with?
Do I need to make settings elsewhere after changing this file?
/usr/local/apache/conf/extra/httpd-mpm.conf
Do I need to make settings elsewhere after changing this file?
/usr/local/apache/conf/extra/httpd-mpm.conf
6
CentOS Configuration / Re: How to setup user quotas ?
« on: March 19, 2023, 07:51:13 PM »
[root@srv ~]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 16G 0 16G 0% /dev
tmpfs 16G 0 16G 0% /dev/shm
tmpfs 16G 17M 16G 1% /run
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/md1 893G 3.5G 890G 1% /
tmpfs 3.2G 0 3.2G 0% /run/user/0
[root@srv ~]# cat /etc/fstab
/dev/md1 / xfs rw,relatime,attr2,inode64,sunit=1024,swidth=2048,noquota 0 0
/dev/md1 / xfs rw,relatime,attr2,inode64,sunit=1024,swidth=2048,noquota 0 0
/dev/md1 / xfs rw,relatime,attr2,inode64,sunit=1024,swidth=2048,noquota 0 0
What should I do?
Filesystem Size Used Avail Use% Mounted on
devtmpfs 16G 0 16G 0% /dev
tmpfs 16G 0 16G 0% /dev/shm
tmpfs 16G 17M 16G 1% /run
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/md1 893G 3.5G 890G 1% /
tmpfs 3.2G 0 3.2G 0% /run/user/0
[root@srv ~]# cat /etc/fstab
/dev/md1 / xfs rw,relatime,attr2,inode64,sunit=1024,swidth=2048,noquota 0 0
/dev/md1 / xfs rw,relatime,attr2,inode64,sunit=1024,swidth=2048,noquota 0 0
/dev/md1 / xfs rw,relatime,attr2,inode64,sunit=1024,swidth=2048,noquota 0 0
What should I do?
Pages: [1]