1b.app
Link copied -

Abnormal load on CRM

Good afternoon
Yesterday's problem is repeating itself again
no new actions were added
screenshot taken at 11:09 today https://prnt.sc/yDMwhAmevpyq
https://kiyservice.1b.app/app/system-statistic/
What could be putting such a load on the system?
Original question is available on version: ru

Answers:

Морозов Сергей Сергеевич Sergey Morozov
Leave a message in this thread and the user's contacts will be shown to you
I turned off all actions in actions once an hour and still these numbers are now https://prnt.sc/uAcOP8MjjDmz
can you tell what exactly loads the system like that?
11.09.2024, 13:23
Original comment available on version: ua

requests in apiv2. Find out who makes them and why and change the logic.
1. For each request, an API token is obtained AGAIN (although you can use the one you have already received and receive a new one only when the first one has expired)
2. Getting a list of orders for each status with a limit of 200.
That is, you are laying the system for yourself.
11.09.2024, 13:29
Original comment available on version: ru

Морозов Сергей Сергеевич Sergey Morozov
Leave a message in this thread and the user's contacts will be shown to you

let him cook
OneBox production wrote:
requests in apiv2. Find out who is doing them and why and change the logic.
1. Apitoken is received AGAIN for each request (although you can use the already received one and receive a new one only when the first one has expired)
2. Getting a list of orders for each status with a limit of 200.
That is, you build the system yourself

didn't help
the script was turned off
now the indicators are https://prnt.sc/SkY_C79DuwgU and they are growing
11.09.2024, 14:09
Original comment available on version: ua

[2024-09-11 14:19:47]
host: kiyservice.1b.app
url: /api/v2/token/get/
contentID: api-v2-get-api-token
point: /shop.starter.php
engine_sessionid: 1726053587_1059
ip: 176.9.57.117

не выключили
11.09.2024, 14:20

Requesting a list of orders for each manager and status separately once a minute is certainly too much, a good idea. Are you displaying some kind of dashboard there or what? Why spam so much, and with such strange requests. Why not send an array of statuses or managers. Or filtering by creation date or something else?
11.09.2024, 14:35
Original comment available on version: ru

Морозов Сергей Сергеевич Sergey Morozov
Leave a message in this thread and the user's contacts will be shown to you
Yes, thank you.
Already seen
Thanks for your help
11.09.2024, 14:49
Original comment available on version: ru

Морозов Сергей Сергеевич Sergey Morozov
Leave a message in this thread and the user's contacts will be shown to you

let him cook
OneBox production wrote:
[2024-09-11 14:19:47]
host: kiyservice.1b.app
URL: /api/v2/token/get/
contentID: api-v2-get-api-token
point: /shop.starter.php
engine_sessionid: 1726053587_1059
IP address: 176.9.57.117
didn't turn it off

turned off both scripts that could load the CRM
now the indicators are like this https://prnt.sc/EwEHctdFcVB3
11.09.2024, 15:04
Original comment available on version: ru

Морозов Сергей Сергеевич Sergey Morozov
Leave a message in this thread and the user's contacts will be shown to you
and now it's like this https://prnt.sc/Mrg4tnGIgaRS
11.09.2024, 15:09
Original comment available on version: ru

It might be worth turning off all your scripts.
11.09.2024, 15:13
Original comment available on version: ru

Морозов Сергей Сергеевич Sergey Morozov
Leave a message in this thread and the user's contacts will be shown to you
It was turned off a little over an hour ago.
11.09.2024, 15:17
Original comment available on version: ru

[2024-09-11 15:12:08]
host: kiyservice.1b.app
url: /api/v2/token/get/
contentID: api-v2-get-api-token
point: /shop.starter.php
engine_sessionid: 1726056728_1234
ip: 176.9.57.117
More than an hour ago, it was like 14:30 or earlier, but API requests from this IP are still going. The switch doesn't turn it off somehow
11.09.2024, 15:31
Original comment available on version: ru

Морозов Сергей Сергеевич Sergey Morozov
Leave a message in this thread and the user's contacts will be shown to you
now the indicators are like this https://prnt.sc/yG-aQwdS4XCX
the switch worked)
last request was [2024-09-11 15:12:48]
what other reasons could there be?
11.09.2024, 16:13
Original comment available on version: ru

You need to analyze the load, see what requests are coming and from where exactly.
It will take from 3 hours to ten +-. If you agree to pay for the hours spent, I will look at what exactly is causing the load on this project and give recommendations for correction.
11.09.2024, 16:20
Original comment available on version: ru

Морозов Сергей Сергеевич Sergey Morozov
Leave a message in this thread and the user's contacts will be shown to you
Good afternoon
The clock crown is frozen
can you restore its work?
https://kiyservice.1b.app/app/system-statistic/
turned off all actions on the watch crown, still didn't help(
12.09.2024, четверг, 11:22
Original comment available on version: ru

as far as I can see, cron is working. And with the CPU load graph everything is ok, apparently you figured out what the problem is?
16.09.2024, понедельник, 12:47
Original comment available on version: ru

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment