the cron container can occationally fail due to out of memory condition #41

Open
opened 2024-05-07 22:15:03 +00:00 by cas · 0 comments
Owner

We encountered the cron repeatedly failing to run, with an error such as:

2024-05-07T22:10:03.111952000Z PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/apps/files_trashbin/lib/Helper.php on line 85

During debugging, we manually ran the cron task from inside of the app container, which caused the cron to work thenceforth. Seems like the php configs are different between the two containers, since the cron container was unable to run it.

edit: we thought it had fixed it running it from the app container but it doesn't seem to have, the cron container still produces this error afterwards.

We encountered the `cron` repeatedly failing to run, with an error such as: ``` 2024-05-07T22:10:03.111952000Z PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/apps/files_trashbin/lib/Helper.php on line 85 ``` During debugging, we manually ran the cron task from inside of the app container, which caused the cron to work thenceforth. Seems like the php configs are different between the two containers, since the cron container was unable to run it. edit: we thought it had fixed it running it from the app container but it doesn't seem to have, the cron container still produces this error afterwards.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: coop-cloud/nextcloud#41
No description provided.