They informed me that the processes that are consuming a large part are these here:
Code: Select all
Running Processes:
proje148 818880 5.5 0.0 367172 46032 ? S 16:14 0:00 /opt/cpanel/ea-php73/root/usr/bin/php-cgi /home2/proje148/public_html/app.php
proje148 818881 4.0 0.0 367172 46172 ? S 16:14 0:00 /opt/cpanel/ea-php73/root/usr/bin/php-cgi /home2/proje148/public_html/app.php
proje148 818882 6.3 0.0 367172 46088 ? S 16:14 0:00 /opt/cpanel/ea-php73/root/usr/bin/php-cgi /home2/proje148/public_html/app.php
proje148 818883 7.0 0.0 367172 46016 ? S 16:14 0:00 /opt/cpanel/ea-php73/root/usr/bin/php-cgi /home2/proje148/public_html/app.php
proje148 818885 6.3 0.0 367172 46156 ? S 16:14 0:00 /opt/cpanel/ea-php73/root/usr/bin/php-cgi /home2/proje148/public_html/app.php
proje148 818888 5.6 0.0 367172 46172 ? S 16:14 0:00 /opt/cpanel/ea-php73/root/usr/bin/php-cgi /home2/proje148/public_html/app.php
proje148 818889 6.6 0.0 367172 46016 ? S 16:14 0:00 /opt/cpanel/ea-php73/root/usr/bin/php-cgi /home2/proje148/public_html/app.php
proje148 818890 6.6 0.0 367172 46012 ? S 16:14 0:00 /opt/cpanel/ea-php73/root/usr/bin/php-cgi /home2/proje148/public_html/app.php
proje148 818935 11.0 0.0 367176 45864 ? S 16:14 0:00 /opt/cpanel/ea-php73/root/usr/bin/php-cgi /home2/proje148/public_html/app.php
Running Queries:
*************************** 1. row ***************************
STATE: Sending data
TIME: 2
COMMAND: Query
INFO: SELECT u.username, u.user_id, u.user_rank, u.user_posts, u.user_sig, u.user_avatar, u.user_avatar_type, u.user_avatar_width,
u.user_avatar_height, p.post_id, p.post_text, t.topic_id, t.forum_id, t.topic_title, t.topic_last_post_time,
t.topic_first_poster_colour, t.topic_last_post_id, t.topic_last_poster_name, t.topic_last_poster_colour, t.topic_posts_approved FROM (phpbbkk_topics t CROSS JOIN phpbbkk_posts p CROSS JOIN phpbbkk_users u) WHERE p.topic_id = t.topic_id
AND p.post_visibility = 1
AND p.post_id = t.topic_last_post_id
AND u.user_id = p.poster_id ORDER BY t.topic_last_post_time DESC
LIMIT 4
*************************** 2. row ***************************
STATE: Sending data
TIME: 3
COMMAND: Query
INFO: SELECT COUNT(p.post_id) AS total
FROM phpbbkk_topics t, phpbbkk_posts p
WHERE p.topic_id = t.topic_id
AND p.post_visibility = 1
AND p.post_id = t.topic_last_post_id
*************************** 3. row ***************************
STATE: Sending data
TIME: 2
COMMAND: Query
INFO: SELECT u.username, u.user_id, u.user_rank, u.user_posts, u.user_sig, u.user_avatar, u.user_avatar_type, u.user_avatar_width,
u.user_avatar_height, p.post_id, p.post_text, t.topic_id, t.forum_id, t.topic_title, t.topic_last_post_time,
t.topic_first_poster_colour, t.topic_last_post_id, t.topic_last_poster_name, t.topic_last_poster_colour, t.topic_posts_approved FROM (phpbbkk_topics t CROSS JOIN phpbbkk_posts p CROSS JOIN phpbbkk_users u) WHERE p.topic_id = t.topic_id
AND p.post_visibility = 1
AND p.post_id = t.topic_last_post_id
AND u.user_id = p.poster_id ORDER BY t.topic_last_post_time DESC
LIMIT 4
*************************** 4. row ***************************
STATE: Sending data
TIME: 3
COMMAND: Query
INFO: SELECT COUNT(p.post_id) AS total
FROM phpbbkk_topics t, phpbbkk_posts p
WHERE p.topic_id = t.topic_id
AND p.post_visibility = 1
AND p.post_id = t.topic_last_post_id
*************************** 5. row ***************************
STATE: Sending data
TIME: 1
COMMAND: Query
INFO: SELECT COUNT(p.post_id) AS total
FROM phpbbkk_topics t, phpbbkk_posts p
WHERE t.forum_id NOT IN (37, 38, 39) AND p.topic_id = t.topic_id
AND p.post_visibility = 1
AND p.post_id = t.topic_last_post_id
*************************** 6. row ***************************
STATE: Sending data
TIME: 3
COMMAND: Query
INFO: SELECT COUNT(p.post_id) AS total
FROM phpbbkk_topics t, phpbbkk_posts p
WHERE p.topic_id = t.topic_id
AND p.post_visibility = 1
AND p.post_id = t.topic_last_post_id
*************************** 7. row ***************************
STATE: Sending data
TIME: 2
COMMAND: Query
INFO: SELECT u.username, u.user_id, u.user_rank, u.user_posts, u.user_sig, u.user_avatar, u.user_avatar_type, u.user_avatar_width,
u.user_avatar_height, p.post_id, p.post_text, t.topic_id, t.forum_id, t.topic_title, t.topic_last_post_time,
t.topic_first_poster_colour, t.topic_last_post_id, t.topic_last_poster_name, t.topic_last_poster_colour, t.topic_posts_approved FROM (phpbbkk_topics t CROSS JOIN phpbbkk_posts p CROSS JOIN phpbbkk_users u) WHERE p.topic_id = t.topic_id
AND p.post_visibility = 1
AND p.post_id = t.topic_last_post_id
AND u.user_id = p.poster_id ORDER BY t.topic_last_post_time DESC
LIMIT 4
*************************** 8. row ***************************
STATE: Sending data
TIME: 2
COMMAND: Query
INFO: SELECT u.username, u.user_id, u.user_rank, u.user_posts, u.user_sig, u.user_avatar, u.user_avatar_type, u.user_avatar_width,
u.user_avatar_height, p.post_id, p.post_text, t.topic_id, t.forum_id, t.topic_title, t.topic_last_post_time,
t.topic_first_poster_colour, t.topic_last_post_id, t.topic_last_poster_name, t.topic_last_poster_colour, t.topic_posts_approved FROM (phpbbkk_topics t CROSS JOIN phpbbkk_posts p CROSS JOIN phpbbkk_users u) WHERE p.topic_id = t.topic_id
AND p.post_visibility = 1
AND p.post_id = t.topic_last_post_id
AND u.user_id = p.poster_id ORDER BY t.topic_last_post_time DESC
LIMIT 4
*************************** 9. row ***************************
STATE: Sending data
TIME: 2
COMMAND: Query
INFO: SELECT COUNT(p.post_id) AS total
FROM phpbbkk_topics t, phpbbkk_posts p
WHERE p.topic_id = t.topic_id
AND p.post_visibility = 1
AND p.post_id = t.topic_last_post_id
any hints about the origin of these processes and what can I do to optimize them?