Compiling failed with exitcode 1, compiler output: Error occurred during initialization of VM Could not allocate metaspace: 1073741824 bytes
/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.Dear Sir,-- With my problem:+++ First: I make judgehost: make judgehost+++ I found error: gcc -fPIE -Wl,-z,relro -Wl,-z,now runguard.o /usr/lib/libm.so -o runguard/usr/lib/libm.so: could not read symbols: File in wrong format+++ So, I run gcc -fPIE -Wl,-z,relro -Wl,-z,now runguard.o /usr/lib64/libm.so -o runguard==> No error anymore+++ Afterthat, I run make judgehost again to make sure that without any error was raise.+++ Final, I run: make install-judgehost withour any error-- About cgroup: I will check this, if I get any problem, I will contact you, thank you so much!Best regard,LinhOn Wed, Dec 9, 2015 at 2:22 PM, Tobias Werth <werth@cs.fau.de> wrote:_______________________________________________Hi,
On 12/09/15 04:27, Vũ Linh Nguyễn wrote:
> I solved this problem, now I can run contest throughly! Everything is OK.
great! Can you please describe how you solved the problem (for future
reference)?
> But I have a question: I run domserver and judgehost on a same server.
>
> So when I start judgedaemon on server, problems submitted will be compiled.
> So I want to ask that if I can create many judgedaemon on this server? And
> how can I do this? Because some problems has longer executive time.
>
> I only can remote connect to VPS via ssh, and my server is:
>
> -- 16CPU Xeon
> -- Ram 12GB.
>
> So can you give me some suggestion for my contest!
Did you enable cgroups as described in the manual?
https://www.domjudge.org/docs/admin-manual-3.html#ss3.17
With cgroups (and after the creation of multiple run users), you can
start multiple judgedaemons on one machine. Make sure, you have enough
resources left for Apache and mysql on the server machine.
Cheers,
Tobi
DOMjudge-devel mailing list
DOMjudge-devel@domjudge.org
https://www.domjudge.org/mailman/listinfo/domjudge-devel
-----------------------------------------------------------------------------------------------Nguyễn Vũ Linh - Sói HoangSoftware/Website/Game Developer - AI, PTS, Corel, AE Designer......................Phone: 0963.203.813Website: http://ww-solution.me.............................Facebook: http://facebook.com/linhnv2110Skype: linhnv2110@gmail.com