Closed Linda-chan closed 5 years ago
GitMate.io thinks the contributor most likely able to help you is @ownclouders.
Possibly related issues are https://github.com/owncloud/core/issues/24156 (cron.php fails with error ), https://github.com/owncloud/core/issues/5198 ([5.0.12 cron.php] Create comprehensible error messages), https://github.com/owncloud/core/issues/14296 (OC8 cron.php failing - createFile() on a non-object - Lucene LockManager), https://github.com/owncloud/core/issues/2116 (Cron Service Fails), and https://github.com/owncloud/core/issues/15996 (php occ l10n:createjs fails with error message).
@ho4ho OC9 works fine on 512Mb. And I don't think it's a bug, just thought I misconfigured something and somebody ran into same issue.
http://techpp.com/2009/07/10/how-to-fix-php-fatal-error-out-of-memory/
There is no memory limit on my installation.
I mean my php.ini have line like this:
memory_limit = -1
Today I tweaked apache2.conf with this section:
<IfModule mpm_prefork_module>
StartServers 3
MinSpareServers 3
MaxSpareServers 5
MaxClients 15
MaxRequestsPerChild 0
</IfModule>
Not it spawns five processes instead of ten. And I received only one error message since then.
// Actually it was not a question.
Issue.
Alright. Thanks.
In my case, updated memory_limit as memory_limit = 2048M in php.ini works for me.
Two weeks ago I've received message like this in cron.php's output:
Sometimes it gives me more specific info:
The files, lines and sizes in message may vary.
This installation of ownCloud was set up month or few ago. Previous was OC 9.x on Ubuntu 14 preconfigured by DigitalOcean and I seen no errors like this. Now I get these errors few times a day.
My current server have 1Gb of RAM and 25Gb of disk space.
It may be coincidence but earlier I've run into bug with thumbnails for deleted files and file versions.
Server configuration
Operating system: 18.04.1 LTS (GNU/Linux 4.15.0-42-generic x86_64)
Web server: Apache/2.4.29 (Ubuntu)
Database: MariaDB 10.1.34
PHP version: PHP 7.2.1
ownCloud version: (see ownCloud admin page) 10.0.10.4 (Community)
Updated from an older ownCloud or fresh install: Fresh install on fresh machine
Where did you install ownCloud from: Tarball
Signing status (ownCloud 9.0 and above): «No errors have been found.»
The content of config/config.php:
List of activated apps:
Are you using external storage, if yes which one: No
Are you using encryption: No
Are you using an external user-backend, if yes which one: No