1b.app
Link copied -

The procedure hangs and does not work out to the end and there are no messages, the transition buttons are not gray

For example here https://baza.cn.ua/admin/customorder/order/24796/edit/
I press the button https://prnt.sc/v1wiwk and hang stupidly
In the daytime, it’s better to work out somehow, with a delay, but work out
But at night it’s generally stupid to hang and that’s all, and there is no result, if you press 3-4 times in a row, it will probably work (in pieces like that)
Why such a dumbass?
Original question is available on version: ru

Answers:

If at some time everything is fine and at some time it is not, then most likely at night you have problems with the load on the server. Come to the server at night, see what happens with the load. If I remember everything correctly, a few weeks ago Igor wrote to you about some problems with the hardware on the server, have they been fixed?
19.10.2020, 12:20
Original comment available on version: ru

Куприян Владислав Валерьевич
Baza.cn.ua / Integrator (FOP Kupriyan)

Bodyako Dmitry Employee wrote:
If at some time everything is fine and at some time it is not, then most likely at night you have problems with the load on the server. Come to the server at night, see what happens with the load. If I remember everything correctly, a few weeks ago Igor wrote to you about some problems with the hardware on the server, have they been fixed?

Yes, fixed it, everything is working fine now
How can you catch what's wrong?
19.10.2020, 12:39
Original comment available on version: ru

Firstly, you just need to go to the server at the moment of stupidity and see what the load is in htop, then look at the results
19.10.2020, 13:01
Original comment available on version: ru

Куприян Владислав Валерьевич
Baza.cn.ua / Integrator (FOP Kupriyan)

Bodyako Dmitry Employee wrote:
Firstly, you just need to go to the server at the moment of stupidity and see what the load is in htop, then look at the results

Okay, let's try, and secondly? :)
19.10.2020, 14:02
Original comment available on version: ru

and secondly, it will be necessary to act already depending on the results obtained)
19.10.2020, 14:14
Original comment available on version: ru

Куприян Владислав Валерьевич
Baza.cn.ua / Integrator (FOP Kupriyan)

Bodyako Dmitry Employee wrote:
and secondly, it will be necessary to act already depending on the results obtained)

Now hang again
Here is the process https://baza.cn.ua/admin/customorder/order/24685/edit/
I press the procedure button and everything hangs stupidly and the status buttons are gray https://prnt.sc/v2di7k
Have a look, please
19.10.2020, 17:01
Original comment available on version: ru

You really have something with iron. It was not the procedure that worked out, but I could not even enter the box, its server did not give it to the browser. At that moment, there was no load on the server itself at all
19.10.2020, 17:09
Original comment available on version: ru

Куприян Владислав Валерьевич
Baza.cn.ua / Integrator (FOP Kupriyan)

Bodyako Dmitry Employee wrote:
You really have something with iron. It was not the procedure that worked out, but I could not even enter the box, its server did not give it to the browser. At that moment, there was no load on the server itself at all

Well, you still came in, and what did htop show?
19.10.2020, 17:56
Original comment available on version: ru

It showed that there was no load on the server, but at that time the server did not give the box page. Well, I wrote, I didn’t write clearly enough, Vlad?
19.10.2020, 17:59
Original comment available on version: ru

Куприян Владислав Валерьевич
Baza.cn.ua / Integrator (FOP Kupriyan)

Bodyako Dmitry Employee wrote:
It showed that there was no load on the server, but at that time the server did not give the box page. Well, I wrote, I didn’t write clearly enough, Vlad?

Here is the response from the TP hosting https://prnt.sc/v2h0uc
Well, what can be done next?
19.10.2020, 19:34
Original comment available on version: ru

Куприян Владислав Валерьевич
Baza.cn.ua / Integrator (FOP Kupriyan)
Here is another answer from TP https://prnt.sc/v2hj4c
As I understand it, there is a problem with the database, and as I understand it, the TP is that someone poorly configured the VPS, as an argument there is no log, although it is registered in the config.
How can you help?
19.10.2020, 19:59
Original comment available on version: ru

I can only help you with something within my competence - boxing. I don't see any boxing problems here.
20.10.2020, 10:06
Original comment available on version: ru

Куприян Владислав Валерьевич
Baza.cn.ua / Integrator (FOP Kupriyan)

