Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Questions tagged [process]

An instance of a running computer program.

0
votes
1answer
16 views

Kill a process inside an lvm snapshot

In my XEN host, I have a snapshot that cannot be removed with lvremove $ lvremove /dev/vg0/snap-tmp-vm06.docker-disk -fdv DEGRADED MODE. Incomplete RAID LVs will be processed. Using logical volume(s) ...
0
votes
0answers
22 views

Monit throwing failed protocol test [HTTP] instead of starting process

I have a custom process (an elixir application) running. I want to setup monit for it. I am setting up the monit check in /etc/monit.d as the following: set daemon 30 check host meraj-pc with ...
0
votes
1answer
28 views

Unable to fork children even after exiting previous ones

I have a CentOS VM on which I'm running a php socket server, that forks on every connection. The child process does its job and then exits. The parent is also waiting to reap the dead zombie process (...
0
votes
1answer
33 views

Pass PIDs from tasklist and kill processes with tasklist WITH spaces in the name of the process

So this question is VERY similar to this question, with this answer. But some of my processes have a space in the name, and CMD returns nothing. My original question has been answered in this answer, ...
-1
votes
0answers
26 views

The Process lsass.exe consume to much network resource in windows server 2016 [duplicate]

To since 2 week, the network has a problem, we detected that the server consume all upload bandwidth. we verify in the tasks administrator and we find a process called Isass.exe consuming all upload ...
1
vote
1answer
27 views

Do Zombie Process have adverse effects?

Yes, I have gone through a lot of answers, but they don't really specifically say if Zombie Processes will have any adverse effects in the longer run or not. I have an application that creates a ...
0
votes
1answer
22 views

What happens to a ESTABLISHED connection after a firewall restriction is enabled between the hosts in the connection?

I would like to know what will happen to an ESTABLISHED connection between two hosts (say A:9999 & B:8888), after a firewall restriction enabled between those two hosts thus preventing any ...
0
votes
0answers
21 views

Understanding some of my linux process file descriptors

Looking to some of my production processes, I realize that I can't understand what exactly some of its file descriptors are and/or what are they used for. More specifically those with TYPE sock and ...
0
votes
1answer
35 views

fork: Resource temporarily unavailable due to tomcat java process

We are using Red Hat Enterprise Linux Server 7.4 (Maipo) and tomcat 8.5.30 . While accessing website the process count is increasing for java process rapidly and it reaches up to the extend where the ...
0
votes
1answer
25 views

How do I kill all processes by a specific user from the last 10 hours?

I need a shell script to kill all processes by a specific user from the last 10 hours... I'm a beginner. however I wrote a script ... #!/bin/bash Echo “User name : “ Echo $1 pkill -9 -u ‘id -u $1’...
-2
votes
2answers
96 views

How to kill a process by its full name, including the path?

Given the full file name of a process, how can I kill it? Not only by its file name, but by full file name. I've looked into kill and pkill and they're not what I'm looking for.
0
votes
2answers
59 views

mysqld process deleted in lsof

running lsof on the server today I came across that mysqld was showing up as deleted. Does anyone came across something like this before, or there is an explanation about this. Is it a bug? lsof | ...
0
votes
0answers
64 views

apache mod_proxy persistent

Im using apache mod_proxy to LB 2 tomcats in a server using apache and sticky session. I need session time outs to be set 30 minutes So I have following parameters in httpd.conf Timeout 1200 ...
2
votes
1answer
62 views

Find windows process that is changing time back 1 hour

