An instance of a running computer program.

learn more… | top users | synonyms (1)

0
votes
1answer
56 views

vnstat service not showing status

When I run service vnstat status No result is returned. Usually one of the following three results would come up. But I got nothing when checking the service status. vnstat (pid 94330) is ...
1
vote
2answers
885 views

Meaning of killall -0

I see from many place the follow command is used to check if a process exists, e.g. killall -0 nginx But from the documentation I can't see anything related to this argument, can anyone explain?
0
votes
0answers
24 views

Apache - how to automatically kill apache subprocess of closed connection

I am using Apache 2.4 (Linux) where I have some CGI app that runs long-standing system subprocesses. When the client finish the connection prematurely (for example when a user close the web browser), ...
4
votes
2answers
3k views

Cant kill process on Windows Server 2008!! - Thread in Wait:Executive State

I hope someone can help me with our issue we are having. We have a major issue with a process that we can not kill and the only way to get rid of the process is to reboot the machine. I have tried ...
6
votes
2answers
3k views

Upstart : start service after non-upstart process

On Ubuntu 10.04, I need to start my service with upstart, but only when mysql is up and running. The problem is that mysql itself is not handled by upstart, so I can't use the "start on" feature. ...
-1
votes
0answers
17 views

server hacked random auto generating proceses [duplicate]

I have this problem recently one of my servers was eating away my internet badnwith and i started to chek out what was the problem and i run in to this Once I loged in i found i couldnt chance my ...
90
votes
9answers
30k views

Keeping a linux process running after I logout

I'm connecting to a Linux machine through SSH, and I'm trying to run a heavy bash script that makes filesystem operations. It's expected to keep running for hours, but I cannot leave the SSH session ...
3
votes
2answers
4k views

Problem with msiexec.exe locking up when installing / uninstalling

I am running two virtual 2008 Windows Servers that have been having some reoccurring problems for the past few months. Msiexec.exe seems to run and always freezes at 25% cpu usage and around 12 - 15k ...
1
vote
3answers
100 views

Find out what NFSD processes are actually doing?

When I view top on one of our servers there are a lot of nfsd processes consuming CPU: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 2769 root 20 0 0 0 0 R ...
16
votes
9answers
996 views

Documentation As-A-Manual vs. Documentation As-A-Checklist

I've had discussions in the past with other people in my department about documentation, specifically, level-of-detail and requirements. In their view, documentation is a simple checklist of Y things ...
0
votes
0answers
27 views

Starting a Process Remotely Using winrm

I am working on setting up a build/test server for continuous integration of a software team I am working on. Part of the requirement is that, when new items are pushed into the repo, I automatically ...
0
votes
1answer
41 views

How to find what process for a particular user is accessing files on a share

Our business management system has had some hiccups here and there the past couple of weeks. It has been denied access to some of the files it uses. By digging around with Manage Open Files I have ...
0
votes
4answers
273 views

get notification when process starts running

