An instance of a running computer program.

learn more… | top users | synonyms (1)

1
vote
1answer
113 views

why there are three(it should be two) process related to screen when using ps command?

you can see there are three processes which are related to screen command: [world]$ ps auxf USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND hugemeow 28938 0.0 0.0 66080 ...
1
vote
1answer
284 views

Replacing stock dnsmasq with optware dnsmasq

This question if for DD-WRT installed on e3000 with optware. I have replaced the stock dnsmasq to get logging, using this: http://www.dd-wrt.com/phpBB2/viewtopic.php?p=660694 I installed optware on ...
0
votes
0answers
127 views

unmount failure because of process in D stat

Please suggest me how I can create a process in D (uninterruptable sleep) stat on mirror disk. Actually there is some bug in other code, that process some times create a process with D stat on MD and ...
1
vote
1answer
1k views

How do i set a cronjob to use less CPU

I'm managing a server witch host several ruby on rails websites. I need a cron job for every website that does : send emails (notifications) create thumbnails Unfortunatly, every time the cron is ...
0
votes
1answer
236 views

Sending signals to running Upstart job

How can I send signals or events to a running Upstart job? I run a Node.js HTTP server with Upstart as a daemon and sometimes need to put it into maintenance mode for backups and stuff. I'd like to ...
0
votes
0answers
65 views

please assist me debug a stack trace

I am having an issue on a windows 2003 terminal server, where the system process is using a constantly high amount of CPU. I believe that it is the srv.sys that is causing an issue, but not quite ...
0
votes
1answer
1k views

process ksoftirqd consumes permanent 15% CPU load [duplicate]

Possible Duplicate: Anyone else experiencing high rates of Linux server crashes during a leap second day? The process ksoftirqd/0 uses permanent 15% CPU on our debian squeeze server. 4 ...
4
votes
1answer
217 views

Apache HTTPD process cumulative cpu time

How can I aggregate all Apache HTTPD processes' CPU time usage to be able to compare them with other running processes' (MySQL, Java, ...)? Or how much CPU time does HTTPD needs compared to MySQL for ...
4
votes
1answer
90 views

How to lock a process in RAM (make it unswapable)

Is there a way to instruct the kernel (Linux kernel) to never swap a certain process that has already been started?
1
vote
1answer
532 views

Windows 2003-R2-Server: Process “System” takes large chunks of CPU time

I have a domain controller running 2003 R2. The server behaves very well when restarted daily, however, each day it is not restarted, there's a process called "System" that takes enourmous chunks of ...
0
votes
2answers
233 views

Shell Script Launching Child Processes

Disclaimer: I'm totally new to shell scripting, but have quite a bit of experience in other languages like PHP and Obj-C. I'm writing my first daemon script. Here are the goals: I want it to run ...
1
vote
1answer
153 views

How can I find out the path to a chrooted environment in which a particular daemon was started?

I have a setup with several directories where I can chroot and start the same daemon from. I'd like to be able to tell from which of my multiple directories I started the daemon. I'd like to find it ...
1
vote
2answers
470 views

PSKill does not run from VbScript

We have a site on our local IIS6 Windows 2003 server that occasionally locks up, and we would like a VbScript to kill the process. It is located in the system32 folder. I'm running these tests on ...
1
vote
1answer
62 views

How to keep log / keep record of one particular Process

In my Task Manager, there is one process (.exe) I want to keep log or keep record of that process i.e how much cpu % it is utilizing for a particular time \ Day. for example :- abc.exe process Can ...
1
vote
2answers
629 views

Apache's “OPTIONS * HTTP/1.0” running 100% CPU - Runaway httpd process

I have this recurring issue where an httpd processes will randomly start running at 100% CPU. Often other httpd processes will join in, and it will continue until I restart Apache. Oddly, the thing ...
2
votes
1answer
573 views

Word 2010 creates multiple processes… sometimes

I've run into a strange behavior when I migrated our users from Office 2007 / Vista to Office 2010 / Windows 7 (all 32-bit). They use a web based document management system called NetDocuments which ...
6
votes
4answers
722 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
4answers
2k views

Is there any log in SuSe Linux that tells if a machine hangs due to a runaway?

I have a SuSe Linux server that is hanging due to unknown issues, I'm to the point of wondering whether there is a runaway process being run every now and then that is causing it to hang. The issue ...
1
vote
3answers
1k views

Is there a way to automatically restart MySQL, if it takes up too much processing power?

Due to some bad scripting on my part, MySQL sometimes goes haywire - taking up a lot of CPU power (load average of more then 20 - I only have 8 cores)! When I restart it is all good again. So my ...
1
vote
1answer
275 views

Killing a single process from multiple processes under ntauthority

We currently have a few processes running with the same image name: w3wp.exe. One of them has a memory leak, so until the dev guys plug that we're wanting to run a scheduled task to kill the process ...
0
votes
1answer
129 views

Kill xfs_io processes

I have an EC2 instance running CentOS 5.6 86_64. I use xfs_freeze to freeze/thaw a file system before taking a snapshot. Normally this works great, but today it stopped working - the freeze operation ...
1
vote
1answer
2k views

pgrep/pidof usage for complex process names?

I am trying to use pidof or pgrep to be able to send a HUP to a process in my system. The problem is that I only want to kill the process with a precise parameter. This is the output of 'ps awx' ...
-1
votes
2answers
203 views

How do you run supervisord in foreground?

Is there a way to run supervisord itself in foreground mode? or is there another application that can run/supervise multiple applications and shut them down when itself receives a SIGTERM or ...
0
votes
1answer
852 views

