Skip to content

Increase PHP/Nginx limits #15

@SolalPirelli

Description

@SolalPirelli

In /etc/php/7.0/fpm/php.ini on the container:

  • post_max_size = upload_max_filesize = 300M (above this DOMjudge starts lagging a lot...)
  • max_file_uploads = 1000 just in case, 200 the default is a bit low, but also set the DOMjudge config sourcefiles limit to 1000

In /etc/nginx/sites-enabled/default on the container: (NOTE, in the future this may become a symlink to a domjudge file, edit the real file instead! Or just edit the default nginx conf to override that at the end of the http block...)

  • Set client_max_body_size 0; instead of the existing 64M

Then supervisorctl restart all

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions