Hi Jaap, Do you convenient way to add users, teams, and passwd into domjudge. Do you have sample file. What is account file to import and format of this file. Thanks
Lec. Huỳnh Anh Dũng ACM/ICPC SUPERVISOR FPT UNIVERSITY. http://www.fpt.edu.vn
-----Original Message----- From: DOMjudge-devel [mailto:domjudge-devel-bounces@domjudge.org] On Behalf Of Jaap Eldering Sent: Saturday, April 30, 2016 8:29 PM To: domjudge-devel@domjudge.org Subject: Re: Please help
On 30-04-16 01:24, Huynh Anh Dung wrote:
When I run ./configure checking for cgroup_init in -lcgroup... yes
- default user........: root
- runguard user.......: domjudge-run
- webserver group.....: www-data
- chroot...........: /chroot/domjudge
- cgroup...........: /cgroup
Up to this stage, I don’t know it is or not enable
What I'm looking for is actually the line below "webserver group" that says:
* use Linux cgroups...: yes/no
But when I logged in to your machine, /root/domjudge-5.1.1/config.log shows that cgroups are disabled. You have the package installed, but have not edited /etc/default/grub, so the kernel doesn't support cgroups yet.
As a side note, you should not install DOMjudge as root user. Instead create a separate user to install it as: DOMjudge will use 'sudo' to obtain root privileges only when needed.
Jaap
Did you install or copy runguard to the judgehost installation (under judgehost/bin)? This step is not explicitly listed in the documentation.
Not yet it is not listed in the document Best
Lec. Huỳnh Anh Dũng ACM/ICPC SUPERVISOR FPT UNIVERSITY. http://www.fpt.edu.vn
-----Original Message----- From: DOMjudge-devel [mailto:domjudge-devel-bounces@domjudge.org] On Behalf Of Jaap Eldering Sent: Saturday, April 30, 2016 10:57 AM To: domjudge-devel@domjudge.org Subject: Re: Please help
On 30-04-16 00:51, Huynh Anh Dung wrote:
Hi, I do follow exact with the help file and I do up to: -Install the necessary packages: # apt-get install libcgroup-dev (or # yum install libcgroup-devel on RedHat)
- Edit grub config to add memory cgroup and swap accounting to the boot options. Edit /etc/default/grub and change the default commandline to GRUB_CMDLINE_LINUX_DEFAULT="quiet cgroup_enable=memory swapaccount=1". Then run update-grub and reboot.
-Compile DOMjudge with cgroup support. Re-run ./configure and look for cgroup in the output.
And did the configure output say that cgroups were enabled?
How to rebuild : Then rebuild the runguard with make build. I only make all after re-run ./configure
Did you install or copy runguard to the judgehost installation (under judgehost/bin)? This step is not explicitly listed in the documentation.
Jaap
Upto that point, then I run ./judgedaemon Then I said no cgroup Best
Lec. Huỳnh Anh Dũng ACM/ICPC SUPERVISOR FPT UNIVERSITY. http://www.fpt.edu.vn
-----Original Message----- From: Jaap Eldering [mailto:jaap@jaapeldering.nl] Sent: Saturday, April 30, 2016 10:45 AM To: Huynh Anh Dung dungha@fpt.edu.vn; domjudge-devel@domjudge.org Subject: Re: Please help
On 30-04-16 00:28, Huynh Anh Dung wrote:
Hi, I do install Cgroup follow but when I run ./judgedaemon it said "Not using cgroup" help
When you (re)ran configure did it say that cgroups were enabled?
Did you recompile and reinstall runguard (or the whole judgehost installation)?
Jaap
-----Original Message----- From: Jaap Eldering [mailto:jaap@jaapeldering.nl] Sent: Saturday, April 30, 2016 7:37 AM To: Huynh Anh Dung dungha@fpt.edu.vn Subject: Re: Please help
On 29-04-16 21:26, Huynh Anh Dung wrote:
Hi Jaap, Can you look at 2 lines : # exec java -client -Xss8m -Xmx${MEMLIMITJAVA}k -DONLINE_JUDGE=1 -DDOMJUDGE=1 '$MAINCLASS' exec java -client -Xmx3g -DONLINE_JUDGE=1 -DDOMJUDGE=1 '$MAINCLASS' before you change and successfully run, I already change.
I recommend not to change it like that: then if you change the configured global memory limit, it will not affect Java submissions. Also, if you now reduce the memory limit below 3 GB, then java submissions will automatically crash because the JVM is trying to allocate more memory than is allowed by DOMjudge. NOTE: DOMjudge imposes the memory limit onto the whole Java VM, that's why this this whole MEMRESERVED variable is needed in the first place.
Jaap
P.S. If you have further questions, please return to using the mailinglist.
DOMjudge-devel mailing list DOMjudge-devel@domjudge.org https://www.domjudge.org/mailman/listinfo/domjudge-devel
_______________________________________________ DOMjudge-devel mailing list DOMjudge-devel@domjudge.org https://www.domjudge.org/mailman/listinfo/domjudge-devel
Hi,
Do you convenient way to add users, teams, and passwd into domjudge. Do you have sample file. What is account file to import and format of this file.
Are you organizing an ACM ICPC (sub-)regional? Then the easiest way is to generate a web services token on the baylor website and use that token to import (or update) teams.
Apart from that, you can use tab separated files. We try to follow the CCS specification here: https://clics.ecs.baylor.edu/index.php/Contest_Control_System#groups.tsv
You can find the UI to import teams (in both cases, with token or tsv files) as an user with admin rights on the import/export page. You can check it at the demoweb: https://www.domjudge.org/demoweb/jury/impexp.php
Feel free to let us know if you run in any problems.
Another way to import teams is to format it in a way that it fits the domjudge sql table structure and import it using phpmyadmin.
Tobi