Skip to main content

Questions tagged [process-priority]

0 votes
0 answers
44 views

How to permanently change niceness of apache2 process on a Debian server?

I have Debian 11.2 with Apache2. I'd like to change niceness of all of my apache2 processes, or at least mod_wsgi processes, to +5. How can I do it? Adding Nice=5 to /usr/lib/systemd/system/apache2....
Xilexio's user avatar
  • 111
0 votes
1 answer
408 views

Setting nice value of all user processes in realtime based on his CPU usage

In order to balance users CPU consumption on a shared computing server, I would think it very useful if one could: set the nice level for all processes of a user furthermore, adapt this level in ...
Radio Controlled's user avatar
0 votes
1 answer
48 views

Windows 2008 Server R2 Recycling Bin too long

I get a Recycle Bin as admin in the time when is server not fully loaded. It contains about 3 mil of files and it takes more than 18 hours to finish. There will begin a time where is a server fully ...
Martin's user avatar
  • 103
0 votes
1 answer
307 views

websphere - dmgr and node agent priority

I frequently see that deployment execution on our development WAS server hangs, while the applications running on it keep on responding to user requests. This leads to deployments taking ages, with ...
Orgrim's user avatar
  • 101
3 votes
2 answers
3k views

Run PowerShell script with Service Start

I'd like to set the Affinity and Priority of a service process when it is started (without modifying the service/process code, I don't own the code, it's a 3rd party service). I know I can do: $...
XyberICE's user avatar
  • 141
11 votes
3 answers
5k views

Setting default nice value for a program on linux

Strange as it seems, I can't find information how I can set a default nice value for a program (not for a user or a group!). I would like to start all chrome and firefox instances with a nice value of ...
helcim's user avatar
  • 283
1 vote
1 answer
2k views

Priority of DNS servers

I actually have 2 DNS providers and 3 DNS server. The first and is from CloudFlare - primary, and the third is from BuddyNS - this one should be used only for backup. Backup: the server should be only ...
Vilican's user avatar
  • 129
1 vote
1 answer
3k views

How to configure the niceness or priority of service started on boot

I want to increase the niceness of an service (decrease the CPU priority) started as an dedicated user or group during the boot process. I'm not able to define the niceness or priority in the /etc/...
devnox's user avatar
  • 11
4 votes
2 answers
3k views

Allow user modify nice without giving root permisions

Is there any way to allow user modify process niceness without giving root permisions? OS: Ubuntu 14.04.1 LTS
user31027's user avatar
  • 141
2 votes
2 answers
341 views

getting an application to run with the same priority as cpu idle

I have a solaris server that needs to run a timecritical application as fast as possible, although setting it to the RT priority class doesnt seem like a good idea since it may need 100 CPU for ...
camelccc's user avatar
  • 255
2 votes
3 answers
405 views

CentOS server priority of root services and non root services

Is there any priority difference between root user process and non root process on CentOS? When I run on a nodejs server as root user, it goes smooth and after some time (say after weeks) it hangs the ...
vimalpt's user avatar
  • 73
56 votes
4 answers
8k views

nice sudo or sudo nice?

is there any difference between running an intensive task over sudo with the following commands?: nice sudo [intensive command here] sudo nice [intensive command here] BTW this is for Linux 3.x.
Nicolas Laplante's user avatar
0 votes
2 answers
3k views

Changing process priority in linux for jvm process

Is it fine if I change the JVM process priority through nice at server machine [linux]. I wanted my JVM process to use maximum resources from OS. What is the standard practice? Do people tune the ...
ritesh's user avatar
  • 103
12 votes
3 answers
3k views

Guaranteeing SSH access on a stressed server

I had an issue some time ago with a server in which Apache and Snort was occupying 100% of the processor, making the sshd unresponsive through remote access. I had to go physically to the server to ...
Renato Todorov's user avatar
1 vote
1 answer
607 views

Guideline for `nice` priority number?

I'd like a more systematic way for prioritizing my tasks with nice(1). Obviously 0 is "normal", 19 is "lowest priority" and -19 is "highest priority", but what about all the other numbers? If I have ...
bukzor's user avatar
  • 263
1 vote
0 answers
138 views

Process Priorities for Sharepoint FAST Search Services

I have 4 servers dedicated to sharepoint. One of them has sharepoint, one of them has sql server and other two of them are FAST Search nodes. Sharepoint server and sql server works without a problem. ...
oruchreis's user avatar
  • 179
4 votes
2 answers
3k views

Does process priority in task manager affect network traffic?

I'm running a database server that's under moderately heavy load. I just kicked off xcopy on that box to copy a database backup to a remote server. I see that xcopy is using almost all my available ...
Jesse's user avatar
  • 1,920
5 votes
1 answer
1k views

KVM + cgroups: Dom0 process best practice?

I am transitioning from Xen to KVM, and will be using Fedora 14. I plan to use cgroups to assign priorities to VMs. My question is as follows: If I place VMs in various cgroups, should I also put ...
BigChief's user avatar
  • 398
0 votes
1 answer
208 views

change priority of ntpdate

I managed to run ntpdate at a high priority. My initial thought is to use nice command, like: nice -n -10 ntpdate -p 8 -u $NTP_TIME_SERVER However, after checking the nice value of ntpdate command, ...
Liang Zhao's user avatar
3 votes
1 answer
213 views

How "nice" determines amount of cpu resource to give

Is there a particular formula to calculate the amount of cpu resources that is allocated for a process when you "nice" it?
Flint's user avatar
  • 661
2 votes
3 answers
20k views

Change Windows Service Priority

I have a windows service that needs to run with High Priority. At the end of the day I want to use this script to modify the priority after service startup: Const HIGH = 256 strComputer = "." ...
Jürgen Steinblock's user avatar
6 votes
3 answers
4k views

When is sustained 100% CPU utilization not a worry?

Please help refine a discussion going on in our shop. Consider the following scenario. There is a Microsoft VPC running several apps and services (Windows 2003 server). The server has two or three ...
Eldergriffon's user avatar
3 votes
3 answers
3k views

How to set a low process priority for everything spawned from a command prompt in XP?

As a developer, once or twice a week I run a full build on my XP dev machine. This will run at 100% cpu for 30 or 40 minutes, making my machine useless for anything other than basic browsing & ...
Binary Worrier's user avatar