Questions tagged [process]
An instance of a running computer program.
133
questions with no upvoted or accepted answers
8
votes
0
answers
785
views
How to restart a daemondo controlled process?
How can I restart a daemondo controlled process with other options on my MAC (OS-X 10.4)? I changed /opt/local/etc/LaunchDaemons/org.macports.gearman/org.macports.gearman.plist and killed the gearman ...
6
votes
1
answer
2k
views
SSSD process won't die
Thanks for taking the time to check out my problem.
I'm currently working on an issue that has only appeared once before. Back on Jan 3rd when this first appeared we were able to reboot the server ...
4
votes
0
answers
1k
views
Find the process listening on a port (not showing in lsof)
Update:
The port was opened by NFS. I figured this out by configuring NFS to listen on a known port.
Using Ubuntu 18.04
I want to know which process or kernel function listens on UDP port 38637.
I ...
4
votes
0
answers
560
views
why doesn't htop display the same process start time than ps
Ubuntu 16.0.4.5, htop 2.0.1 and 2.2.0 compiled from source.
Showing the STARTTIME column in htop, displays Jan25 but ps -o lstart displays Sat Dec 15 20:58:46 2018
By looking at the pid it seems ...
4
votes
0
answers
2k
views
Linux NFS - 'stat' on defunct NFS mount causes blocked ('D') state processes and high load average
I'm rearranging some NFS mounts - tidying up and decommissioning them.
As part of this, my 'management' server has gained a huge load average, because of nagios kicking off 'stat' on the NFS mounts.
...
4
votes
0
answers
3k
views
Linux equivalent of OS X "Launchd", with respect to use by non-root users?
Is there a good way for non-root users to start "managed" processes? In this case, I am using
managed" to describe a process that starts up when the user logs in, is monitored by some sort of ...
4
votes
0
answers
2k
views
In Windows 2008R2 there is a TCP port that is stuck LISTENING but the process that has it open is terminated?
I have a program, NC_net that allows Nagios to monitor Windows machines for various metrics and it seems to have caused a sporadic issue where when the service stops, the TCP port remains open. The ...
3
votes
0
answers
157
views
Multiple instances of app in htop
Why does htop show two instances of my GUI app TradeClient?
while I started only one instance?
System: Ubuntu 22.04 VPS with X11 (I connect with VNC)
What is its CPU usage?
EDIT1
htop -t
EDIT2
...
3
votes
1
answer
247
views
Centos killing parent shell wont kill background child processes?
I am learning for the Red Hat certification. In the book it is stated that since RHEL 7 (so also Centos latest version) that you dont need to use nohup anymore if you launch a process in the ...
3
votes
2
answers
2k
views
Apache's "OPTIONS * HTTP/1.0" running 100% CPU - Runaway httpd process
I have this recurring issue where an httpd processes will randomly start running at 100% CPU. Often other httpd processes will join in, and it will continue until I restart Apache. Oddly, the thing it'...
2
votes
1
answer
14k
views
Can't remove /var/lib/docker due to "Device or resource busy"
I've tried to uninstall docker and failed because I am not able to remove this dir /var/lib/docker and it gives me this error:
(base) [xxx@xxx ~]$ sudo rm -rf /var/lib/docker/
rm: cannot remove ‘/var/...
2
votes
0
answers
976
views
Diagnosing nginx 408
Users upload photos to my site, using an HTML5 plupload runtime that submits the files to a php script at /upload-process.
Normally this works fine, but sometimes the call to /upload-process times ...
2
votes
2
answers
3k
views
How is a process stuck in uninterruptible sleep handled on user logout?
I would like to ask about the impact of a process stuck in the 'D' uninterruptible sleep state on a Linux system when an user logs out.
Is ending an user session by logout (not shutdown or restart) ...
2
votes
0
answers
251
views
Do Apache Gracefully finishing connections count as live(MaxClients limit)?
For instance, I've got MaxClients = 128, and 28 connections are "Gracefully finishing". Does this mean that Apache can handle 100 connections at the moment, or "Gracefully finishing" do not count here ...
2
votes
0
answers
422
views
TCP packets dropped in ipv6 loopback
Just logged in to a Windows host, I noticed an unexpected CPU usage. I quickly found out the processor was being hogged by the Windows firewall services.
I enabled logging, and I started to see ...
2
votes
1
answer
608
views
Lot of duplicate sshd daemons getting created in Solaris
I have a Solaris server where I found lot of sshd services running:
ps -ef | grep 23492
root 25449 23492 0 15:27:17 ? 0:00 /usr/sbin/sshd2 -oPidFile=/var/run/sshd2_22.pid -R ...
2
votes
0
answers
2k
views
What is a fast, efficient method for threading rsync
I have a single root directory (on a NAS) that I need to backup to another server. The hierarchy of the directory is several layers deep and a majority of the data is composed of extremely large ...
2
votes
0
answers
2k
views
How to tell uWSGI to prefer processes to threads for load balancing
I've installed Nginx + uWSGI + Django on a VDS with 3 CPU cores. uWSGI is configured for 6 processes and 5 threads per process. Now I want to tell uWSGI to use processes for load balancing until all ...
2
votes
0
answers
191
views
Apache worker mpm, one process and many threads: understanding performance
Got a mod_perl-written serverside program.
Im using shared apache worker mpm memory with one process only, and ~ 60 threads.
Im using locks to temporary secure the access to the shared memory, just 0....
2
votes
1
answer
273
views
ps -o pcpu on Debian Squeeze is giving meaningless numbers
I'm trying to get the CPU percentage for processes on a busy server out of ps, but it's giving me nonsensical numbers. Here's a truncated example:
$ ps -eo pcpu,pid | sort -n
%CPU PID
...
36.5 ...
1
vote
1
answer
269
views
Process with very high RAM usage takes very long to stop using force stop in Task Manager
We have a Windows Server 2016 with around physical 700GB RAM. A colleague of mine ran a machine learning script in Matlab, that loaded 25GB of data in RAM and during the training the RAM usage ...
1
vote
1
answer
338
views
Linux: How to check total number of bytes written to memory by a process
Note: I know about the commands like top but I am interested in knowing the number of bytes written to memory and also rewrites (number of times storing to the memory happened)
1
vote
0
answers
919
views
A linux machine with lots of processes in uninterruptible sleep state
I have a linux machine that has lots of processes in uninterruptible sleep state.
I'd like to know why this happens.
Here's part of the information of running top -o S command:
top - 14:44:51 up 298 ...
1
vote
0
answers
650
views
A process just won't die
For context: I have been playing with stable diffusion on my home server lately, but because my GPU is pretty old, the process often crashes and hangs when I try to go too far. Usually, I'd just kill ...
1
vote
0
answers
3k
views
supervisord refuses to start when provided program config
I'm setting up supervisord to run a few scripts perpetually.
If I start supervisord without any program (*.conf file in /etc/supervisor/conf.d), it runs perfectly fine
root@networking:~# systemctl ...
1
vote
0
answers
329
views
Dante server high CPU% load and negotiation process
I am a noobie trying to figure out a way to host proxies for my family and friends (around 20 people maybe) for Telegram. I am using a DigitalOcean droplet with 2vCPU and the rest are base ...
1
vote
1
answer
422
views
Laravel/PHP process on debian 10 only ever using one of two CPU threads
I am running a Debian 10 Buster server on a google VM with PHP 7.3 Apache2 and MySQL 8. On the server, I am running Laravel 8 as an API for two clients. I recently upgraded the VM to an n2-standard-2 (...
1
vote
0
answers
1k
views
Keeping processes alive when closing SSH connection on MobaXTerm
I'm facing somme issue when trying to keep process alive when shutting down session in MobaXTerm.
I have a java process which should run on a linux server.
I am using two commands, nohup and screen.
...
1
vote
0
answers
1k
views
What are the steps to track down a 'too many open files' issue
I'm trying to track down and root cause a 'too many file open' issue on RHEL 7.
From googling around, if I run this command it give me the open file count in the first column and the PID in the ...
1
vote
0
answers
816
views
Determining What Process Isn't Cleaning Semaphores
I was having the common issue of not being able to restart httpd because of a high number of locked semaphores. After clearing those and restarting httpd, I also doubled the semaphores.
However, I'm ...
1
vote
0
answers
239
views
Difference between Task Manager's Processes and Details tabs
In Windows' Task Manager we have 2 tabs that show process CPU usage: Processes and Details. Trying to find a hotspot in my developed software, I noticed that CPU usage differs there in a huge manner - ...
1
vote
0
answers
393
views
Get network usage for each process (Windows)
So I've been searching for the past few hours for this and I can't get around this "issue".
Here's what I need to do:
I need to get a list of current processes and their network activity (total MB ...
1
vote
0
answers
64
views
Server not initializing some procesess after crashing and rebooting
I have an HP ProLiant DL380 G7 server, with Intel Xeon. I also have it with RAID 1 level on its HDD's. It has Ubuntu 16.04.3 LTS running on its SSD's.
Now, my problem is that sometimes power surges ...
1
vote
1
answer
1k
views
HTTPS Configuration for supervisord
I've been browsing the web for articles that describe how to do it, but I couldn't find anything. The develop documentation only makes mention of a HTTP server. Nothing about enabling or configuring ...
1
vote
1
answer
68
views
Application caps at 20% utilization per core no matter how many threads are launched
I'm trying to use a Dell Poweredge R900 I got secondhand as a compute pool (4x quadcores gives me 16 cores to run simulations with). It's running windows server 2008 R2 enterprise at the moment.
I'...
1
vote
0
answers
52
views
Historical memory usage, clarification needed
I am running on Red Hat Linux 6.6
I have a process that is started daily, whose name and PID I know.
user 13697 13583 0 02:15 ? 00:00:21 /a/b/my_process
How can I find out:
How much memory ...
1
vote
0
answers
161
views
IIS CPU Limit not taking effect on Azure VM
we've got some old legacy web apps that we host on an azure VM. In some circumstances they get stuck in a situation that spins the W3WP process into 99%> and causes grief for the server. They're not ...
1
vote
0
answers
3k
views
Nginx/PHP5-FPM master process - high CPU usage
I've been having some weird issues with PHP-FPM and high CPU usage from the master process. I normally have CPU spikes from traffic since we have a lot of websites but I also run heavy caching with ...
1
vote
0
answers
87
views
starting a system with constraints using systemd
I have a large system that consists of multiple processes and docker containers. I would like to have the system initialized by systemd but I have several constraints between the processes:
There ...
1
vote
1
answer
33
views
Methods for monitoring and alerting data issues when dealing with complex dependencies
In this hypothetical example, we have a data flow across multiple engineering teams in an ecommerce company. These teams deliver services, produce data, and consume data at different points of the ...
1
vote
0
answers
267
views
Hundreds of zombie sh processes spawn then die
I have a few Ubuntu Server 14.04.03 LTS boxes that will occasionally spawn hundreds of zombie sh processes. This process spike will be picked up by the monitoring system, and send an alert. I found ...
1
vote
1
answer
569
views
logrotation process stdout and stderr windows
I have a service on windows that's running another process that prints many lines to its STDERR and STDOUT. I'm capturing those lines and redirect them to some log file. I would like to logrotate on ...
1
vote
0
answers
95
views
Every process I start, apart from nginx, dies after a few hours on AWS EC2 Ubuntu instance
I'm new to ubuntu (coming from mac) and I'm trying to run a couple of java servers and a node server on an ubuntu Amazon EC2 instance.
I run each server in its own screen session, and everything ...
1
vote
0
answers
189
views
Cisco process memory usage
I am trying to monitor a Cisco process memory usage. This is what I get with the command line:
show system internal processes memory | inc PID|ipfib
PID TTY STAT TIME MAJFLT TRS RSS ...
1
vote
1
answer
371
views
MOD_WSGI Daemon Mode multiple hanging httpd processes
As a python developer I had some understanding of how mod_wsgi works, which is that it launches a new python process with each request. That is not to say a new httpd process, rather a single httpd ...
1
vote
0
answers
146
views
Lighttpd user directories with individual user processes
I have enabled user directories (mod_userdir) for my lighttpd server but I don't really know how different user processes can be spawned when php files in these directories are ran.
The user's ...
1
vote
1
answer
916
views
Windows 2003-R2-Server: Process "System" takes large chunks of CPU time
I have a domain controller running 2003 R2. The server behaves very well when restarted daily, however, each day it is not restarted, there's a process called "System" that takes enourmous chunks of ...
1
vote
1
answer
1k
views
Running multiple background Java processes on Linux
I have a jar file that runs continuously and acts on various events. I need to create multiple instances of this jar, passing parameters to it on start up, and have it continue to run between shell ...
1
vote
1
answer
239
views
Set default number of mod_wsgi processes
I have a virtual host setup with the follow config directive.
WSGIDaemonProcess myproject processes=2 threads=25
I would like to set the number of processes for each vhost using mod_wsgi to 2 ...
1
vote
0
answers
39
views
Grab process information about high process usage
I'm looking to grab process information about processes that are using over a certain CPU limit.
Ex:
#!/usr/bin/env python
def get_processes_over_usage(cpu_usage):
#Find the processes.
...