Hello Chirpy,
I looked at the file but because I don't understand it 100% and I dont want to break it I did not change anything. Would you be able to tell me what I should change?
I tried changing this:
Code:
if [ "$LIMITUSER" != "root" ]; then
ulimit -n 100 -u 20 -m 200000 -d 200000 -s 8192 -c 200000 -v 200000 2>/dev/null
else
ulimit -n 4096 -u 14335 -m unlimited -d unlimited -s 8192 -c 1000000 -v unlimited 2>/dev/null
fi
To This:
Code:
if [ "$LIMITUSER" == "root" ]; then
ulimit -n 4096 -u 14335 -m unlimited -d unlimited -s 8192 -c 1000000 -v unlimited 2>/dev/null
else if [ "$LIMITUSER" == "fasthost" ]; then
ulimit -n 500 -u 100 -m 1000000 -d 1000000 -s 8192 -c 1000000 -v 1000000 2>/dev/null
else
ulimit -n 100 -u 20 -m 200000 -d 200000 -s 8192 -c 200000 -v 200000 2>/dev/null
fi
But this results in:
bash: /etc/profile: line 68: syntax error: unexpected end of file
Best regards,
Brett