Questions tagged [process]

An instance of a running computer program.

133 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1 vote
1 answer
885 views

Process gets killed automatically in Fedora

I have a Automation process which is a java program running on fedora 6/14. A problem that I face very frequently is that this process is getting killed automatically. Ideally this process has been ...
user avatar
1 vote
2 answers
181 views

Running multiple copies of the script - using cores or simply slowing the server down?

I have a small compact PHP script that monitors a beanstalk message queue on a CentOS 5 server. When it gets a message, it starts to undertake a particular action and once complete, goes back to the ...
TIW's user avatar
  • 117
1 vote
2 answers
644 views

Monitor Processes' Memory Usage

We have an IBM P series box running AIX 5.3. This is our application server, whereby our J2EE application is running in Oracle's Applications Server (version 10g r2). At around 11pm till the next day ...
Alvin Sim's user avatar
  • 286
1 vote
1 answer
2k 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 ...
pooya's user avatar
  • 11
0 votes
0 answers
20 views

Double instance of TighVNC server for 2 different processes on 2 different ports

In windows, I would like to launch 2 different processes, and once I have the two process IDs (i.e. PID1 and PID2), I would like to share them via VNC (I know for example that TighVNC allows to share ...
Jack's user avatar
  • 1
0 votes
0 answers
48 views

Is it possible to spawn one process per connection in Apache with mpm_winnt?

I would like to fine tune the settings of mpm_winnt Apache module: for each connection, it should spawn one new Apache (httpd) process. AFAIK this is similar to what mpm_prefork does (which is Linux ...
tigrou's user avatar
  • 111
0 votes
1 answer
40 views

Two processes have different behavior while running with the same command and same binary file

There's an app in Ubuntu server, which runs a FFMPEG instance. That instance keeps working fine. But when I run the same command with the same binary executable in terminal, it exits after 3 or 4 ...
james hofer's user avatar
0 votes
1 answer
844 views

How to assign Windows process to specific network adapter

I would like to start specific applications for example MQTT broker, Node-red etc. in multiple instances and I would like to assign, that each one can communicate just on the specific network adapter ...
Pavol's user avatar
  • 11
0 votes
0 answers
16 views

In Appian, I have created a process model. In that approve, reject, and screening action is involved

In Appian, I have created a process model. In that approve, reject, and screening action is involved. I am taking decisions for each action. If the decision is true for any of the actions I am ...
saitharun's user avatar
0 votes
0 answers
184 views

Understanding ulimits / process limits, or maybe something else. New processes stop opening (fork errors)

I'm a little bit lost and need some help understand what exactly is happening with my server. So this is a Proxmox (Debian) server with several LXC containers running in it, and from time to time ...
ItsJustMe's user avatar
  • 1,011
0 votes
0 answers
39 views

fuser not listing the process even netstat and lsof list

hostserver:~# lsof | grep *:6343 sflowtool 979324 root 3u IPv6 1443815323 0t0 UDP *:6343 hostserver:~# netstat -ntlup | grep 6343 udp6 0 ...
Ujjwal Gupta's user avatar
0 votes
1 answer
533 views

Can't restart podman container

I have installed a mtproto-proxy container: # podman container list CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS ...
Clodoaldo's user avatar
  • 433
0 votes
1 answer
473 views

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 ...
frlan's user avatar
  • 573
0 votes
1 answer
679 views

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 ...
Kamil Bu's user avatar
0 votes
1 answer
2k views

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's user avatar
  • 133
0 votes
1 answer
766 views

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 ...
surya's user avatar
  • 101
0 votes
2 answers
833 views

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 ...
leo's user avatar
  • 1
0 votes
1 answer
207 views

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) ...
Jay M's user avatar
  • 398
0 votes
1 answer
28 views

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 ...
kawi1000's user avatar
0 votes
2 answers
724 views

How can I find the location of the source code for an app running on an Ubuntu image?

Let's say I've logged into an image that was spun up by an automated process and it's serving up a website (in my case it's a Rails site). I'm rooted, but don't know where to find the source code. ...
David Kennell's user avatar
0 votes
1 answer
117 views

Force Nginx to create a new process for each request

Nginx reverse proxy send and receives requests from client to a defined port, that usually is a process that responds to requests the thing is if for one of requests the process crashes the whole ...
Ata Tiba's user avatar
0 votes
1 answer
836 views

Suspicious process 'find' running under user nobody

At startup I noticed my machine was under heavy load. Opened up a terminal and top to find a process running the command find under user nobody that was using 90%+ of my memory. I killed it ...
Fraktar's user avatar
0 votes
1 answer
298 views

Get the age of a process?

How can I see the age (in seconds) of a process in Linux? I want to do it in a script. ps has various start/lstart/start_time options, which show a textual format for the date & time the process ...
Amandasaurus's user avatar
  • 32.3k
0 votes
0 answers
26 views

Easily monitor the CPU % use of a process

I'm have a small ISP and currently we are running an application of a customer that it's creating high CPU pikes. Basically we have chrome tab running and automate a process to stresstest a web ...
user558413's user avatar
0 votes
0 answers
388 views

Ubuntu service is showing running even after the process is killed

I have created a service like below:- Description=Java Service [Service] User=nobody # The configuration file application.properties should be here: WorkingDirectory=/home/ubuntu/pear ExecStart=/usr/...
rohit singh's user avatar
0 votes
1 answer
506 views

Why does cron job spawn child process every few seconds

I have a cron job that keeps spawning child process with the same name as parent process every few seconds. All the CPU usage is happening on the child process for few seconds and then dies. Seems ...
alexfvolk's user avatar
  • 174
0 votes
1 answer
1k views

ps + kworker with state D

we have redhat machines in cluster redhat version is - 7.2 when we perform ps ax on the machine we saw many kworker with state D example 17165 ? D 0:00 [kworker/u66:1] 2151 ? D 0:58 [...
shalom's user avatar
  • 501
0 votes
1 answer
80 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 ...
user37244's user avatar
  • 312
0 votes
0 answers
68 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 ...
William's user avatar
  • 266
0 votes
1 answer
47 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 ...
Carmageddon's user avatar
0 votes
2 answers
832 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) ...
rubo77's user avatar
  • 2,519
0 votes
0 answers
1k 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 ...
Meraj Rasool's user avatar
0 votes
1 answer
172 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 (...
Dushyant Bangal's user avatar
0 votes
1 answer
357 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 ...
GP92's user avatar
  • 741
0 votes
1 answer
70 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’...
Christiana Tomescu's user avatar
0 votes
0 answers
966 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
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
348 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
0 votes
1 answer
702 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
2 answers
618 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
0 votes
0 answers
897 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
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
0 votes
1 answer
33 views

Going back to a running instalation process after being disconnected

I was running an instillation through remote access using ssh shell. and didn't look at the screen for a while(my bad). when I go back to that console I find it was asking for a path like: Enter ...
Saif's user avatar
  • 101
0 votes
1 answer
1k views

Does upstart have a built in way to respawn a process that is not stopped using initctl stop in specific intervals?

We thought the following directives would try to respawn the process 10 times in 60 seconds (i.e. once every 6 seconds): respawn respawn limit 10 60 However these directives restart the process as ...
TheFooProgrammer's user avatar
0 votes
0 answers
599 views

Real memory usage on Linux and Private_Dirty

On Linux, is using Private_Dirty value from smaps a good way to measure real process memory usage? Thanks
Radoslav Stefanov's user avatar
0 votes
1 answer
99 views

NUMA processor definition

NUMA, non-uniform memory access designates a symetric multi-processing system where processors are grouped into nodes, with each group sharing some level of memory, so that memory access on same node ...
kiriloff's user avatar
  • 129
0 votes
0 answers
72 views

Odd entries in Debian Linux /var/log/auth.log

I have found some odd entries all of the sudden in my /var/log/auth.log files. They are showing up every 10-20 seconds or so. There isn't anything in cron that would do this, and I am at a loss of ...
lext01's user avatar
  • 21
0 votes
1 answer
40 views

Know which file is related to a process execution

In Unix, with top I have an output similar to this: 13916 root 18 0 903m 129m 9936 S 51.4 0.1 3:07.01 php How can I know which file is this php process executing? For example: 13916 root 18 0 903m ...
Mattia Merlini's user avatar
0 votes
1 answer
300 views

Why when setting a process ppid to 1 will disown it?

When i write a shell script like below: # demo.sh somework & Then run it sh demo.sh.Use & will cause the demo.sh exit and make the somework's parrent PID be 1, the init. Then i exit my ...
jerrytao's user avatar
0 votes
0 answers
234 views

Sudden increase in my CPU usage during random moments(Win Server 2012)

At random times, no matter if I am online or not I see that my server having increased Process usage spikes, as you can see in the picture: So I go inside the Dashboard on the Server Manager, look at ...
Simon Westerdahl's user avatar