Closed francoisPE closed 3 months ago
11 => 'OC\\Preview\\MSOffice2003',
12 => 'OC\\Preview\\MSOffice2007',
13 => 'OC\\Preview\\MSOfficeDoc',
Each of these document types that you still have enabled also utilizes the libreoffice binary (same as soffice.bin
) too:
Hello,
I face my nextcloud killing my server due to dozen of child processes sent suddenly over max_children allowed. Increasing memory_limit helps, obviously higher max_children helps also. Unfortunately, even upgraded my VPS still has difficulties to manage load.
Digging, I saw that chilren generation match preview operations and specifically xlsx, docx, pptx
ps aux | grep -c /soffice.bin
gives 42 processes running for several daysps aux | egrep -c "Z|defunct"
gives 41 defunct processes...In my setup, I try remove OpenDocument class,
occ config:system:delete enabledPreviewProviders 1 --value='OC\Preview\OpenDocument'
but, nothing changedHere my config.php
Moreover trying to run occ preview:generate-all, job stayed stuked in a folder for hours... In log, I found nothing except acces 404 or 504 for some previews.
I run every 5 minutes a cron job
php -d memory_limit=1024M occ preview:pre-generate
cron log gives nothing. but related processes used up to 80% CPU...My server ubuntu 20.04 apache 2.4 mariadb Ver 15.1 Distrib 10.3.34-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
Nextcloud 23.0.5 preview generator 5.0.0
my config.php
and