Hi.
I set cgroups for java, but it does not work and I have some ask.
I proceeded to install cgroups as follows the manual 3.17.
======= sudo apt-get install libcgroup-dev
sudo edit /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT="quiet cgroup_enable=memory swapaccount=1"
sudo update-grub
sudo reboot
and I checked the cmdline. cat /proc/cmdline print is BOOT_IMAGE=/boot/.. ~~ ro quiet cgroup_enable=memory swapaccount=1
next
sudo ./configure
During the execution of this command, I confirmed the following message.
*use Linux cgroups...: yes
sudo make build
sudo ./misc-tools/create_cgroups
and then, I run judgedaemon.
However, judgedamon displays the message "Not using cgroups". ========
Can you tell me where I made the mistake?
thanks.
Hi,
First, please subscribe to the mailinglist so that your emails automatically get accepted.
On 10/09/17 09:49, 이정진 wrote:
Hi.
I set cgroups for java, but it does not work and I have some ask.
I proceeded to install cgroups as follows the manual 3.17.
Which version of DOMjudge are you using? I'm assuming 5.1.3.
Also, what Linux distribution and version are you using?
======= sudo apt-get install libcgroup-dev | | |sudo edit /etc/default/grub | |GRUB_CMDLINE_LINUX_DEFAULT="quiet cgroup_enable=memory swapaccount=1" |
sudo update-grub
sudo reboot
and I checked the cmdline. cat /proc/cmdline print is BOOT_IMAGE=/boot/.. ~~ ro quiet cgroup_enable=memory swapaccount=1
next
sudo ./configure
During the execution of this command, I confirmed the following message.
*use Linux cgroups...: yes
Ok, this looks good so far.
sudo make build | | sudo ./misc-tools/create_cgroups
and then, I run judgedaemon.
However, judgedamon displays the message "Not using cgroups".
Can you tell me where I made the mistake?
That's strange. Can you check the following things:
What is the value of USE_CGROUPS and LIBCGROUP in ./paths.mk?
Can you send the file ./config.log?
What is the output of 'ldd ./judge/runguard'? (It should show a line containing libcgroup.)
Best, Jaap