To check the ulimit of a running process if your unable to switch to the user.
Get the pid of the process and run the below.
cat /proc/PIDHERE/limits
To check the ulimit of a running process if your unable to switch to the user.
Get the pid of the process and run the below.
cat /proc/PIDHERE/limits
If you get the below error when starting mongodb
ERROR: child process failed, exited with error number 100
Try amending the mongod conf in /etc/mongo.conf by adding the below
smallfiles = true
To check the processes running on a filer mount that you need to unmount.
Run the below
fuser -m /mount
To run a bash script in the background as a daemon.
Run the below
nohup ./SCRIPTHERE &
You may need to press enter afterwards, just check its running by doing a
ps -ef | grep SCRIPTHERE