S
S
Salavat Sitdikov2016-05-25 17:06:15
Debugging
Salavat Sitdikov, 2016-05-25 17:06:15

How to work with strace?

There is a site. Worked pretty well until today. After dinner, he began to shamelessly blunt.
100% CPU, LA > 10.
Nothing interesting in the logs.
I watch strace - and I understand that I do not understand anything.
Dear, be grateful, share materials on the topic - how and where, what to look at in strace / trace?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DuD, 2016-06-10
@DuD

Do not immediately climb into the wilds, strace will not give you anything.
First, look at:
1) What process is loading the percent (top, htop, etc.)
2) Is the traffic in the http server logs different from the previous one and from the expected one.
3) Network traffic, whether it differs from the previous one and from the expected one.
And only then draw conclusions. Maybe they just posted an uber article on the site that attracted 100,500 people

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question