Bodyako Dmitry Employee wrote:
I can only help you with something within my competence - boxing. I don't see any boxing problems here.

Again there was some kind of "provison" I couldn’t go into boxing at all
I wrote to the hosting so that they could see what was there
Here's what they said https://prnt.sc/v30wew
What can be done ?
20.10.2020, 14:55
Original comment available on version: ru

There is nothing useful in this post. cronque.sh is a cron collector that "rebuilds" the list of crons needed to run, it cannot break anything on the server
20.10.2020, 15:27
Original comment available on version: ru

If it was boxing that caused these freezes, then it would be not only on your server, but stupidly for everyone, it’s immediately obvious that the problem on your particular box means a jamb in the server (now everything is fine, but after half an hour everything is stupid - and the code works the same way that half an hour ago and now, it means something is happening with the server on which this code is running)
20.10.2020, 15:28
Original comment available on version: ru

Куприян Владислав Валерьевич
Baza.cn.ua / Integrator (FOP Kupriyan)

Bodyako Dmitry Employee wrote:
If it was boxing that caused these freezes, then it would be not only on your server, but stupidly for everyone, it’s immediately obvious that the problem on your particular box means a jamb in the server (now everything is fine, but after half an hour everything is stupid - and the code works the same way that half an hour ago and now, it means something is happening with the server on which this code is running)

I agree with your logic
How can I prove this to the hoster, they say that everything is fine with them?
20.10.2020, 22:44
Original comment available on version: ru

Unfortunately, I do not have experience in communicating with hosters to help you with drafting an appeal to them.
21.10.2020, 11:59
Original comment available on version: ru

Куприян Владислав Валерьевич
Baza.cn.ua / Integrator (FOP Kupriyan)

Bodyako Dmitry Employee wrote:
Unfortunately, I do not have experience in communicating with hosters to help you with drafting an appeal to them.

The hoster analyzed the operation of the server
Here is the conclusion:
Right now I see that the server has failed in swap by 1.2GB.
Those. its used swap file is almost the same size as RAM.
KiB Mem : 1873912 total, 168868 free, 1347888 used, 357156 buff/cache
^^^^^^^^^^^^^
KiB Swap: 2621432 total, 1399812 free, 1221620 used. 416200 availMem
^^^^^^^^^^^^^^
This is not a normal state.
Ideal - when the swap file is not used.
Permissible - when less than a quarter of the amount of RAM is used.
Rebooted mysql - paging file usage dropped by 4/5.
did # swapoff -a ; swapon
The server unloaded the swap into memory, and reset it to zero.
Those. top now looks like this
KiB Mem : 1873912 total, 198040 free, 1049884 used, 625988 buff/cache
KiB Swap: 2621432 total, 2621432 free, 0 used. 565292 availMem
Conclusion - mysql is configured to work in a system where there is significantly more than 2G of RAM,
and tries to keep too much information in memory (in the cache), so that the cache ends up on disk. And from this presence of a cache it only gets worse.
Conclusion:
It is necessary to configure mysql in the direction of reducing the size of the cache.
It turns out that the server is somehow incorrectly configured, that is, the database itself
1. Why is this done and what can be done?
2. Perhaps this is somehow connected with the procedure that I run https://baza.cn.ua/admin/shop/workflow/9/procedure/49/?status=0?
Since she has been working for a very long time and can it somehow influence this?
22.10.2020, 14:54
Original comment available on version: ru

The number of operatives that the database can use for itself is configured on the server itself in the database settings. If you need our system administrator to reconfigure the database, you need a task for him, this is 1 hour.
22.10.2020, 15:14
Original comment available on version: ru

Куприян Владислав Валерьевич
Baza.cn.ua / Integrator (FOP Kupriyan)

Bodyako Dmitry Employee wrote:
The number of operatives that the database can use for itself is configured on the server itself in the database settings. If you need our system administrator to reconfigure the database, you need a task for him, this is 1 hour.

The question here is whether you configured everything correctly when you last reconfigured, since the hoster claims that something is wrong there, the database is somehow greedily eating + something is not clear with the cache, or did you set everything up correctly?
22.10.2020, 15:21
Original comment available on version: ru

One and a half GB of RAM is not greedy. On the server where our box is located, for example, the base eats about 50GB of RAM. The problem is that you only have one and a half GB of RAM.
22.10.2020, 15:28
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