Hi,
please address these messages to domjudge-devel instead of using personal mail addresses.
*Jesús Alberto Domínguez Alfonso jesusalbertodominguez1983@gmail.com [16/04/17]:
What's the exact error you get?
Does it work if you use 127.0.0.1 in a browser within the virtual machine itself?
Tobi
Hello,
Aboute the problem ask the other day, I did it and it is working at this moment, the problem was that the virtual machine was in another segment of network, it is ok now. ---------------
the DNS
name of the DOMjudge-live system. Initially there is the user 'admin' with password 'admin'.
------
I have another question, if i don´t want use domjude like a contest, can i, i ask this because i want use just for people want improve their knowledge about programming and in admin document said that a contest finish has a 5 hours to finish can i change this.
For example: if i create a contest can i change the maximum time of 5 to for example 6000 hours to end or can i use that
kind regards.
2016-04-17 22:17 GMT+02:00 Tobias Werth Tobias.Werth@fau.de:
Hi Jesús,
On 19-04-16 09:12, Jesús Alberto Domínguez Alfonso wrote:
Ok, good to hear.
Yes, you can change the contest to last as short or long as you like. It might be easier then to set an absolute end date/time instead of a relative time in hours.
Jaap
Hi all
I have problem about JAVA please help how to fix this problem.
Thanks
Lec. Huỳnh Anh Dũng
ACM/ICPC SUPERVISOR
FPT UNIVERSITY.
http://www.fpt.edu.vn http://www.fpt.edu.vn
From: DOMjudge-devel [mailto:domjudge-devel-bounces@domjudge.org] On Behalf Of Jesús Alberto Domínguez Alfonso Sent: Tuesday, April 19, 2016 7:13 PM To: DOMjudge-devel@domjudge.org Subject: Re: Questions
Hello,
Aboute the problem ask the other day, I did it and it is working at this moment, the problem was that the virtual machine was in another segment of network, it is ok now.
---------------
------
I have another question, if i don´t want use domjude like a contest, can i, i ask this because i want use just for people want improve their knowledge about programming and in admin document said that a contest finish has a 5 hours to finish can i change this.
For example: if i create a contest can i change the maximum time of 5 to for example 6000 hours to end or can i use that
kind regards.
2016-04-17 22:17 GMT+02:00 Tobias Werth Tobias.Werth@fau.de:
Hi,
please address these messages to domjudge-devel instead of using personal mail addresses.
*Jesús Alberto Domínguez Alfonso <jesusalbertodominguez1983@gmail.com mailto:jesusalbertodominguez1983@gmail.com > [16/04/17]:
What's the exact error you get?
Does it work if you use 127.0.0.1 in a browser within the virtual machine itself?
Tobi
Hi Sir Can you tell me how to disable the chroot environment in etc/judgehost-config.php thanks
On Wed, Apr 27, 2016 at 8:24 PM, Huynh Anh Dung dungha@fpt.edu.vn wrote:
define('USE_CHROOT', true); and how to disable to run java file as you recommend
Lec. Huỳnh Anh Dũng
ACM/ICPC SUPERVISOR
FPT UNIVERSITY.
http://www.fpt.edu.vn http://www.fpt.edu.vn
From: Dung, Huynh Anh [mailto:dungha@fpt.edu.vn] Sent: Wednesday, April 27, 2016 9:55 PM To: Jesús Alberto Domínguez Alfonso jesusalbertodominguez1983@gmail.com; DOMjudge-devel@domjudge.org Cc: Huynh Anh Dung DungHA@fpt.edu.vn Subject: Re: Questions
Hi Sir
Can you tell me how to disable the chroot environment in etc/judgehost-config.php
thanks
On Wed, Apr 27, 2016 at 8:24 PM, Huynh Anh Dung <dungha@fpt.edu.vn mailto:dungha@fpt.edu.vn > wrote:
Hi all
I have problem about JAVA please help how to fix this problem.
Thanks
Lec. Huỳnh Anh Dũng
ACM/ICPC SUPERVISOR
FPT UNIVERSITY.
http://www.fpt.edu.vn http://www.fpt.edu.vn
From: DOMjudge-devel [mailto:domjudge-devel-bounces@domjudge.org mailto:domjudge-devel-bounces@domjudge.org ] On Behalf Of Jesús Alberto Domínguez Alfonso Sent: Tuesday, April 19, 2016 7:13 PM To: DOMjudge-devel@domjudge.org mailto:DOMjudge-devel@domjudge.org Subject: Re: Questions
Hello,
Aboute the problem ask the other day, I did it and it is working at this moment, the problem was that the virtual machine was in another segment of network, it is ok now.
---------------
------
I have another question, if i don´t want use domjude like a contest, can i, i ask this because i want use just for people want improve their knowledge about programming and in admin document said that a contest finish has a 5 hours to finish can i change this.
For example: if i create a contest can i change the maximum time of 5 to for example 6000 hours to end or can i use that
kind regards.
2016-04-17 22:17 GMT+02:00 Tobias Werth <Tobias.Werth@fau.de mailto:Tobias.Werth@fau.de >:
Hi,
please address these messages to domjudge-devel instead of using personal mail addresses.
*Jesús Alberto Domínguez Alfonso <jesusalbertodominguez1983@gmail.com mailto:jesusalbertodominguez1983@gmail.com > [16/04/17]:
What's the exact error you get?
Does it work if you use 127.0.0.1 in a browser within the virtual machine itself?
Tobi
Hi,
On 04/27/16 17:27, Huynh Anh Dung wrote:
define('USE_CHROOT', true); and how to disable to run java file as you recommend
to disable the chroot, you set this value to false. Note that disabling the chroot is strongly discouraged since it reduces security.
I have problem about JAVA please help how to fix this problem.
I assume that you do not use cgroups (using cgroups is also strongly recommended). Then you have to increase the memory limit by a huge margin.
See https://www.domjudge.org/docs/admin-manual-8.html#ss8.3 for details.
Tobi
Hi, Please help step by step to setup cgroup I did run cgroup, by run command /bin./create+cgroups can you look at my attachment image file and help me to fix this situation. thanks
Lec. Huỳnh Anh Dũng ACM/ICPC SUPERVISOR FPT UNIVERSITY. http://www.fpt.edu.vn
-----Original Message----- From: Tobias Werth [mailto:tobias.werth@fau.de] Sent: Thursday, April 28, 2016 12:24 AM To: Huynh Anh Dung dungha@fpt.edu.vn; 'Jesús Alberto Domínguez Alfonso' jesusalbertodominguez1983@gmail.com; DOMjudge-devel@domjudge.org Subject: Re: Questions
Hi,
On 04/27/16 17:27, Huynh Anh Dung wrote:
define('USE_CHROOT', true); and how to disable to run java file as you recommend
to disable the chroot, you set this value to false. Note that disabling the chroot is strongly discouraged since it reduces security.
I have problem about JAVA please help how to fix this problem.
I assume that you do not use cgroups (using cgroups is also strongly recommended). Then you have to increase the memory limit by a huge margin.
See https://www.domjudge.org/docs/admin-manual-8.html#ss8.3 for details.
Tobi
Hi, I changed define('USE_CHROOT', true); to define('USE_CHROOT', false); And I submit java file, but I have same problem about: " Compiling failed with exitcode 134, compiler output: sudo: unable to resolve host ACM-2016 Aborted (core dumped)" Please help
Lec. Huỳnh Anh Dũng ACM/ICPC SUPERVISOR FPT UNIVERSITY. http://www.fpt.edu.vn
-----Original Message----- From: Tobias Werth [mailto:tobias.werth@fau.de] Sent: Thursday, April 28, 2016 12:24 AM To: Huynh Anh Dung dungha@fpt.edu.vn; 'Jesús Alberto Domínguez Alfonso' jesusalbertodominguez1983@gmail.com; DOMjudge-devel@domjudge.org Subject: Re: Questions
Hi,
On 04/27/16 17:27, Huynh Anh Dung wrote:
define('USE_CHROOT', true); and how to disable to run java file as you recommend
to disable the chroot, you set this value to false. Note that disabling the chroot is strongly discouraged since it reduces security.
I have problem about JAVA please help how to fix this problem.
I assume that you do not use cgroups (using cgroups is also strongly recommended). Then you have to increase the memory limit by a huge margin.
See https://www.domjudge.org/docs/admin-manual-8.html#ss8.3 for details.
Tobi
Hi, I fixed hostname But different problem :
Problem: A - A Submitted: 07:26 Language: Java Result: compiler-error
Compilation output
Compiling failed with exitcode 134, compiler output: Aborted (core dumped)
Compilation failed.
Lec. Huỳnh Anh Dũng ACM/ICPC SUPERVISOR FPT UNIVERSITY. http://www.fpt.edu.vn
-----Original Message----- From: Tobias Werth [mailto:tobias.werth@fau.de] Sent: Thursday, April 28, 2016 12:24 AM To: Huynh Anh Dung dungha@fpt.edu.vn; 'Jesús Alberto Domínguez Alfonso' jesusalbertodominguez1983@gmail.com; DOMjudge-devel@domjudge.org Subject: Re: Questions
Hi,
On 04/27/16 17:27, Huynh Anh Dung wrote:
define('USE_CHROOT', true); and how to disable to run java file as you recommend
to disable the chroot, you set this value to false. Note that disabling the chroot is strongly discouraged since it reduces security.
I have problem about JAVA please help how to fix this problem.
I assume that you do not use cgroups (using cgroups is also strongly recommended). Then you have to increase the memory limit by a huge margin.
See https://www.domjudge.org/docs/admin-manual-8.html#ss8.3 for details.
Tobi
Hi, My default setting, I need to change any value here, to help system can compile java file.
Lec. Huỳnh Anh Dũng ACM/ICPC SUPERVISOR FPT UNIVERSITY. http://www.fpt.edu.vn
-----Original Message----- From: Tobias Werth [mailto:tobias.werth@fau.de] Sent: Thursday, April 28, 2016 12:24 AM To: Huynh Anh Dung dungha@fpt.edu.vn; 'Jesús Alberto Domínguez Alfonso' jesusalbertodominguez1983@gmail.com; DOMjudge-devel@domjudge.org Subject: Re: Questions
Hi,
On 04/27/16 17:27, Huynh Anh Dung wrote:
define('USE_CHROOT', true); and how to disable to run java file as you recommend
to disable the chroot, you set this value to false. Note that disabling the chroot is strongly discouraged since it reduces security.
I have problem about JAVA please help how to fix this problem.
I assume that you do not use cgroups (using cgroups is also strongly recommended). Then you have to increase the memory limit by a huge margin.
See https://www.domjudge.org/docs/admin-manual-8.html#ss8.3 for details.
Tobi
Hello Huỳnh Anh Dũng,
Given your previous email you don't have cgroups enabled. In that case you should raise the memory limit to something quite high. I'd suggest to start with 2GB and increment this to 2.5 and 3 GB if it doesn't work yet. That's because the Java VM pre-allocates a lot of memory. With cgroup support this is not an issue, but without you have to add that overhead to the memory limit. Then you also have to change the value of MEMRESERVED in the java compile script executable you use (java_javac_detect by default).
If you're trying to enable cgroups, then make sure to follow the instructions in the administrators manual. In particular, make sure to edit the boot options, reboot, and after that, again run './configure' and rebuild and reinstall domjudge.
Jaap
On 27-04-16 22:38, Huynh Anh Dung wrote:
Hi Jaap I upgrade memory from 6 GB to 8GB then I do compile java file again, this this output problem. Problem: A - A Submitted: 09:17 Language: Java Result: compiler-error
Compilation output
Compiling failed with exitcode 1, compiler output: Error occurred during initialization of VM Could not reserve enough space for object heap Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.
Compilation failed.
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: Thursday, April 28, 2016 8:57 AM To: domjudge-devel@domjudge.org Subject: Re: Questions
Hello Huỳnh Anh Dũng,
Given your previous email you don't have cgroups enabled. In that case you should raise the memory limit to something quite high. I'd suggest to start with 2GB and increment this to 2.5 and 3 GB if it doesn't work yet. That's because the Java VM pre-allocates a lot of memory. With cgroup support this is not an issue, but without you have to add that overhead to the memory limit. Then you also have to change the value of MEMRESERVED in the java compile script executable you use (java_javac_detect by default).
If you're trying to enable cgroups, then make sure to follow the instructions in the administrators manual. In particular, make sure to edit the boot options, reboot, and after that, again run './configure' and rebuild and reinstall domjudge.
Jaap
On 27-04-16 22:38, Huynh Anh Dung wrote:
_______________________________________________ DOMjudge-devel mailing list DOMjudge-devel@domjudge.org https://www.domjudge.org/mailman/listinfo/domjudge-devel
Did you also increase the MEMRESERVED variable in the java executable compile script accordingly, e.g. to 4 GB? (something below the real memory limit, because the difference is what's available to the java submission)
Jaap
On 27-04-16 23:20, Huynh Anh Dung wrote: