Questions tagged [process]

An instance of a running computer program.

Filter by
Sorted by
Tagged with
0 votes
4 answers
1k 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 ...
Rick Sanchez's user avatar
1 vote
0 answers
407 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 ...
Something's user avatar
  • 105
1 vote
2 answers
6k 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 ...
nullReference's user avatar
0 votes
1 answer
4k 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 ...
Syed Suhail Ahmed's user avatar
1 vote
1 answer
1k 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.
Paul Draper's user avatar
-1 votes
2 answers
409 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 ...
Kakki's user avatar
  • 1
0 votes
1 answer
1k 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 ...
Inian's user avatar
  • 101
3 votes
1 answer
5k 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 ...
Ynias Reynders's user avatar
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 ...
DarkCygnus's user avatar
0 votes
2 answers
2k 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 ?...
aye's user avatar
  • 229
10 votes
2 answers
35k 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/...
Max's user avatar
  • 237
0 votes
2 answers
2k 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/...
Achim's user avatar
  • 283
1 vote
2 answers
3k 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 ...
Mohammed Noureldin's user avatar
0 votes
0 answers
970 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-...
Ross Kilgariff's user avatar
1 vote
1 answer
2k 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 (-...
suh's user avatar
  • 13
1 vote
3 answers
8k 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? ...
Dark Star1's user avatar
  • 1,435
1 vote
2 answers
3k 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....
Buttle Butkus's user avatar
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) ...
Arnold's user avatar
  • 21
0 votes
1 answer
3k 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 ...
Abhishek Chatterjee's user avatar
0 votes
0 answers
50 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, ...
Nubtacular's user avatar
0 votes
0 answers
351 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 ...
Anis's user avatar
  • 101
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 ...
Oleg Shtepa's user avatar
0 votes
1 answer
298 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 ...
Alexandre Neukirchen's user avatar
0 votes
1 answer
706 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.
arvindwill's user avatar
0 votes
1 answer
189 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 ...
laurent's user avatar
  • 189
1 vote
2 answers
3k 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 ...
Rohanil's user avatar
  • 175
-1 votes
1 answer
4k views

Killing a Perl process in Linux

I started a perl process that runs a script and I want to end it, but not the rest of perl scripts. How do I target it and not the rest?
prgrm's user avatar
  • 151
0 votes
2 answers
621 views

How to verify mysql single process with multiple threads model?

It is said that MySQL handles connections, allocating one thread per connection to the server,and MySQL is a single process with multiple threads. Now in my localhost . There are two connections to ...
showkey's user avatar
  • 125
2 votes
1 answer
7k views

Linux : Count Open Files for Process

How can I check how many open files are currently used? Checking on PM2 is just an example: I found the PID: ps aux | grep pm2 | awk '{ print $2 }' Checked that there is a limit of 65536 ...
crashoverbike's user avatar
0 votes
1 answer
35 views

Running intensive process on an operating LAMP server ; Risks on uptime?

Backstory: The server is running Ubuntu 14.04. We want to download and put on an external hard drive everything in Apache's document root as we are working on a complete redesign of the web site. (67 ...
lampyridae's user avatar
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 ...
Dion Pezzimenti's user avatar
0 votes
1 answer
7k views

How to find which group policy setting is preventing software from opening?

I have recently installed the Lumension Device Control Management Console on a computer on my Domain. There is a GPO on the domain which is enforcing security settings and audit settings. Now that I ...
JukEboX's user avatar
  • 835
0 votes
0 answers
900 views

Identify process that was running Exim from one email account

I have a server which is barely 4 months old and already a process is running to "spam" people. this is baffling as I have a secure password and have never given it to anyone. I am taking the ...
Oliver Williams's user avatar
6 votes
2 answers
15k views

How to crash a single process in Linux?

I want to analyse the outcome of my application process when it crashes. How can I manually crash a single process in Linux?
Harikrishnan's user avatar
  • 1,249
0 votes
1 answer
323 views

Limits configured but not applied to a daemon

On my CentOS 7, I use cat /proc/<pid>/limits to see the actuel limit set. I got confirmation that this method is totally accurate here because I'm using it on MySQL, which can't dump a specific ...
Guillaume Fenollar's user avatar
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'...
PhysicsNinja's user avatar
1 vote
1 answer
3k views

Bash script - wait for all xargs processes to be finished

I have written a small bash script for crawling an XML sitemap of URLs. It retrieves 5 URLs in parallel using xargs. Now I want an E-Mail to be sent when all URLs have been crawled, so it has to wait ...
Alex's user avatar
  • 322
1 vote
2 answers
1k views

Finding IP linked to a specific process

What is the straighest way of finding IP linked to a particular process on a Linux machine? The task is straightforward if the port used by the process is exclusively reserved for this process: I ...
user123456's user avatar
3 votes
1 answer
249 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 ...
dragosb's user avatar
  • 171
2 votes
0 answers
425 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 ...
aledeniz's user avatar
  • 213
0 votes
2 answers
2k views

Processes spawning randomly and sucking CPU

I am currently on Ubuntu 16.04, and I have noticed slowdowns across the server in general. Upon viewing htop, I noticed that processes with random commands are spawning, while taking the CPU usage ...
Alucard's user avatar
2 votes
1 answer
14k views

meaning of systemd "Group" option

Here: http://man7.org/linux/man-pages/man5/systemd.exec.5.html There's a nice explanation stating there is something like "group that the processes are executed as". However, I could not find what ...
Herbert's user avatar
  • 191
-2 votes
1 answer
749 views

How can I schedule supervisord to start and stop on regular intervals(for example to start at everyday 1:00 AM UTC and stop at 6AM UTC)

I did configured supervisor to process the jobs from AWS SQS queue(using laravel dispatch to AWS SQS), I have below command in /etc/supervisor.conf and I want to run this command on regular intervals: ...
Kowsalya's user avatar
-1 votes
1 answer
74 views

Why wordpress sites top -c showing that only index file is used

I am want to that Why wordpress sites top -c showing that only index file is used. What all request are handle by index.php? when every time i check top -c it's show as below: 743204 (Trace) (Kill)...
Shiv Singh's user avatar
2 votes
1 answer
230 views

Difference between a Group Process and Parent Process

Hello fellow terminalists, I was wondering what the difference between a Group Process and Parent Process is? Based on what I know, a Parent process may have several child processes, and a Group ...
chromechris's user avatar
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 ...
JAM's user avatar
  • 113
1 vote
1 answer
933 views

s6 supervisor: variable set with s6-envdir can't be used

I'm trying to wrap my head around s6 supervisor suite. I've figured out run and log but I'm stuck with s6-envdir and I'm not sure how do I use it. I see that environment variable gets set, but I can'...
Roman Grazhdan's user avatar
0 votes
4 answers
407 views

After using killall -u root, I am unable to access server and all websites are down [closed]

I am using CentOS server. I wanted to test how to kick users by kicking myself (root) user. I used killall -u root and it kicked me from the server which was as expected. However I am no longer able ...
Kunok's user avatar
  • 153
2 votes
1 answer
338 views

Why does matching packets by processn return unkown option

I am trying to match packets by process name in iptabes. I was trying it with ping and an example I got from: https://www.frozentux.net/iptables-tutorial/iptables-tutorial.html#OWNERMATCH The ...
warsang's user avatar
  • 23
0 votes
1 answer
2k views

How to check if a process is still outputting or hung

I'm using some casperjs scripts (which I don't really understand) with a known issue that the process hangs after a specific warning message. Otherwise it's outputting a log message every few seconds. ...
Yasen Kiprov's user avatar

1 2
3
4 5
16