An instance of a running computer program.

learn more… | top users | synonyms

1
vote
1answer
26 views

Estimate RAM necessary for a process on Linux

I am a user of a Linux-based computing cluster that runs a task queuing system PBSPro. PBSPro likes to know how much RAM should be available for a task to make sure it will execute correctly; for ...
1
vote
3answers
997 views

Linux process monitoring daemon

I'm often issuing commands that take some time. For example downloading something using a console download app. If I want to be noticed when the command has finished, I usually do something like this: ...
6
votes
6answers
10k views

Find (and kill) old processes

Basically I need to be able scan the process tree and find processes that match a certain name and started running more than a week a go. Once I have them, I need to kill them. All the processes are ...
0
votes
0answers
38 views

Nginx/PHP5-FPM master process - high CPU usage

I've been having some weird issues with PHP-FPM and high CPU usage from the master process. I normally have CPU spikes from traffic since we have a lot of websites but I also run heavy caching with ...
-1
votes
0answers
54 views

Running Internet Explorer 11 32 and 64 bit simultaneously in Windows 7

I have a web application whose developers says should only be used with IE11 in 64 bit mode due to large memory footprint. I have other web applications/plugins which are untested/incompatible with ...
1
vote
0answers
19 views

starting a system with constraints using systemd

I have a large system that consists of multiple processes and docker containers. I would like to have the system initialized by systemd but I have several constraints between the processes: There ...
0
votes
0answers
6 views

Apache write access to a SMB Share

Apache server can follow symlink, i've tested it in the local filesystem and all worked fine. So the problem is in the SMB share. I authorized the user ApacheSLINUX01 to be the one who have the full ...
0
votes
0answers
11 views

How can I debug frozen processes on Linux?

I'm running an ArmA 3 game server on my Ubuntu 14.04LTS box. Ever since the box was moved to a new data center, the game server has been plagued by a random freeze issue. When this happens, the ...
-2
votes
2answers
51 views

Java process stay in running state and consume CPU

I have a jar running in background on a Ubuntu server. In a certain moment, the application start consumming too much CPU (400%) and 4 child process stay in R state: N.B: the problem is ...
6
votes
14answers
19k views

How do I kill processes older than “t”?

First, yes I have seen this question: http://serverfault.com/q/71360/14428 The answers there are incorrect and do not work. I have voted and commented accordingly. The processes I want to kill look ...
1
vote
1answer
13 views

Methods for monitoring and alerting data issues when dealing with complex dependencies

In this hypothetical example, we have a data flow across multiple engineering teams in an ecommerce company. These teams deliver services, produce data, and consume data at different points of the ...
3
votes
1answer
36 views

Zabbix: Monitor child spawn rate

We have set up zabbix to monitor our infrastructure, and our security team denied us to run custom scripts through zabbix. This makes our lives a bit harder to find solutions which don't require ...
0
votes
0answers
23 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
0
votes
1answer
38 views

PHP exec() over UNC path on Windows

My environment is Windows Server 2012 R2, IIS 8, Active Directory, and a file share. IIS, AD, and the file share are all separate VMs. I have a website, www.example.com, set up in IIS. The ...
7
votes
5answers
4k views

Bash snippet for killing a process until it's dead?

