ideal packages setting, cpu highload due to high iowait

weblinks

New member
Joined
Jan 11, 2023
Messages
4
For a Single wordpress website what will be the ideal setting in package.

Currently i have following setting

CPU Quota 100%
IO Read Bandwidth Max 5M
IOPS Read Max 1K
IO Write Bandwidth Max 5M
IOPS Write Max 1K
Memory High 1G
Memory Max 2G
Tasks Max 512

as i am getting highload on server due to iowait sometimes if many request come to that domain

top - 05:23:15 up 15 days, 17:03, 0 users, load average: 24.80, 25.05, 22.50
Tasks: 948 total, 8 running, 940 sleeping, 0 stopped, 0 zombie
%Cpu(s): 14.5 us, 5.1 sy, 0.0 ni, 34.7 id, 45.5 wa, 0.2 hi, 0.1 si, 0.0 st
MiB Mem : 192807.0 total, 41058.3 free, 31704.2 used, 120044.4 buff/cache
MiB Swap: 8192.0 total, 6239.9 free, 1952.1 used. 155460.8 avail Mem


I/O Information:
Total DISK READ : 3.64 M/s | Total DISK WRITE : 0.00 B/s
Actual DISK READ: 0.00 B/s | Actual DISK WRITE: 0.00 B/s
TID PRIO USER DISK READ DISK WRITE SWAPIN IO COMMAND
b'1170074 be/4 elaro23m 167.76 K/s 0.00 B/s 0.00 % 79.78 % php-fpm: pool elaro23m'
b'1189046 be/4 elaro23m 268.41 K/s 0.00 B/s 0.05 % 79.58 % php-fpm: pool elaro23m'
b'1185977 be/4 elaro23m 301.96 K/s 0.00 B/s 0.34 % 79.41 % php-fpm: pool elaro23m'
b'1165416 be/4 elaro23m 100.65 K/s 0.00 B/s 0.14 % 79.37 % php-fpm: pool elaro23m'
b'1165412 be/4 elaro23m 67.10 K/s 0.00 B/s 0.15 % 77.60 % php-fpm: pool elaro23m'
b'1201339 be/4 elaro23m 134.20 K/s 0.00 B/s 79.40 % 0.16 % php-fpm: pool elaro23m'
b'1165403 be/4 elaro23m 33.55 K/s 0.00 B/s 79.51 % 0.00 % php-fpm: pool elaro23m'
b'1165405 be/4 elaro23m 335.51 K/s 0.00 B/s 80.43 % 0.00 % php-fpm: pool elaro23m'
b'1165407 be/4 elaro23m 201.31 K/s 0.00 B/s 80.01 % 0.00 % php-fpm: pool elaro23m'
b'1165409 be/4 elaro23m 234.86 K/s 0.00 B/s 80.02 % 0.00 % php-fpm: pool elaro23m'
b'1165414 be/4 elaro23m 100.65 K/s 0.00 B/s 79.74 % 0.00 % php-fpm: pool elaro23m'
b'1165418 be/4 elaro23m 335.51 K/s 0.00 B/s 80.08 % 0.00 % php-fpm: pool elaro23m'
b'1165420 be/4 elaro23m 167.76 K/s 0.00 B/s 79.55 % 0.00 % php-fpm: pool elaro23m'
b'1165422 be/4 elaro23m 134.20 K/s 0.00 B/s 80.19 % 0.00 % php-fpm: pool elaro23m'
b'1165424 be/4 elaro23m 268.41 K/s 0.00 B/s 79.84 % 0.00 % php-fpm: pool elaro23m'
b'1165429 be/4 elaro23m 67.10 K/s 0.00 B/s 79.26 % 0.00 % php-fpm: pool elaro23m'
b'1165433 be/4 elaro23m 201.31 K/s 0.00 B/s 79.90 % 0.00 % php-fpm: pool elaro23m'
b'1188411 be/4 elaro23m 335.51 K/s 0.00 B/s 80.07 % 0.00 % php-fpm: pool elaro23m'
b'1196007 be/4 elaro23m 268.41 K/s 0.00 B/s 79.91 % 0.00 % php-fpm: pool elaro23m'

pls help.
 
Hello,

Why would you try to speed limit slow scripts?

I would rather try and find why the scripts are slow and make them working faster.

See: https://www.getpagespeed.com/server-setup/how-to-log-and-fix-slow-php-requests
Hi,

thanks for your reply, we offered hosting solution in shared environment. As in my first reply i mentioned about 1 user due to which highload occur on server due to iowait and then load goes down in 2/3 hours itself. But for another day same thing happen again for another user. so i want to know the ideal package configuration for single wordpress website so we assign that resource to him properly, and after that if his website stuck server due to slow script we will tell him to fix his website.

webserver is apache
php_fpm_max_children_default 20

pls assist
 
Back
Top