1b.app
Link copied -

Krone does not have enough memory to run scripts

In the logs, it constantly shows a lack of memory when executing scripts on the daily crown:
[2023-11-28 00:14:23]
point: /var/www/core....sc/web1/web/cron/cron-day.php
engine_sessionid: 1701123263_8059
data: Array
(
[type] => 1
[message] => Allowed memory size of 4294967296 bytes exhausted (tried to allocate 3604347360 bytes)
[file] => /var/www/core....sc/web1/web/packages/ConnectionManager/ConnectionManager_MySQLi.clas...
[line] => 125
)
I think for the same reason the action "Send price list every hour/day" does not work (https://1b.app/ua/forum/business-processes-and-automation/17832-perestali-formuv... lists/).
When starting manually in the logs:
[2023-11-28 10:03:35]
point: /var/www/core...sc/web1/web/cron/cron-redis-thread.php
engine_sessionid: 1701158615_9677
data: Array
(
[type] => 1
[message] => Allowed memory size of 2147483648 bytes exhausted (tried to allocate 3604677264 bytes)
[file] => /var/www/core...sc/web1/web/packages/ConnectionManager/ConnectionManager_MySQLi.class...
[line] => 125
)
Original question is available on version: ua

Answers:

Сусяк Ігор
Integrator.com.ua
Personal license
Leave a message in this thread and the user's contacts will be shown to you
Oleksandr, good afternoon
if boxing is on your server - then raising the limits of 1 hour of work.
You can send SSH root access to crm@integrator.com.ua
28.11.2023, 10:38
Original comment available on version: ua

Олександр Григорович
Support EP
Leave a message in this thread and the user's contacts will be shown to you
Good day.
Yes, I can do that, but all my changes in the project code will be updated back to those committed in the repository.
That is, without a commit to the repository, my changes are not fixed.
28.11.2023, 11:10
Original comment available on version: ua

Сусяк Ігор
Integrator.com.ua
Personal license
limit increases do not apply to the code itself.
28.11.2023, 18:48
Original comment available on version: ua


Ihor Susiak
The integrator wrote:
limit increases do not apply to the code itself.

It is good if the required limit is specified in the root of the project: cron-main.day.conf, cron.day.conf.
- how do you think it should be changed?
1. Just edit the config.
2. Edit and commit to the onebox repository.
3. Create a custom config and add it to .gitignore.
29.11.2023, 09:37
Original comment available on version: ua

Сусяк Ігор
Integrator.com.ua
Personal license
these files do not need to be modified.
29.11.2023, 09:56
Original comment available on version: ua

Good afternoon. We can change the configs to have more memory, it will take 1 hour. Bill?
30.11.2023, 12:24
Original comment available on version: ru

Олександр Григорович
Support EP
Leave a message in this thread and the user's contacts will be shown to you

Department of Care
OneBox production wrote:
Good afternoon. We can change the configurations so that there is more memory, it will take 1 hour. Issue an invoice?

If for this reason the action "Send price list every hour/day" does not work https://1b.app/ua/forum/business-processes-and-automation/17832-perestali-formuv... , then issue an invoice.
30.11.2023, 13:07
Original comment available on version: ua

Олександр Григорович
Support EP
Leave a message in this thread and the user's contacts will be shown to you

Department of Care
OneBox production wrote:
Good afternoon. We can change the configurations so that there is more memory, it will take 1 hour. Issue an invoice?

This is also not enough:
point: /var/www/co...sc/web1/web/cron/cron-redis-thread.php
engine_sessionid: 1701441902_9083
data: Array
(
[type] => 1
[message] => Allowed memory size of 2147483648 bytes exhausted (tried to allocate 20971520 bytes)
[file] => /var/www/coreextrapartsc/web1/web/apps/opencart/api/services/OpencartService.class.ph...
[line] => 1610
01.12.2023, 17:09
Original comment available on version: ua

Олександр Григорович
Support EP
Leave a message in this thread and the user's contacts will be shown to you
and here:
point: /var/www/co...sc/web1/web/cron/cron-hour.php
engine_sessionid: 1701442881_1120
data: Array
(
[type] => 1
[message] => Allowed memory size of 1073741824 bytes exhausted (tried to allocate 20480 bytes)
[file] => /var/www/co....sc/web1/web/packages/ConnectionManager/ConnectionManager_MySQLi.class....
[line] => 326
)
Everyone can upgrade to 5G.
01.12.2023, 18:26
Original comment available on version: ua

Good afternoon, I installed the sentry, day and radish on 5G, check tomorrow morning if the day cron has worked.
05.12.2023, 11:51
Original comment available on version: ru

Олександр Григорович
Support EP
Leave a message in this thread and the user's contacts will be shown to you

Care Department
OneBox production wrote:
Good afternoon, I installed the sentry, day and radish on 5G, check tomorrow morning if the day cron has worked.

No
[2023-12-06 00:16:53]
point: /var/www/co....sc/web1/web/cron/cron-day.php
engine_sessionid: 1701814613_4373
data: Array
(
[type] => 1
[message] => Allowed memory size of 5368709120 bytes exhausted (tried to allocate 16384 bytes)
[file] => /var/www/co....sc/web1/web/packages/ConnectionManager/ConnectionManager_MySQLi.class....
[line] => 125
)
06.12.2023, 08:48
Original comment available on version: ru

Олександр Григорович
Support EP
Leave a message in this thread and the user's contacts will be shown to you


Department of Care

OneBox production wrote:

Good afternoon, I put the sentinel, day and radish on 5G, check tomorrow morning if the day crown worked.



Good day.

In the configs, 1G is again and the logs are swearing.
06.12.2023, 10:19
Original comment available on version: ua

corrected, try again))
06.12.2023, 11:37
Original comment available on version: ru


