Hi all,
First a happy new year to all!
Thijs, Jan, and I talked about doing a DOMjudge hackathon day. We
propose the weekend of 23/24 January. Who else is interested in joning
and do you have a preference for Saturday 23rd or Sunday 24th?
Jaap
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(a)fpt.edu.vn>
> Subject:…
[View More] 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.
>
[View Less]
Hi Jaap,
I increase the MEMRESERVED variable in the java executable compile script to 4GB then I do compile java again, problem output :
Problem: A - A
Submitted: 09:39
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.
…
[View More]Include images please have a look
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 9:27 AM
To: domjudge-devel(a)domjudge.org
Subject: Re: Questions
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:
> 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(a)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:
>> 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(a)fpt.edu.vn>; 'Jesús Alberto Domínguez
>> Alfonso' <jesusalbertodominguez1983(a)gmail.com>;
>> DOMjudge-devel(a)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
>>
>>
>>
>> _______________________________________________
>> DOMjudge-devel mailing list
>> DOMjudge-devel(a)domjudge.org
>> https://www.domjudge.org/mailman/listinfo/domjudge-devel
>>
>
> _______________________________________________
> DOMjudge-devel mailing list
> DOMjudge-devel(a)domjudge.org
> https://www.domjudge.org/mailman/listinfo/domjudge-devel
>
_______________________________________________
DOMjudge-devel mailing list
DOMjudge-devel(a)domjudge.org
https://www.domjudge.org/mailman/listinfo/domjudge-devel
[View Less]
Hi,
please address these messages to domjudge-devel instead of using
personal mail addresses.
*Jesús Alberto Domínguez Alfonso <jesusalbertodominguez1983(a)gmail.com> [16/04/17]:
> i have been installed a domjudge-live in a virtual machine.
> i choose the domserver and jury at the menu.
> i have got logged but later i want to see the webinterface but i can´t.
What's the exact error you get?
> readme
> The web interfaces for jury, team, and public can be found under …
[View More]http://
> <hostname>/domjudge/{jury,team,public} respectively. Here <hostname> is the DNS
> name of the DOMjudge-live system. Initially there is the user 'admin' with
> password 'admin'.
>
> i used the dns, i have used the hostname too but i cannot, could you help me
> please.
Does it work if you use 127.0.0.1 in a browser within the virtual
machine itself?
Tobi
[View Less]
Hi,
After config ln -s ln -s /root/domserver/etc/apache.conf /etc/apache2/conf-available/domjudge.conf && sudo apache2ctl graceful
Then I Type command sudo a2enconf domjudge
And I get answer ERROR : Conf domjudge does not Exist
Please help
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 Tobias Werth
Sent: Monday, April 18, 2016 3:18 AM
To: Jesús …
[View More]Alberto Domínguez Alfonso <jesusalbertodominguez1983(a)gmail.com>
Cc: DOMjudge-devel(a)domjudge.org
Subject: Re: Questions
Hi,
please address these messages to domjudge-devel instead of using personal mail addresses.
*Jesús Alberto Domínguez Alfonso <jesusalbertodominguez1983(a)gmail.com> [16/04/17]:
> i have been installed a domjudge-live in a virtual machine.
> i choose the domserver and jury at the menu.
> i have got logged but later i want to see the webinterface but i can´t.
What's the exact error you get?
> readme
> The web interfaces for jury, team, and public can be found under
> http:// <hostname>/domjudge/{jury,team,public} respectively. Here
> <hostname> is the DNS name of the DOMjudge-live system. Initially
> there is the user 'admin' with password 'admin'.
>
> i used the dns, i have used the hostname too but i cannot, could you
> help me please.
Does it work if you use 127.0.0.1 in a browser within the virtual machine itself?
Tobi
[View Less]
2
1
Questions
by Jesús Alberto Domínguez Alfonso
15 Apr '16
15 Apr '16
Hello,
First I think domjudge is amazing, i like it and i want congratulations for
your work
I have a few questions,
1- Version 5.2.0, do you know when will be stable.
2-Can i include another files in the problem, for example i have a main
file .c and this main file has a file fichero.h to include data in file
main or another file with functions to include in main file to use.
3- Can I upload and submmit more than one exercise at the same time, for
example i have two exercises A and B.
…
[View More]4- the same that point 3 but in the jury system execute more than one
exercise at the same time.
Thanks
kind regards.
[View Less]
Forwarded this to the mailing list: I am travelling atm. -Jaap
------------------------------------------------------------------------
*From:* Raj Baghel <raj.baghel(a)finoit.co.in>
*Sent:* 19 March 2016 04:45:15 GMT-03:00
*To:* Jaap Eldering <jaap(a)jaapeldering.nl>
*Subject:* Re: Error occurred during initialization of VM
Hi Jaap
Thanks For your reply and i have subscribed to emaillist
Still the problem is same I have increase MEMRESERVED to 3GB on both
files java_javac …
[View More]and java_javac_detect
I have run ./create_cgroups as well and also set
grub_cmdline_linux_default = " quiet cgroup_enable=memory" and update grub
still have this error :
sudo ./judgedaemon
[Mar 19 13:04:49] judgedaemon[3402]: Judge started on f003 [DOMjudge/5.1.0]
[Mar 19 13:04:49] judgedaemon[3402]:*Not using cgroups. Using cgroups is
highly recommended. See the manual for details.*
[Mar 19 13:04:49] judgedaemon[3402]: Registering judgehost on endpoint
http://localhost/api/
[Mar 19 13:04:49] judgedaemon[3402]: No submissions in queue (for
endpoint default), waiting...
Not understand how to enable cgroups
My Java programs are not complied although c and C++ programs are
working fine.
Thanks
Raj Baghel
On Thu, Mar 17, 2016 at 10:02 PM, Jaap Eldering <jaap(a)jaapeldering.nl
<mailto:jaap@jaapeldering.nl>> wrote:
Hi Raj,
First, please subscribe to this emaillist to make sure that your emails
arrive automatically.
To what size did you raise the memory limit? Try to raise it at least to
2GB if you're not using Linux cgroups. Unfortunately, the way that
memory is reserved by the JVM and counted (using resource limits) by
Linux often requires such huge amounts.
Therefore we strongly recommend using cgroups: that measures only memory
really used by the JVM and requires more reasonable overhead.
Best,
Jaap
On 17-03-16 02:48, Raj Baghel wrote:
> Hi Team
>
>
> I am using your DomJudge Product
>
> i am facing this Error can you help me on that :
>
> 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.
>
> It works fine for C and C++ program
>
> I have increase MEMRESERVED in java_javac
>
> also increase Memory limit and process limit but nothing work for me
>
>
> Thanks
>
> Raj Baghel
>
>
>
>
>
>
>
> _______________________________________________
> DOMjudge-devel mailing list
> DOMjudge-devel(a)domjudge.org <mailto:DOMjudge-devel@domjudge.org>
> https://www.domjudge.org/mailman/listinfo/domjudge-devel
>
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
[View Less]