I am trying to figure out a way to get a notification when one of my processes starts to run once again (i have tried monitoring the proc file but didn't succeed, monit doesn't handle getting the same ...
0
votes
0answers
110 views

can't apply process slot for /usr/lib/cgi-bin/php5

seen some other answers around the web related to my issue. Tried the answer from High CPU mod_fcgid: can't apply process slot too, did not work. Here are the files I believe toe be relevant for ...
2
votes
5answers
6k views

How do I track CPU Utilization for Window Services?

I am using the windows task manager to track CPU utilization. I notice that my applications are listed but Windows Services are not. For instance, total CPU usage is listed at 70% but the summary of ...
3
votes
3answers
3k views

Monitor all newly spawned processes on a Linux machine

Sometimes a process comes and goes faster than I can ps aux, I tried watch -d -n0.1 "ps aux | tail" but again, that's restricted to 1/10th of a second. What I really want is to run a command and ...
0
votes
0answers
15 views

Sendmail avoid bounced mails to be reprocessed

I'm quite new to running my own Linux server and I was just wondering if the following is normal or if my server is being abused by some spambots. So I have a linux server running which has also ...
0
votes
2answers
179 views

Can't find a process that is writing huge files to my disk

While clearing up my harddrive, I ran into a directory called, c:\logs that had huge files in it. The first one, called debuglog.txt is 9gb and contains the following data: ProcessWin7_SpeakerPin ...
0
votes
1answer
32 views

How to find out which process created a particular file?

I know that you can use lsof (in Linux at least) to check which process has got a particular file opened currently, but is there anyway to find out which process created a particular file originally? ...
-1
votes
2answers
119 views

Bash script to kill specific process running longer than 5m [closed]

Hi I'm looking for a BASH script for CentOS 6.5 that kills a processes by name that's been running longer than 5 minutes. I asked this question before and received a response that doesn't work under ...
6
votes
3answers
4k views

How can I redirect an already running process's stdout/stderr?

(Running on an Ubuntu 10.04 64-bit server) Yesterday, I made the mistake of starting a process (which I didn't realize was going to take several days to run) over SSH without using screen. I've ...
0
votes
3answers
88 views

how to run the dialog command with proccess

Please look on my code – ( bash script ) I want to display both dialogs on the screen on the same time, one dialog display the: tail –f from - /var/log/proccess1.log , and the second dialog ...
0
votes
1answer
99 views

Kill any GS process that's been running for over 5m on CentOS 6.5

Hi our server has a weird issue where once a month or so a GS (GhostScript) process gets stuck and eats 10-75% CPU until I kill the process. strace hasn't provided anything useful so until I can ...
2
votes
1answer
15 views

How can I determine exactly when a startup process loaded in relation to other processes after logging in?

Windows 8.1 I have an end user system that requires certain software/processes to start in a specific order upon logging in. These processes aren't managed services so I can't set an extended delay ...
1
vote
4answers
9k views

Getting full path of executables in ps auxwww output

Consider the following lines from a "ps auxwww" output: USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 4262 0.0 0,1 76592 1104 s005 Ss 10:02am ...
0
votes
0answers
72 views

Git best practice for having development test and production and promotion between them

I am not quite sure the best architecture for having a development, test and production environment and being able to promote releases from one to another. Don't know if that is enough information ...
0
votes
1answer
116 views

Restarting shell script with &disown using Monit

I have a shell script that runs a C++ backend mail system (PluginHandler). I need to monitor this process in Monit and restart it if it fails. The script: export ...
0
votes
2answers
87 views

Changing process priority in linux for jvm process

Is it fine if I change the JVM process priority through nice at server machine [linux]. I wanted my JVM process to use maximum resources from OS. What is the standard practice? Do people tune the ...
0
votes
3answers
380 views

Automatically Kill/Restart Process(es) When Memory is Critically Low

I have a Debian Wheezy VPS box where am running a couple of Django apps in production. Ideally, would have tried addressed my current memory footprint issues by optimizing the apps, adding more RAM or ...
5
votes
4answers
243 views

Process monitoring services

I'm looking into different services that help keep processes up and running (auto-restart in the event of a crash). Which ones do you prefer and what are your commends/suggestions? Here are a few ...
1
vote
2answers
269 views

Kill all currently running cron jobs

For some reason my cron job scripts aren't exiting cleanly and they're backing up my server. There are currently a couple hundred processes running for one of my users. I can use the following command ...
2
votes
2answers
882 views

Kill PHP process when connection is closed

I've posted the following question to SO, but thought there might be a server based solution. http://stackoverflow.com/questions/9053964/php-script-with-sleep-does-not-exit-on-connection-close I'm ...
12
votes
2answers
2k views

Linux/Debian - What does 'pee' in moreutils do?

I recently discovered the 'moreutils' package in Debian (and Ubuntu). It's a collection of convenient unix tools. One of the commands is 'pee'. The man page says: pee is like tee but for pipes. ...
0
votes
0answers
92 views

Phantom apache2 process with memory leak

When I start apache2 using sudo service apache2 start, it spawns a 'phantom' process that doesn't show up in apache2ctl fullstatus at all. It's using the prefork MPM and my MaxClients as well as ...
0
votes
2answers
465 views

Get processes running on a specific CPU core

mpstat -P ALL shows high %wa time on a single core from an 8 core CPU and I'm trying to figure out what's writing to disk. So how can I figure out what is running on that CPU core?
0
votes
1answer
137 views

Periodically SSH process hangs on AIX

On one of our AIX servers, the following ssh process hangs sometimes: Server1# ssh -i /rsync-key Server2 "rm file" & It is a string of script in the crontab. This problem is not always ...
0
votes
1answer
552 views

How to find parent process for child process if parent process is terminated

Is there a way to find out which process started a other process even after the parent process is terminated? I tried to find something in the Win32_Process class via PowerShell but I did not find ...
0
votes
1answer
41 views

Tomcat Process occupying lot of Memory in UNIX BOX, how to reduce

I am using a play framework webapplication calling webservices, all these applications are deployed in one tomcat/apache server, when in production box, multiple process are started for tomcat which ...
6
votes
4answers
1k views

Kill a process and force it to return 0 in Linux?

In the Linux environment, how can I send a kill signal to a process, while making sure that the exit code returned from that process is 0? Would I have to do some fancy GDB magic for this, or is there ...
1
vote
1answer
135 views

User Process Tracking, what is this? Numerous alerts with FastCGI

I have a CentOS VPS on Knownhost.com. I am using it to host one Wordpress site, that currently doesn't have any traffic (not launched yet). I was getting these process tracking emails (7 different ...
2
votes
2answers
2k views

Run Python script at startup using upstart

I'm trying to create an upstart script to run a python script on startup. In theory it looks simple enough but I just can't seem to get it to work. I'm using a skeleton script I found here and ...
0
votes
2answers
108 views

Apache Causing High Load on Server

Whenever Apache kills child process to create new ones after the MaxRequestPerChild is satisfied, I see Defunct Apache processes in the ps output. There defunct processes clear by themselves in a ...
0
votes
2answers
5k views

Apache: graceful kill fail, sending SIGKILL. How much is too much?

On Apache/2.2.15, is it normal to have one or two "[warn] mod_fcgid: process XXXXX graceful kill fail, sending SIGKILL" per day? After all it's a warning, not an error. Thanks
7
votes
1answer
446 views

App Pool doesn't respect memory limits

I am dealing with a legacy .NET app that has a memory leak. In order to try and mitigate a run away memory situation, I've set the app pool memory limits from anywhere between 500KB to 500000KB ...
1
vote
4answers
315 views

How to make a copy of /proc/xxxxx? [closed]

A users account have been hacked on one of my servers, where the hacker have started some spam binaries. Before I kill the processes would I like to make a copy of them, but when I tar czf ...
0
votes
2answers
114 views

Is there a top like tool that shows processes and ports, live?

I'd like to be monitoring ports in "realtime" and the processes that use them. Is there any tool that can handle that? I imagine somethinkg like top, but with a column that lists all ports the process ...
0
votes
1answer
303 views

Kill child process when the parent exits

I'm preparing a script for Docker, which allows only one top-level process, which should receive the signals so we can stop it. Therefore, I'm having a script like this: one application writes to ...
3
votes
1answer
643 views

Process monitoring and service manager for Python web application [closed]

We're setting up a Python web application using the CherryPy web server on a bunch of Linux servers (it's behind an nginx load balancer sending traffic to the various servers). We're in the process of ...
0
votes
1answer
157 views

Unix processes wasn't killed but is not running

I have a system where some custom software is running, and then may receive a SIGHUP. As a result of the SIGHUP, the process does some cleanup and terminates, but it doesn't terminate its long running ...
4
votes
2answers
136 views

How to detect exceptionally long file locks in linux?

I have a point of contention on my linux server. One of a number of processes access a single file and lock the file at a random time for a considerable period (>60 seconds) which, in turn, causes ...