New answers tagged

0

I tried setting up alias for cpulimit -l 50 ffmpeg in .bashrc alias ffmpegl = "cpulimit -l 50 ffmpeg" and then used it in my script with the following code to source aliases shopt -s expand_aliases source /home/your_user/.bashrc Now i can use cpulimit with ffmpeg anywhere inside the script for multiple commands using the alias. Tested on scientific ...


2

nproc was the problem: [root@localhost ~]# ps -eLf | grep pascal | wc -l 4068 [root@localhost ~]# cat /etc/security/limits.d/20-nproc.conf # Default limit for number of user's processes to prevent # accidental fork bombs. # See rhbz #432903 for reasoning. * soft nproc 4096 root soft nproc unlimited [root@localhost ~]# man ...


0

Try finding out what system calls are going on when OS tries to run your program and fails. Use strace Hopefully it would be pretty straightforward. If not post the trace. In general there is nothing else you can do but to try and gather more info.


0

If you can't access the account at all, you'll have a hard time finding out what the problem is. But do check system or application logs, hopefully some program will have left a clue there (especially for a failed login attempt). If you can run programs to experiment, you can tell which limit has been reached by attempting to increase each limited value and ...



Top 50 recent answers are included