I have a windows machine which will periodically change the system time, for reasons unknown. It appears to happen every hour. This windows machine is a virtual machine (Parallels Desktop 9, Win7 ...
0
votes
0answers
60 views

Python & Django: supervisor numprocs vs uwsgi --processes

What is the difference in specifying numprocs in superivsor config and passing --processes option in uwsgi config? I'm using a m4.xlarge instance which has 4 CPU and 8Gig RAM. Not sure about the ...
0
votes
0answers
78 views

mprotect between two processes

I have mmaped shared memory (backed by /dev/shm) between two processes. 7ffff7ff3000-7ffff7ff7000 rw-s 00000000 00:16 176796 /dev/shm/shdmem One process is doing mprotect for ...
1
vote
0answers
70 views

What to use instead of PM2 for non-Node.js applications?

I'm thinking of switching from Node.js to another programming language (Elixir). And in Node, I've used PM2 as a process manager. Now, the thing is, I don't want to use PM2 for process management, ...
1
vote
1answer
79 views

How php process counts in server

I am new to this community and I am newbie developer. Please excuse me if I ask something wrong I have a hosting which allows 50 PHP process. But my website has 10000 concurrent traffic at peak time....
0
votes
1answer
29 views

Linux process state while waiting for a HTTP response

In Linux, what happens to the state of a process (curl, postman, mule, caml) when it has sent a HTTP request and waiting for a HTTP response? What is the way to know how long the process is waiting ...
0
votes
1answer
37 views

What is the most accurate way of measuring cpu utilization of processes in Windows based systems

I have been trying to find out the best way to measure the CPU utilization of processes in a Windows Server 2012R2 system and I found out that there are many inconsistencies among the methods used to ...
0
votes
4answers
146 views

CPU bumps to 100% in a PHP web application: How do find out what started it?

I have a Debian server (Amazon AWS) with a PHP web application that is used by hundreds of users. My CPU usage is almost always below 10%. Today around 12:00AM~ I had 2 insane jumps to 100% for ...
1
vote
0answers
29 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 ...
0
votes
1answer
326 views

kipmi0 process high cpu utilization

Running top on one of our debian 8 dedicated servers and noticed process kipmi0 utilizing 100% cpu. First off...does anyone know what this process is for, what it does, or what program is using it? Is ...
0
votes
0answers
13 views

Amazon Linux instance, rcp_bh consumes 99% cpu [duplicate]

I have an Amazon Linux instance that has a process "rcp_bh" constantly running and consuming 100% of my CPU. If I kill it, it starts back up a few hours later. I have tracked the executable to the /...
0
votes
1answer
225 views

Server load handling : One single batch request vs multiple requests

I was talking to a developer about different apis for create, update and delete and he was saying that it was better to have a single batch request to server to do operations like create, update and ...
0
votes
1answer
51 views

How to current Linux process count (compared to pid_max)

How can I get the number of Linux processes (including lightweight processes)? I want to see how many before I hit the limit dictated by /proc/sys/kernel/pid_max.
-1
votes
2answers
105 views

How can I adjust the name of a process I run?

I have a rack/ruby application on a server. I run it as follows: nohup rackup -o 0.0.0.0 -p 1234 & In the output of "top" command it appears as simply "ruby" PID USERNAME THR PRI NICE ...
0
votes
0answers
69 views

Reporting units for user and system CPU usage for individual process via collectd

I've been using the collectd:Process Plugin to monitor the per process metrics on a Linux server I'm running. It is just that there are no information about the units for which process use the CPU ...
1
vote
1answer
294 views

Performance Monitor: Memory\Page Faults/sec vs Process\Page Faults/sec

When I was investigating some Hard Page Faults I came across this. Objects Memory & Process give different value's from the same counter: Page Faults/Sec. Are there some OS related processes that ...
1
vote
0answers
40 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 ...
0
votes
2answers
266 views

Too many sshd related processes in Centos 7

When I run ps aux command in my Centos 7 machine, I see about 100 entries: root 19862 0.0 0.0 151692 8 ? Ss Oct09 0:00 sshd: unknown [priv] sshd 19864 0.0 0.0 105068 0 ?...
0
votes
0answers
331 views

Too many httpd processes open

So I have read all the questions that connected to my issue but couldn't find any help with it. Background: I have an app (website) that is serving other websites, and adding some kind of HTML to the ...
1
vote
1answer
2k views

cannot remove file, Device or resource busy

I tried removing a file. The most relevant answer can be found here, but I found no luck. Here is the original problem: maxgitt@mgpc:~$ sudo rm -rf /var/lib/docker/ rm: cannot remove '/var/lib/docker/...
0
votes
0answers
11 views

Sql files getting deleted

Mysql files are getting deleted on my centos VM machine.it started with ssh directory files getting deleted and service getting stoped, making unavailable to connect through ssh.i have an application ...
0
votes
2answers
64 views

How to capture details of an aborted process into a logfile

A daemon is started and running under Debian until it randomly crashes. I found out that it sometimes aborts due to an assertion which is shown if the process is running in foreground, like: /usr/...
1
vote
2answers
404 views

Bash script entrypoint (PID=1) kills `tail` sub process ONLY if a fake trap (which does NOTHING) was there [closed]

I am facing a strange behavior in my Bash script, I have this Bash script which is running with PID 1 (it is an entrypoint for Docker container, if you are not familiar with Docker, I assume you can ...
0
votes
0answers
426 views

Why was Linux process killed?

I run an ubuntu server (14.04, kernel 3.13) that has a single process serving network traffic. The process stopped running this morning and I can't figure out why. There are no SIGSEGV or out-of-...
1
vote
1answer
157 views

Killing process group safely

How can one kill a process group safely, and force kill if needed? The goal is to do a kill with SIGTERM (-15) then if the apps in the tree do not die after a timeout (e.g. 60 seconds) do a SIGKILL (-...
0
votes
2answers
1k views

Why am I unable to find the pid of a nano process that has a file being edited by root?

I am trying to edit a file using nano and whenever I open the file for editing it gives me the following message: File /path/to/file is being edited (by root with nano 2.5.3. PID 12345); continue? ...
1
vote
2answers
771 views

Preventing cron job duplicates [duplicate]

I found this interesting page that suggests several options: Create a lock file Create a PID file. flock solo But what about his option: Check ps to see if the executed command is currently running....
3
votes
2answers
699 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) ...
0
votes
1answer
327 views

supervisord - automatically kills its spwaned processes

I am a new bee with Supervisord. And I am on Ubuntu. My problem is, I have a script to spawn java process using "exec java -cp ....." as the only line in the script. This particular java process is ...
0
votes
0answers
32 views

CentOS 7: Github commit spawning new Ruby processes and maxing out memory on server

I have a Linux server setup (CentOS7) and have a handful of cronjobs running on there. Nothing too heavy duty, but have run into an issue twice in the past week. It's a ruby process (Rake task, ...
0
votes
0answers
175 views

Not able to delete directory after uploading all directory files on AWS S3

I have developed one PHP script which uploads directory files on S3 and delete the respective directory from the system( Ubuntu12.02 ) with sudo user but it gives following error: command :- sudo rm -...
0
votes
0answers
133 views

Dovecot: Kill permission denied when reloading

The problem I want to run a Dovecot server inside a docker on my server. The daemon process starts successfully, but whenever I try to reload the configuration, restart, or stop the daemon I get the ...
1
vote
0answers
125 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 ...
0
votes
1answer
51 views

WS 2008 R2 get process by id

I have received the following message in the event viewer: A worker process with process id of '10088' serving application pool 'mypoolapp' has requested a recycle because the worker process ...
0
votes
1answer
111 views

PM2 Similar for Tomcat

Tomcat due to auto-of-memory or rare problem it stops, and needs to manually start the service back. Is there any simple Process manager like PM2 for Tomcat, to monitor and start when not running.
0
votes
1answer
67 views

Could this process bring down the server?

I'm trying to understand why a server (AWS Ubuntu) sometime becomes unresponsive and eventually has to be restarted. While looking through top logs, I found a process that I think might be causing ...
1
vote
2answers
642 views

How to get all processes running on each CPU core in Ubuntu?

I am working on Ubuntu14.04 server and it has 48 CPU cores. I am seeing there is high CPU usage on one core from sar information. So I want to know which processes are running on that core. How should ...