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
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@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:
- max_file_uploads
- max_input_vars
- memory_limit
- post_max_size
- 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@domjudge.org https://www.domjudge.org/mailman/listinfo/domjudge-devel
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@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@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:
- max_file_uploads
- max_input_vars
- memory_limit
- post_max_size
- 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@domjudge.org https://www.domjudge.org/mailman/listinfo/domjudge-devel
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/be3641d1abc2a0b10726e76593ff5e8e... 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@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@me.com mailto:nickygerritsen@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@iiitd.ac.in mailto:tanmay17268@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:
- max_file_uploads
- max_input_vars
- memory_limit
- post_max_size
- 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@domjudge.org mailto:DOMjudge-devel@domjudge.org https://www.domjudge.org/mailman/listinfo/domjudge-devel https://www.domjudge.org/mailman/listinfo/domjudge-devel
Thanks a lot for your help. I would like to tell you that I found out the error and it is not related with the DOMjudge version. I just increased the max_input_vars to 10000 and it worked. When last time I did this, I didn't realize that this line is commented by default and so the change was not reflected. Thanks a lot for your help.
Thanks!
Best regards, Tanmay Bansal
On Sun, Oct 6, 2019 at 12:55 PM Nicky Gerritsen nickygerritsen@me.com wrote:
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/be3641d1abc2a0b10726e76593ff5e8e...
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@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@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@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:
- max_file_uploads
- max_input_vars
- memory_limit
- post_max_size
- 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@domjudge.org https://www.domjudge.org/mailman/listinfo/domjudge-devel