Care Department
OneBox production wrote:
Having corrected it, we try again))

[2023-12-06 13:09:00]
point: /var/www/c...c/web1/web/cron/cron-redis-thread.php
engine_sessionid: 1701860940_7223
data: Array
(
[type] => 1
[message] => Allowed memory size of 5368709120 bytes exhausted (tried to allocate 10485760 bytes)
[file] => /var/www/co....c/web1/web/apps/opencart/contents/block-auto-action/box_auto_action_ex...
[line] => 961
)
cron-redis-thread.php give 8G
06.12.2023, 14:10
Original comment available on version: ru

what are you putting in there? Something eats a lot
06.12.2023, 15:52
Original comment available on version: ru


Care Department
OneBox production wrote:
what are you putting in there? Something eats a lot

I have 3.5 M products.
06.12.2023, 16:30
Original comment available on version: ru

Олександр Григорович
Support EP
Leave a message in this thread and the user's contacts will be shown to you

Care Department
OneBox production wrote:
corrected, try again))

daytime did not work:
[2023-12-07 00:16:42]
point: /var/www/c...sc/web1/web/cron/cron-day.php
engine_sessionid: 1701901002_268
data: Array
(
[type] => 1
[message] => Allowed memory size of 5368709120 bytes exhausted (tried to allocate 16384 bytes)
[file] => /var/www/c...sc/web1/web/packages/ConnectionManager/ConnectionManager_MySQLi.class.ph...
[line] => 125
)
check again:
cron-main.day.conf
cron.day.conf
07.12.2023, 11:42
Original comment available on version: ru

The system had to be rebuilt at night, apparently auto-update was disabled. I rebuilt it manually to fill out the configs correctly.
07.12.2023, 11:59
Original comment available on version: ru

When started manually with a limit of 10G, it still crashes at 5 (we have override to 5G in only 2 places, as far as I can see they shouldn’t twitch at startup), do you happen to have any custom on the project? I see you wrote something about this above.
07.12.2023, 17:01
Original comment available on version: ru


Do you happen to have any custom on your project? I see you wrote something about this above.

https://1b.app/ru/forum/integrations-with-crm-and-erp/17385-otsenit-dorabotki-pr...
We developed the “CMS ExtraParts” application, its minute launch was moved to a separate crown and the limits were changed.
07.12.2023, 17:08
Original comment available on version: ru

no, there is nothing like that and it’s not really custom)
07.12.2023, 17:11
Original comment available on version: ru


Care Department
OneBox production wrote:
no, there is nothing like that and it’s not really custom)

I agree, that’s why I listed everything that was done
07.12.2023, 17:16
Original comment available on version: ru

The second time it seemed to work. Check tomorrow morning if everything is ok
07.12.2023, 17:50
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