Yeah,

Thanks for your help! Everything is OK! I can run 20 judges now!

Best regard,
Linh

On Fri, May 13, 2016 at 12:58 AM, Jaap Eldering <eldering@a-eskwadraat.nl> wrote:
Hi Linh,

Ah, that's because we only hardcoded 8 users in etc/runguard-config.h.
You should edit that file and add extra users, then recompile runguard
and things should work.

Note that if you also rerun configure, then you should edit
etc/runguard-config.h.in instead, since the first is generated from that
file.

Jaap


On 12-05-16 13:58, Vũ Linh Nguyễn wrote:
> Hi,
>
> I have a problem when I try to run multi-core judgedaemon.
>
> I followed your document. I setup cgroups, edit etc/cgroup-domjudge.conf:
>
> -- Change cpuset.cpus = 0 => cpuset.= 0-22;
>
> I also add file misctools/create_cgroups to /etc/cgconf.d/cgroup-domjudge.
>
> After that, I check /cgroup/cpuset/domjudge/cpuset.cpus => Output is 0-23.
>
> I also build runguard after I config cgroups.
>
> But I only can run 8 judgedaemon. From judge 9th, if it compile any
> code, I will receive this error:
>
> Compiling failed with exitcode 255, compiler output:
> /domjudge/judgehost/bin/runguard: illegal user specified: 7809
> Try `/domjudge/judgehost/bin/runguard --help' for more information.
>
>
> I set all user is user that I run domjudge. But judge 8 judge can
> compile well.
>
> Please help me! Thank you!
>
>
> _______________________________________________
> 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



--
---------------------------------------------------------------------------------------------
Nguyễn Vũ Linh - Sói Hoang

Software/Website/Game Developer - AI, PTS, Corel, AE Designer
......................
Phone: 0963.203.813
.............................