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

Questions tagged [process]

An instance of a running computer program.

0
votes
0answers
10 views

using custom core_pattern, core filename get cut off after certain number of characters

I've set the /proc/sys/kernel/core_pattern to: core.%e Using %e indicates the filename of the crashed process. In our case, our binaries are named as the full URL in which they were downloaded from (...
-1
votes
2answers
38 views

What are the common ports/ranges that standard Windows processes will listen on?

Is there any documentation that I can reference that outlines what ports or port ranges that most standard Windows processes will listen on? For example, if I saw wininit.exe listening on TCP 16000, ...
0
votes
1answer
39 views

Monitor and act on another process CPU consumption [closed]

I'm looking for away to monitor a specific process CPU consumption and act if the process didn't consume any CPU for the last X minutes/seconds on linux. The use case it that I've a machine on EC2 (...
1
vote
1answer
79 views

accidentally delete mysql files in /var/lib/mysql

I made a big mistake!, I have a vps(centos7) server and for deleting temp files have a command: sudo find /tmp -type f -atime +10-delete this command is good but this time by mistake i forgot to ...
2
votes
2answers
30 views

How do I Identify an anonymous process that's changing a system setting?

I see an anonymous process changing the time of my systemtime to UTC every 80 sec. Using the journalctl -f command I only see a message that says 'systemd[1]: time has been changed' but it doesn't ...
0
votes
1answer
33 views

Can a linux process be configured to run ANY time it is ready?

I have a process that does a small amount of work, then goes to sleep for 1-5ms. When that sleep time is up, I want that process to get the CPU IMMEDIATELY! Whatever process is already on the CPU ...
0
votes
0answers
27 views

`wc` holding yum lock for over 2 days

I just logged onto a server that hasn't been logged into for two months (August 2nd). When I did yum remove google-authenticator, I got: Existing lock /var/run/yum.pid: another copy is running as pid ...
0
votes
1answer
35 views

How to tell threads from processes in top and ps on Linux?

I find it quite confusing to differentiate threads and processes when I run top and then press H or run ps -Hef. I know that they share the same attributes, which makes them similar but was wondering ...
1
vote
1answer
43 views

Find the source of a *nix process?

I have a dev and QA web server running on the same EC2. I've created a shell script (which is called via Cron) to check to see if a process is running and if not, restart it. Shell script: #!/bin/...
0
votes
1answer
29 views

How to find out how node web server is started on our server?

So we have a bunch of old (like 2 years) Ubuntu 14.04 servers running production application, which has an API endpoint in Node. But we have no idea how to start/stop/restart node on it.. it just ...
0
votes
0answers
548 views

how to find the process which initates transmition

I found that something is trying to reach 5353 port. My firewall kicks this after all ACCEPTs - (policy DENY, and some ACCEPTS - everything which doesn't fit to ACCEPTS is logged) [2206881.340582] ...
0
votes
1answer
38 views

Process without name [duplicate]

I have a web server, due to an outdated Wordpress some hacker uploaded a webshell. Throught it, he launched a process but the ps command is not showing any name for the process: root@serv ~ # ps aux|...
0
votes
1answer
76 views

get process id of openvpn client in bash script

In a bash script I am starting openvpn as a client like this: #!/bin/bash conf_file=/etc/openvpn/blahblah.conf openvpn_pid_file="/var/run/openvpn-client/ovpnc.pid" command_line="/usr/bin/openvpn --...
0
votes
0answers
6 views

How to start and stop individual node instances on linux hosting server? [duplicate]

On my linux shared hosting server, I have been hosting a node.js site like this: node server.js & which I could access at: http://nnnnnnnnnnn.com:49998 and when I want to stop it I use the ...
0
votes
2answers
74 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
126 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
36 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
129 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
vote
1answer
50 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
24 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
33 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
89 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
35 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’...
-1
votes
2answers
373 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
144 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
67 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
2answers
218 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
125 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
93 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 ...
3
votes
0answers
153 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
82 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
31 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
54 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
244 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
38 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
823 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
461 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
104 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
106 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
1answer
141 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 ...
2
votes
1answer
777 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
322 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 ?...
2
votes
1answer
5k 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
2answers
104 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
541 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
579 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
289 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 (-...
1
vote
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? ...