From 19b584408dd5f84461a10a8c14e4122f9454cc86 Mon Sep 17 00:00:00 2001 From: Tom Wiesing Date: Wed, 7 Oct 2020 12:37:55 +0200 Subject: [PATCH] Increase php limits --- .gitignore | 3 ++- .../resources/compose/barrel/conf/wisski.ini | 15 ++++++++------- distillery/resources/compose/web/global.conf | 2 +- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 668bdd6..84e40a6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ authorized_keys .vagrant .env -*.zip \ No newline at end of file +*.zip +*.nq \ No newline at end of file diff --git a/distillery/resources/compose/barrel/conf/wisski.ini b/distillery/resources/compose/barrel/conf/wisski.ini index bed4795..e77c2e2 100644 --- a/distillery/resources/compose/barrel/conf/wisski.ini +++ b/distillery/resources/compose/barrel/conf/wisski.ini @@ -1,13 +1,14 @@ -; File Uploads up to 250 MB -; Seems to be reasonable compromise between the default (2MB) and maximum available space +; File Uploads up to 1GB file_uploads = On -upload_max_filesize = 250M -post_max_size = 250M +upload_max_filesize = 1000M +post_max_size = 1000M ; Composer uses an absurd amount of memory ; 4GB ought to be enough memory_limit = 4G -; If execution time turns out to be a problem -; we should uncomment this -; max_execution_time = 600 \ No newline at end of file +; Increase various limits for some long running WissKI operations +max_execution_time = 3000 +max_input_time = 600 +max_input_nesting_level = 640 +max_input_vars = 10000 diff --git a/distillery/resources/compose/web/global.conf b/distillery/resources/compose/web/global.conf index f814838..5161f0c 100644 --- a/distillery/resources/compose/web/global.conf +++ b/distillery/resources/compose/web/global.conf @@ -1,3 +1,3 @@ # update the max body size to fit with php's configuration. # should be kept in sync with distillery/resources/compose/barrel/conf/wisski.ini. -client_max_body_size 250m; \ No newline at end of file +client_max_body_size 1000m; \ No newline at end of file