The RLIMIT_NPROC limit is per-user so simultaneous student submissions pile up and overflow the limit. Setting this environment variable will prevent spawning any threads (the 1 means only have one threads, the already existing main thread).