Issue in creating contest with more than 1000 problems

Nicky Gerritsen nickygerritsen at me.com
Sun Oct 6 09:25:25 CEST 2019


Hi Tanmay,

This morning I did some testing with 7.1 and a contest with 1500 problems.
I found one page that did a query for every problem, which was thus pretty slow. I have since fixed that page in this commit: https://github.com/DOMjudge/domjudge/commit/be3641d1abc2a0b10726e76593ff5e8e65fb5eef <https://github.com/DOMjudge/domjudge/commit/be3641d1abc2a0b10726e76593ff5e8e65fb5eef>

Other pages, like the scoreboard and contest detail pages, seem to load pretty quickly even with 1500 problems, so I believe your issues should be fixed with 7.1 + the commit I mentioned above.

If you still run into issues, let us know!

Best,

Nicky

> On 5 Oct 2019, at 21:40, Tanmay Bansal <tanmay17268 at iiitd.ac.in> wrote:
> 
> Yes I am using 6.0.3 version of DOMjudge. I’ll update you after upgrading to 7.1.
> 
> We’ve recently upgraded to 6.0.3, before that we were using version 5.x and on that things were working fine. Basically we have a practice contest, in which we keep on adding problems of the new contests, so that people can try them whenever they want. But after updating to 6.x I am not able to edit it. I tried creating a new contest and started adding the old problems, but as soon as I reached around 150 the error came.
> 
> I think if it was supported in 5.x version, then it should work in 6.x as well. I just wanted to know if changing any other limits could make it work.
> 
> Thanks!
> 
> Best Regards,
> Tanmay Bansal
> 
> On Sun, 6 Oct 2019 at 12:54 AM, Nicky Gerritsen <nickygerritsen at me.com <mailto:nickygerritsen at me.com>> wrote:
> HI Tanmay,
> 
> What version of DOMjudge are you using? It seems that is 6.x or lower, am I right?
> You could try upgrading to 7.1 to see if it works better there.
> 
> Do note that DOMjudge has not been created with the idea of having such a big number of problems, so it might still not work. However if you are still facing the issue with 7.1 and we can find an easy fix, we can see if we can implement it.
> 
> Nicky
> 
> Sent from my iPad
> 
>> On 5 Oct 2019, at 21:21, Tanmay Bansal <tanmay17268 at iiitd.ac.in <mailto:tanmay17268 at iiitd.ac.in>> wrote:
>> 
>> 
> 
>> Hi,
>> 
>> I want to create a contest on Domjudge with more than 1000 problems in it. But when I tried to do so, I got the following error message: "error: Unknown action" (screenshot attached).
>> 
>> On investigating further I found out that I am not able to create a contest with more than 150 problems. That is, I start getting the above error after I have added more than 150 problems
>> 
>> I have tried increasing the following limits in php.ini file, but I was still facing the same problem:
>> 1. max_file_uploads
>> 2. max_input_vars
>> 3. memory_limit
>> 4. post_max_size
>> 5. upload_max_filesize
>> 
>> Please tell how can I solve this problem?
>> 
>> Thanks!
>> 
>> Best Regards,
>> Tanmay Bansal
> 
>> <Screenshot from 2019-10-05 20-48-22.png>
>> _______________________________________________
>> 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>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.domjudge.org/pipermail/domjudge-devel/attachments/20191006/ab9ba181/attachment.htm>


More information about the DOMjudge-devel mailing list