[Domjudge]: Error when judging a large input and output data file!

Jaap Eldering jaap at jaapeldering.nl
Wed Oct 18 17:16:14 CEST 2017


On 18/10/17 17:04, Solal Pirelli wrote:
> I'm not sure if that's documented, but one thing that helped me last time I had to deal with those limits is to add ?phpinfo <https://github.com/DOMjudge/domjudge/blob/master/www/jury/checkconfig.php#L27> at the end of the config checker URL, which prints out the PHP info page with all of the limits. PHP config is spread across files, sometimes with different values for the same key, and a not-always-obvious override order.

You can also browse there by clicking on the "more details" icon for "PHP version" and then click the "phpinfo" link. That's clearly not very obvious to find...

Jaap


> On Wed, Oct 18, 2017 at 4:58 PM, Tobias Werth <tobias.werth at fau.de <mailto:tobias.werth at fau.de>> wrote:
> 
>     Did you check the configuration in the admin interface with the
>     configuration checker? It should complain in these situations about
>     too low limits. It also tells you the current limits.
> 
>     Increase post_max_size, memory_limit and upload_max_filesize as
>     appropriate in your PHP config. You may also need to raise
>     max_allowed_packet in your mysql config.
> 
>     On Wed, Oct 18, 2017 at 12:36 PM, Bình Dương, Tran <duongtb at fe.edu.vn <mailto:duongtb at fe.edu.vn>> wrote:
>     > Dear Sirs,
>     >
>     > In a contest, I uploaded a problem with a pair of input and output data
>     > files which are large (greater than 250MB).
>     > When my students submitted their codes, the judging system could not perform
>     > the judgement because of an error occurrence. The error message is included
>     > here:
>     > ================================================================
>     > [Oct 18 12:15:00] judgedaemon[20905]: API request GET testcases
>     > [Oct 18 12:15:00] judgedaemon[20905]: Running testcase 5...
>     > [Oct 18 12:15:00] judgedaemon[20905]: API request GET testcase_files
>     > [Oct 18 12:15:05] judgedaemon[20905]: error: Error while executing curl GET
>     > to url http://localhost/domjudge/api/testcase_files?testcaseid=8519&input <http://localhost/domjudge/api/testcase_files?testcaseid=8519&input>:
>     > http status code: 500, response:
>     > ================================================================
>     >
>     > I don't know how to fix this kind of error, please help me by giving some
>     > advices.
>     >
>     > Regards
>     >
>     > _______________________________________________
>     > DOMjudge-devel mailing list
>     > DOMjudge-devel at domjudge.org <mailto:DOMjudge-devel at domjudge.org>
>     > https://www.domjudge.org/mailman/listinfo/domjudge-devel <https://www.domjudge.org/mailman/listinfo/domjudge-devel>
>     >
>     _______________________________________________
>     DOMjudge-devel mailing list
>     DOMjudge-devel at domjudge.org <mailto:DOMjudge-devel at domjudge.org>
>     https://www.domjudge.org/mailman/listinfo/domjudge-devel <https://www.domjudge.org/mailman/listinfo/domjudge-devel>
> 
> 
> 
> 
> _______________________________________________
> DOMjudge-devel mailing list
> DOMjudge-devel at domjudge.org
> https://www.domjudge.org/mailman/listinfo/domjudge-devel
> 




More information about the DOMjudge-devel mailing list