Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

so what i did:
in the terminal i typed:

sudo su 

(used pass) then typed:

nano /etc/security/limits.conf

went to bottom and added:
USER - nice -20
(with my username not user and i spaced it properly)
then i restarted my comp, but it still didnt work

share|improve this question

1 Answer 1

Reading this link, I think you need not issue the command as su. You can simply run the ulimit -a command.

http://lzone.de/apply+limits+immediately

Although reading the man page for ulimit, it says that this routine is obsolete and you should use getrlimit, setrlimit and sysconf instead.

share|improve this answer
    
ive followed the link you sent me, but when i go to the system monitor and try to change the niceness of things all i get back is an error: Cannot change the priority of process with PID 2190 to -20. Permission denied –  Nathaniel de Vries Nov 3 '12 at 6:47
    
Did you try the getrlimit, setrlimit and sysconf commands? You'll need to read the man pages first. In a terminal, type man setrlimit then press the Enter key, and use the 'q' key to exit the man page. –  Clive van Hilten Nov 3 '12 at 9:27
    
thank you this helped –  Nathaniel de Vries Nov 4 '12 at 8:56
    
If it solved the problem, please accept it as an answer by clicking the tick symbol. –  Clive van Hilten Nov 4 '12 at 10:11

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.