Questions tagged [process]

An instance of a running computer program.

761 questions
0
votes
0 answers

How to deal with ksoftirq hitting 100%?

I have a Linux server with 48 CPU and, from time to time, some of them starts hitting almost 100% of usage. And when that happens, the usage doesn't go down and that's affecting some services performance. When I reboot this server, everything goes…
Paulo
  • 101
  • 2
0
votes
0 answers

Process with higher nice uses greater resources

We have an emulated SUSE 390 system where the niceness is not being respected by specific processes. We're seeing multiple instances of processes with a niceness of 10 superseding processes that have a niceness of -15. (see below). In this…
0
votes
0 answers

Gunicorn can't access a .ini file containing credentials to parse in Django's settings.py Debian+Nginx+Gunicorn+Django

today I spent hours trying to use Environment Variables in Debian for a Python project. I tried exporting them in various files: /home/user/.profile /home/user/.bashrc /etc/environment /etc/profile /etc/profile.d/ /root/.profile /root/.bashrc I…
0
votes
1 answer

Postgres process spawns taking up CPU resources

Do you know why PostgreSQL would spin up a single process using a random command/name and then eat up CPU and memory? Killing the process does not effect the Django application which is utilizing PostgreSQL DB. The period between process respawns…
0
votes
1 answer

How to restart a web application via SystemD if not responding?

When using Supervisor there are a couple of plugins available that are able to restart an application if it's using to much memory (-> memory leak at e.g. some Java-tools) or if the application is not responding (even though it's not officially…
frlan
  • 573
  • 1
  • 8
  • 27
0
votes
1 answer

Linux server nrpe nagios check_procs process state monitoring - need info, when process is restarted

I need to be informed by nagios when a process on a remote server is restarted. The only thing I do not know how to do is to check its process state, and what way to do it? I got in remote server this nrpe command for now: ./check_procs -c 1: -a…
Kamil Bu
  • 9
  • 4
0
votes
1 answer

How to restart deluged daemon on macos?

I am running an old macbook pro as a server and have deluged running on it. How can I restart the daemon without having to restart my server each time?
Stretch0
  • 133
  • 8
0
votes
1 answer

How to calculate CPU utilization for an application in a multicore system

On 8-core server, 0-3 are configured as isolcpus and remaining cores (4-7) are available for system and user processes to run. My application has multiple processes which will run on any one of the mentioned non-isolcpu cores (4-7). I need to find…
surya
  • 101
0
votes
1 answer

Debian: Find unknown process pinging ip on old subnet after subnet change

I changed my network subnet from 192.168.1.0 to 10.10.10.0, but some rogue process is trying to hit port 9100 on 192.168.1.145 I have tried sudo lsof -n | grep TCP | grep 9100 with no luck. I have also tried sudo netstat -nlpt | grep 192.168.1.145…
JoSSte
  • 109
  • 9
0
votes
2 answers

How can I find out which program is executed through a PID which is ended

I found there is a program that killed my Apache regularly, according to the log information, I understand there is a program using "/etc/init.d/apache2 stop" to stop apache, since this process is gone, how can I find out this PID belongs to which…
leo
  • 1
  • 2
0
votes
1 answer

In Linux/bash how can I prevent asynchronous commands?

I have a makefile that calls external build scripts. Some of these scripts (which I can't change) make use of commands that are forked / backgrounded (or asynchronous as the bash manual names them) That means that the next line in the makefile can…
Jay M
  • 378
  • 4
  • 11
0
votes
1 answer

Identifying user activity/processes from log message on remote machine - 10.0.0.2 - user A, using service account B trying to connect to 10.0.0.3

I just inherited an older Linux server. I am getting asked to identify and stop a process initiated by a user. How can I go about identifying what process a user is executing that matches the logs seen on a remote machine? Local machine =…
0
votes
1 answer

How do I find the PID file for a process given the PID number?

I'm trying to use Monit to monitor and send email alerts about a process when it stops running, but I need the location of the PID file for that process. I can find the PID number using the htop or ps commands and I thought it would be pretty…
Alasdair
  • 3
  • 2
0
votes
1 answer

Why atop shows high CPU but sum of individual processes %CPU far smaller?

How can the sum of processes' CPU-% usage be lower than the total CPU load, according to atop and top, please? I have a CPU reaching very high load (87%, for several hours) even though the sum of the individual processes as shown by atop is muchs…
jucor
  • 3
  • 3
0
votes
1 answer

How to list the capabilities associated with a process in *nix systems?

From - man capabilities UNIX implementations distinguish two categories of processes: privileged processes (whose effective user ID is 0, referred to as superuser or root), and unprivileged processes (whose effective UID is nonzero). and Starting…
samshers
  • 238
  • 1
  • 5