An instance of a running computer program.

learn more… | top users | synonyms

1
vote
4answers
3k 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
358 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
150 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 ...
2
votes
1answer
3k 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
320 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
1k 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
6k 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
93 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
240 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
408 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
4k 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
360 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
254 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
291 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
453 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!
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. ...
0
votes
2answers
525 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 ...
36
votes
5answers
5k 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
7k 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
717 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
626 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
663 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
446 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
47 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
3answers
1k 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
878 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
718 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
218 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
342 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
258 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), ...
1
vote
4answers
222 views

apache2 is not running but it listens at port 80

I made an image of one of my private Amazon EC2 image that runs one website, then started installing redmine. After all the installation is done, it is about to restart Apache I encountered the ...
2
votes
1answer
306 views

What does the leading dash in process cmdline mean?

I noticed a process taking full CPU on my linux server, of which the COMMAND column from top -c is -bash. cat /proc/<pid>/cmdline shows -bash too. What does the leading dash mean? More info: ...
3
votes
3answers
2k views

Assigning Processes to CPU Cores

I have access to a CentOS 6 web server (a PHP/MySQL forum) running Apache 2.2.15 and MySQL 5.1.52. This box has dual oct-core Xeons. What I find looking over the CPU graphs is that the first two ...
1
vote
2answers
2k views

Apache Server overload / Fake Processes?

My webspace provider is telling me that there are fake processes coming from my space and thus he has shut it down. So all my domains are also unreachable at the moment. He doesn't really know what ...
1
vote
3answers
1k views

Linux Stealth Process

I have a process named "stealth" that has infected my server (slamming my CPU) and I can't figure out where it is to remove it for good. Everytime I kill the process it somehow starts itself again... ...
0
votes
3answers
323 views

throttle cpu usage for a cronjob

I've got a cronjob that is basically nothing more than mysqldump whatever | gzip > backup.sql.gz. The database is fairly big. I've noticed that while the job is running, my apache is much less ...
0
votes
1answer
156 views

How does a packet traverse from one local process to another local process in the following iptables graph?

I've found the following iptables chart: How does the packet traverse iptables tables when the packet is sent from one local process to another local process? Regards.
2
votes
0answers
235 views

Linux equivalent of OS X “Launchd”, with respect to use by non-root users?

Is there a good way for non-root users to start "managed" processes? In this case, I am using managed" to describe a process that starts up when the user logs in, is monitored by some sort of ...
1
vote
1answer
438 views

Apache processes are not ending

I have KeepAlive on with 15 second timeout enabled. But processes are not ending. And it causes big number of apache processes which ends with server freeze. The only option is to hard reset server. ...
0
votes
1answer
179 views

Monitoring PHP process on CentOS 5.5

I want to monitor a php process activity because sometime it keeps hanging there for a day although I have set time limit but it seems like its not working. I setup a cron job which runs this PHP ...
0
votes
1answer
89 views

Closing Registry files with Process Explorer

I have a user account which needs to be renamed on a production server running Server 2003. The ntuser.dat and ntuser.dat.log files on a service account (not logged in at the moment) still have ...
7
votes
1answer
1k views

Verify disown command

I issued the ^z; bg; disown sequence in order to allow me to close an ssh session in which I am running a super-important long-running process. This process writes status output to stderr, and it has ...
-4
votes
1answer
36 views

How can I know which are my rights [closed]

On a fedora server, I have access to the cli. On that server I have a webapp which generates some pdf files using a php library through some ajax request. The problem is that one of the apache ...
3
votes
2answers
2k views

How to Identify Port to a Process?

I'm running a RedHat 5.5 and I was wondering how I can identify a port to a process. This is the output of netstat and I am trying to find the process associated with port 35670: $ netstat -tulnp ...
0
votes
1answer
69 views

Mysql multi request at same time

I have a Ubuntu-server. It is running Mysql & Apache. I have several request at same time. I I saw processes, by top command. I have 10 Apache process and always one process for Mysql. I ...
3
votes
1answer
645 views

Which tool provides per-process (or per-cgroup) resource (RAM/CPU/Disk) monitoring?

I want to have graphs about the percentage of CPU usage, RAM usage, Disk usage which is caused by specific processes (or process groups, or cgroups) on my server (running Debian). The tool needs to ...
1
vote
2answers
521 views

Apache Connection vs. Request

I apologize in advance if this is a basic question, but I am quite confused after reading the Apache documentation and other tutorials. Does a single Apache prefork process serve all HTTP requests ...
1
vote
1answer
221 views

Process killing trouble

I am trying to program a server software which involves a lot of testing on java / scala platform. Whenever i compile and execute the code. It starts listening on port 80. Sometimes i need to ...