I tried this don’t do this at home (well, maybe you should try this at home instead of at some place where others would not appreciate this) command on my laptop with 4 processors:
This affected several things on my system.
- Computer became slow (maybe expected);
- Firefox crashed (not expected);
- login prompts on vc’s started crashing (not expected).
After failed attempts to login on a virtual console (vc) I could switch back to X and do a
killall julia in a running xterm, restart my web browser and everything was fine again. I guess what Julia is doing, launching processes you asked for, is fine! I guess that the unexpected things are due to issues with other software. Firefox crashing seems like a bug in Firefox: if resources get exhausted by some other program, this should still not happen. The login prompts on my vc’s should also be more stable, I think.
Do others agree? Should these issues be reported at Mozilla and other places?
What if I tried this on the login node of a supercomputer instead of on my workstation/laptop? (That one is rethorical — I could possibly cause similar problems, and many people would not be happy.)
Should I expect similar behaviour on the BSDs? I guess in GNU/Linux that by setting limits (e.g. with
ulimit or SELinux et al.) this issue can be mitigated.
I am using an Ubuntu 16.04 system running with Linux 4.13.0, systemd-logind, Julia 0.6.2, Firefox 58.0.1 and other software.