RHEL/Apache - meaning of WCHAN=“semtim”

What is the meaning of WCHAN="semtim"? ps -ylC httpd S UID PID PPID C PRI NI RSS SZ WCHAN TTY TIME CMD S 0 25330 1 0 78 0 16168 170563 - ? 00:00:14 httpd R ...
0
votes
3answers
3k views

PID history of a process

What I want to know is PIDs that were assigned to a process before its last 2-3 restart. Scenario is after this particular process crashes, a log file is generated and PID of the process is ...
1
vote
1answer
81 views

Guideline for `nice` priority number?

I'd like a more systematic way for prioritizing my tasks with nice(1). Obviously 0 is "normal", 19 is "lowest priority" and -19 is "highest priority", but what about all the other numbers? If I have ...
0
votes
2answers
161 views

Utility to determine application (or process) that displayed a (hung) window? [closed]

Just curious if such a thing exists - I have a hung window on my screen (you know, the kind that 'captures' images of the last window that you move over it), and I was wondering if anyone knows of a ...
0
votes
1answer
402 views

Enable foreign users processes listing

how can I enable under Debian 6 to list the processes of a foreign user? I have the user nagios but this user can only list his own processes. Br
1
vote
3answers
3k views

How to check if a service (that listens on given port) is up & working?

OK, so lets say I have a Nagios setup that monitors different services using the so-called nagios-plugins. What would be the best practive for my nagios plugin (probably written in python) to ...
1
vote
1answer
297 views

Running multiple background Java processes on Linux

I have a jar file that runs continuously and acts on various events. I need to create multiple instances of this jar, passing parameters to it on start up, and have it continue to run between shell ...
0
votes
1answer
208 views

Windows shutdown processes termination sequence [closed]

Do you know the Windows shutdown process is implemented? Does it has some criteria to avoid inter-process communication problems between child and parent processes? This question originated from an ...
2
votes
2answers
280 views

Apache Running Processes

Ok I host a website through a VPS with 1&1 and I'm worried about running out of processes. From Parallels they have set a hard limit of 128 numprocs I have had some problems with my website ...
2
votes
1answer
415 views

How do you manage a team email account?

How do you manage a (tech support) team email account? Do you have any recommended resources for managing accounts accessed by multiple people? Thanks in advance!
5
votes
2answers
2k 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. ...
0
votes
0answers
194 views

Hight Threads in the LAMP server. Troubleshooting

So I was wondering around the web, and cant seem to find any decent Treads trouble shooting guide. Ans at the same time my server spiked yo 3k threads. So maybe someone could give me some tips, or ...
0
votes
2answers
447 views

Does PHP script itself count as a process?

My server has a limited number of concurrent processes (20) it can handle. To make sure I don't exceed I need to understand: When a user is waiting for a PHP script to finish loading, does the ...
32
votes
5answers
4k 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 ...
5
votes
4answers
3k views

What's a proper way of checking if a PID is running?

I have a .pid file, and I need to check if the process is running. So far I found two options kill -0 `cat something.pid` which prints out an error if the pid isn't running. I know this can be ...
-3
votes
1answer
615 views

Why does the httpd process consume so much memory? [duplicate]

Possible Duplicate: Server refuses to use swap partition I am using Linux with Koloxo panel for site management. My database server went down, and I think it happened because of a lack of ...
1
vote
5answers
469 views

How to execute a process on remote Linux machine without SSH?

How can I execute a process on a remote machine running Linux without SSH. Since the machine is scheduled to PXE-boot periodically, the SSH key will be changed and executing a process through a script ...
0
votes
2answers
581 views

Windows unkillable process: how to inspect?

I have this process which hangs on windows 2003, with no other clue regarding what caused the hang. The OS still works, but the process itself cannot be killed, and requires a reboot to go away. I ...
0
votes
1answer
356 views

PID of a command executed in bash

I need a linux / unix command that will execute another command and write the PID of the command it executes to a file... is there such a command? I am not looking for any scheme that puts processes ...
0
votes
1answer
36 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 ...
2
votes
2answers
738 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 ...
3
votes
3answers
1k views

Is there a lightweight way to start an application on a remote win7 machine from linux?

I am trying to find a lightweight way to start an application on a remote Windows7 machine from linux. The following are my boundary conditions: The Windows7 system is located in the same subnet ...
0
votes
1answer
727 views

How to set network interface affinity under Ubuntu Linux?

I have a multihomed linux box with 6 network interfaces that I'm using to run some tests of router hardware. I would like to be able to set "NIC affinity" (for lack of a better term) on an arbitrary ...
0
votes
1answer
640 views

Debian: sftp-server still running after removing vsftpd?

After i removed vsftpd from my new vserver with debian5, there is still some process called sftp-server running and managing ftp-connection. How can i turn that off? Where does it came from? ...
7
votes
3answers
198 views

How to safeguard a shell script against running out of control?

I've recently had an experience of writing a shell script which crashed a server (and damaged a partition) by consuming all resources. It was hooked up to a cron job, and it seems it took longer to ...
0
votes
1answer
266 views

linux + run script on other shell because script stuck - not return to linux prompt

In my Linux machine I have binary script (called transferNames.bin ) The problem is that when I run transferNames.bin with & script stuck and not returns to Linux prompt “#”, even if I wait 1 day ...
0
votes
1answer
198 views

How to figure out why a process is stuck

I am doing large DB imports on a Postgres instance running in a Proxmox 1.9 OpenVZ virtualized Ubuntu 11.04. For some reason, the executable that initiates and controls the import (or Postgres), ...