I want to change the priority of a process on my Ubuntu 12.04 Desktop, but I can't. I go into an app called "System Monitor", right click the process, and change the priority to "high". I then get this message: "Cannot change the priority of process with PID 4364 to -5. Permission denied." I have tried to give myself root. What does this mean, and is there a more acute way to change the priority?
I have various websites hosted on 1 same single EC2 instance so far. In the root EBS volume of such instance I have:
Codes and files of the websites which change every hour if not every minute
Apache and PHP configuration information which I change every one to two week for on-going development e.g. modifying the virtual hosts.
I have a directory /var/apache/lib which is owned by my secondary group apache . I have access to the directory and allow to create/copy files inside that .
What can done to allow the user zamo to change the ownership to apache:apache? I have root permissions, but i want the user zamo to change the permissions.
I have a bash script which runs a set of php scripts. When it runs it takes an hour and pegs the CPU at 95-99%. This causes our lamp stack (mainly the apache process) problems and our website on the same server starts spitting out timeout or 500 errors.