I'm trying to write a robust bash script, and in it I create a background process. At the end of the script, I want to kill it. I have it's PID. I was thinking of somthing like this while [[ ps ef ...
1
vote
2answers
1k views

Monit http-based API

I'm just wondering whether monit has an API, which we could poll-regularly (perhaps something that is http-based) ? It would be very useful to create an integrated monitoring solution across multiple ...
1
vote
2answers
4k views

FTP/IIS Error: The process cannot access the file because it is being used by another process

In IIS 7.5 When trying to get current log files using CMD FTP client it gives error 550 error: "The file cannot be accessed because it is in use by another process" Checked processes using procmon ...
1
vote
4answers
76 views

10 min. bursts of CPU usage: how can I find out which processes are the cause?

The CPU usage graph above was generated by running psensor overnight on my linux box. Note the 10 minute bursts of activity consuming up to 40% of the Xeon. The machine ought to have been at idle ...
-1
votes
1answer
55 views

CentOS suspicious process

One of my web server is running on CentOS and I have been spotted that one of the processes is taking almost all swap memory. Mention process is: /opt/opsware/agent/bin/pyton ...
0
votes
1answer
20 views

Jira/Confluence hogging memory with lots of processes

We've been working with Jira and Confluence on a Debian 6 VPS for a while now. Everything is fine as far as their daily use is concerned. The issue we are encountering now is that occasionally, the ...
1
vote
1answer
52 views

Oracle invoked oom-killer even when RAM and SWAP is plenty free?

Can you please tell me what cause this Oracle process killed? Seems like plenty of RAM free, and plenty of SWAP free. There followed few other oracle processes killed. The VM has the 16G of vMem and 8 ...
0
votes
2answers
1k views

Supervisor - how to get a program to run at intervals of time

Perhaps I'm misunderstanding with Supervisor does, but perhaps me asking this question will help clear that up. Basically, I have a Supervisor program in my /etc/supervisord.conf file that executes a ...
3
votes
1answer
46 views

how to access to lost process? [duplicate]

Let's assume I run putty on windows and connect to Debian Jessie remotely. I run Midnight commander, and run long term task. Than got power loss on Windows, so putty connection is lost. Of course I ...
2
votes
1answer
151 views

Why is this process refusing to quit?

I have a cron job that runs a shell script that executes a php script. It runs every day, sends some email, and writes to stdout (which is redirected to a log file in the shell script). It looks as ...
-2
votes
1answer
54 views

How can we get IO utilization for Process by Process ID using /proc directory? [closed]

I need to IO utilization for Process by Process ID without using any tool like iostat,iotop etc. Can any please help me to get IO utilization using info files using /proc/PID? Thanks in ADV.
1
vote
1answer
29 views

How to exit all supervisor processes if one exited with 0 result

I run docker container with supervisor like this: Dockerfile CMD ["/run.sh"] run.sh #!/usr/bin/env bash exec supervisord -n supervisor-serf.conf [group:job] programs=serf,producer ...
41
votes
6answers
8k views

How to prevent “ps” reporting its own process?

$ ps | grep django 28006 ttys004 0:01.12 /usr/bin/python bin/django celeryd --beat 51393 ttys005 0:01.45 /usr/bin/python bin/django celeryd -l INFO 51472 ttys005 0:01.29 /usr/bin/python ...
3
votes
1answer
3k views

How do you force a process to flush the data written to an open file descriptor under Linux?

I have a binary process (with no sources available) running on an embedded Linux system. The process opens a log file (/tmp/dmaosd.log) where it logs what it's doing. The problem is the log gets ...
105
votes
9answers
54k views

Environment variables of a running process on Unix?

I need to troubleshoot some problems related to environment variables on a Unix system. On Windows, I can use a tool such as ProcessExplorer to select particular a process and view values of each ...
0
votes
1answer
47 views

printing a children's full tree recursively in bash script

sry for not being familiar with question conventions since im new here. i want to write a script that prints the full children's tree recursively of a given pid. i got so far as: ps h -ef | awk ...
-4
votes
1answer
63 views

Linux Server Memory: Is this enough?

One of (weblogic)process on my WAS server(redhat linux) is killed at last night. There is no log. so I doubt my system memory. Is the system or process has enough memory? server specification and ...
3
votes
1answer
75 views

How to find what processes were running at a time in the past?

I am asked to investigate a high CPU usage alert which occurred this morning. I used sar -p and saw the high CPU usage showing up at that time Next I used ps -eo pcpu,pid,user,args | sort -r -k1 | ...
-3
votes
1answer
39 views

How can I close httpd open conncetion? [closed]

I have a lot of open connection of httpd and ram usage, how can i solve this?
0
votes
1answer
19 views

YouTrack java process started to disappear on VPS

I had YouTrack installed on my VPS, and lately it just stopped working. Installation method I used is described here: ...
13
votes
4answers
32k views

Is there an equivalent command for 'init.d/networking restart' in OS X

From time to time, I've encountered issues with OS X clients' network connections (Wired and Wireless, Leopard/Snow Leopard) where nothing will fix the issue, until you reboot. Is there a ...
26
votes
5answers
68k views

How do you free up a port being held open by dead process?

A colleague of mine recently ran into a problem where a process that had supposedly died was still bound to a network port, preventing other processes from binding to that port. Specifically, netstat ...
0
votes
1answer
53 views

init / inittab respawn (count number of times it occurs) [closed]

I added the following line in my /etc/inittab to respawn a program if it crashes. #test must always run. aa:2345:respawn:/home/pi/test/test Is there a way to know how many times the init/respawn ...
14
votes
4answers
6k views

Do background processes get a SIGHUP when logging off?

This is a followup to this question. I've run some more tests; looks like it really doesn't matter if this is done at the physical console or via SSH, neither does this happen only with SCP; I also ...
0
votes
1answer
35 views

kill tcp port binding by deleting proc/[0-9]/net/… in linux

I have a script to call syscall Kill the process that holds a certain TCP port in Linux (ubuntu). But even if I do that, sometimes the port still remains in /proc/[0-9]/net directory binding the port. ...
0
votes
1answer
124 views

Set CPU affinity for all processes of specific user with taskset

I have ubuntu server 14.04, and I'm wondering if there is any easy way to achieve this task. For example, I can already do this for single processes with taskset -pac 2 29435, but is there any way to ...
3
votes
4answers
377 views

Rogue processess in linux

I'm running Apache on Linux server. I have noticed the following processes running which I am not expecting to see, and appear rogue. Can anyone please advise me what they mean? Running ps aux | ...
0
votes
1answer
19 views

Source of long running find process on server

I'm wondering where a long running find process on my ubuntu linux server (14.04 LTS) came from and what the meaning of it is. Here is the output of ps: 16915 ? SN 32:41 /usr/bin/find /tmp ...
2
votes
1answer
1k views

List environment variables of a running process on AIX without character limit

Today I was trying to debug an issue where a process was not picking up the correct environmental variable. It took us hours before we realized that it wasn't picking up the correct variable. I tried ...
23
votes
6answers
57k views

Dump a linux process's memory to file

Is it possible to dump the current memory allocated for a process (by PID) to a file? Or read it somehow?
2
votes
3answers
2k views

/proc/pid/environ missing variables

google is giving no love on this one today, so I turn to the experts... I'm currently hacking together a script that relies on the /proc/pid/environ feature in Linux (RHEL 4) to check for a ...
7
votes
2answers
34k views

What is a Process Handle?

What is a process handle and what can we know about a running process through the "handle count" property in a task explorer?
0
votes
1answer
40 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 ...
3
votes
4answers
1k views

Which is better — single high speed processor or double lower speed processor?

I'm looking forward to buy a Dell PowerEdge Tower server, that would cater to a low or moderate expected load, at least for the time being. I have a question about it's processor -- whether it is ...
0
votes
0answers
32 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 ...
3
votes
2answers
260 views

Killing Parent and Child processes on Remote with Powershell

I'm attempting to kill a parent process and it's child process (There will only be one child) on a remote computer. When executing this script (Which is part of a larger one) i get the following ...