Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
5254 Lượt xem

Having issues uploading images with larger file sizes in v9.0c website builder. No error, just sits and spins.

There's nothing in the log - just a 200 when it tries to begin the upload.

Smaller file size images work just fine. Not sure of the exact threshold.


Suggestions?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất


    --workers=WORKERS   Specify the number of workers, 0 disable prefork mode.
    --limit-memory-soft=LIMIT_MEMORY_SOFT
                        Maximum allowed virtual memory per worker, when
                        reached the worker be reset after the current request
                        (default 671088640 aka 640MB).
    --limit-memory-hard=LIMIT_MEMORY_HARD
                        Maximum allowed virtual memory per worker, when
                        reached, any memory allocation will fail (default
                        805306368 aka 768MB).
    --limit-time-cpu=LIMIT_TIME_CPU
                        Maximum allowed CPU time per request (default 60).
    --limit-time-real=LIMIT_TIME_REAL
                        Maximum allowed Real time per request (default 120).
    --limit-request=LIMIT_REQUEST
                        Maximum number of request to be processed per worker
                        (default 8192).


Also change the client_max_body_size param according to your limit

Please refer this answer

https://www.odoo.com/forum/help-1/question/image-upload-limit-for-educational-databases-126950#answer-126964

Ảnh đại diện
Huỷ bỏ