trampgeek / jobe

jobe is a server that runs small programming jobs in a variety of programming languages
MIT License
110 stars 79 forks source link

runguard/runguard: cannot start ` sh': Resource temporarily unavailable #36

Closed xansiaux closed 2 years ago

xansiaux commented 4 years ago

Hello, when I try to run ' python3 testsubmit.py', I obtain 28 error messages like :

/var/www/html/jobe/application/libraries/../../runguard/runguard: cannot start `                                                                                                                                                             sh': Resource temporarily unavailable

I run it in a Lxc container in proxmox , et the container is 'ubuntu 18.04' type.

Thank's a lot,

trampgeek commented 4 years ago

I haven't installed jobe in an LXC container myself. But another user reports (see here) " was 100% unsuccessful when trying to install the Jobe Docker image within or parallel to the LXC-container that my Moodle instance is running in. It simply did not work either way I tried. Creating a separate LXC-machine for Jobe was done in less than 30 minutes and is working well."

Have you got a separate LXC container for Jobe?

trampgeek commented 4 years ago

I just successfully fired up Jobe in a privileged LXC container on a Linux host (Ubuntu 20.04; guest was Ubuntu 18.04). I'm guessing your problems relate to privileges within the container, but I've no idea how proxmox manages those. You're on your own there, I'm afraid.

xansiaux commented 4 years ago

Thank you for your answer! Yes, I used a different container from container with moodle inside. Thinking too that the problem related to privileges within the container, I tried to modify /etc/security/limits.conf, or /etc/security/limits.d/90-nproc.conf with "* hard nproc unlimited" for example. Nothing changed. Finally, I installed a VM with ubuntu 18.04 server from an iso image, et I followed your installation 's steps, and now it works perfectly. So, Proxmox+VM guest ubuntu 18.04 works for me. Thank's a lot! Best regards,