N
N
nep2013-11-11 10:11:22
Search Engine Optimization
nep, 2013-11-11 10:11:22

Why is mysqld CPU heavy?

There are:
5 online stores with low attendance. Good hosting. Periodically huge brakes on the site due to the fact that mysql loads the percentage under 100%. There are no formal procedures. The problem is old and has been going on for a long time. My qualifications are not enough to understand what the cant is (maybe not in Bitrix at all, but in the server settings).
Tell me where to dig? Or recommend a specialist. Thank you.

Answer the question

In order to leave comments, you need to log in

7 answer(s)
D
Dmitry Shcherbakov, 2013-11-11
@Scherbakov

well, first show mysql config

M
Masterme, 2013-11-11
@Masterme

Under admin at the time of the brakes:
SHOW PROCESSLIST
and look for a hung request

S
Stepan, 2013-11-11
@L3n1n

Enable profiling.
Make a conclusion for yourself on each page and walk around the site, see which queries are taking a long time to complete.
Ordinary slowlog sometimes will not show that some request is looped on your page and is executed several dozen times.

A
Alexey Sundukov, 2013-11-12
@alekciy

Not all good hosting services are created equal. VPS/VPS? Random loading usually means disk drawdown.

B
betal, 2013-11-11
@betal

Did you try to take the config that 1C made himself with slight changes in the distribution of RAM?
Is the result of the top command, wa normal?
And so in bitrix, requests are not particularly easy, when the online store wrote there, it completely abandoned infoblocks.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question