0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-03-14 18:35:08 +01:00
nextcloud-docker/12.0/apache
Loic Dachary 8974d6f9a8
update.sh: prevent apache out of memory
With a default number of workers set to 150, the example apache
configuration will use over 4GB of RAM in the following, rather
likely, demonstration scenario:

* sync a directory with 1000 photos in one directory from a desktop to
  nextCloud
* go to the web interface and quickly scroll down to the bottom of the
  list of photos that were just uploaded
* apache will run as many apache workers as possible (150) to create
  thumbnails and use over 4GB of RAM

The default number of workers is reduced to 30 which has been
experienced to fit in a 2GB virtual machine. It takes longer to
complete but does not trigger out of memory problems.
2018-04-01 12:06:54 +02:00
..
config Pretty URLs for apache 2017-09-14 10:23:46 +02:00
cron.sh Run update.sh 2018-03-15 17:41:36 +01:00
Dockerfile update.sh: prevent apache out of memory 2018-04-01 12:06:54 +02:00
entrypoint.sh Run update.sh 2018-03-15 17:41:36 +01:00