Closed FuhuXia closed 1 month ago
Tested with the latest, it gives 500 error for 32M file. It is ok with 16M.
2023-02-17T10:41:10.80-0500 [APP/PROC/WEB/0] OUT 15:41:10 httpd | [Fri Feb 17 15:41:10.777457 2023]
[proxy_fcgi:error] [pid 268:tid 140657240917760] [client 127.0.0.1:0] AH01071: Got error
'PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4096 bytes)
in /home/vcap/app/application/models/Campaign_model.php on line 1191PHP message: PHP Fatal error:
Allowed memory size of 134217728 bytes exhausted (tried to allocate 4096 bytes) in
/home/vcap/app/vendor/codeigniter/framework/system/core/Common.php on line 570'
dashboard is deleted
When upload a large data.json file (150MB) to https://dashboard.data.gov/validate to validate, the server generates a 500 error.
It should be able to handle data.json with file size up to 200MB,
How to reproduce
Go to https://dashboard.data.gov/validate, go to Validate data.json file upload, choose a sample data.json file of 150 MB in size, click Validate File.
Expected behavior
Successful validation result
Actual behavior
500 Error.
Sketch
Adding
memory_limit="500M"
to php config (such as https://github.com/GSA/project-open-data-dashboard/blob/main/.bp-config/php/php.ini.d/uploads.ini) is necessary to bypass some initial error, then we see this[proxy_fcgi:error] ... (104)Connection reset by peer
, seems to be related to timeout setttings.