An instance of a running computer program.

learn more… | top users | synonyms

1
vote
2answers
2k views

httpd high cpu usage slowing down server response [duplicate]

my client has a image sharing website with about 100.000 visitor per day it has been slowed down considerably since this morning when i checked processes i've notice high cpu usage from http .... ...
-2
votes
2answers
417 views

Does killing proccess means free used memory?

I have the service, that each second run external exe programs (for example process1.exe) and kill's them. Taskmgr - show only one process. After running service i get minimal free memory ...
0
votes
3answers
538 views

Linux: How to know which process(s) are accessing my files?

I have a mounted partition, which I tried umounting and it's giving me an error. There is a chance that some process is accessing some files in that mounted partition. How do I know, which process ...
0
votes
1answer
118 views

How to track down sudden increase in process numbers (linux)

I find it pretty common for a Linux server to slow down to the point of complete unresponsiveness (LA 150+ etc), which when looking at it later using sar or munin or whatever it will show a sudden ...
1
vote
1answer
3k views

How do I know if the Linux server killed my process and which process it killed?

It seems my server killed a process due to it using too much RAM. Is this possible? If it can happen, how can I know when and what process it killed?
3
votes
1answer
948 views

Where do the Windows to a scheduled task go when the server runs them?

My server at work has some scheduled tasks that run every night. They run when no user is logged into the system. They run batch files which open MS-Access databases with macros inside. ...
0
votes
1answer
36 views

MySQL Process Big

Ok, so I don't know if this is a repeat question so I'm sorry if it is (I couldn't find anything like it after searching =/) My server seems to be running what seems to me a larger than normal mysql ...
1
vote
1answer
376 views

Apache / PHP memory limit exhasted when rendering report with dompdf

I'm developing a web application, and using a typical lamp stack. I'm using dompdf to generate some reports to pdf. In one case, I have a simple table list (think list of clients) with some simple ...
1
vote
1answer
561 views

Postfix server begins send spam immediately after starting

I've installed a postfix server on a debian OS & also I've installed apache 2.0 with PHP on same machine. Several days ago my server begun to send a lot of spam messages via postfix. I understood ...
0
votes
1answer
68 views

request tracker 4 running standalone and number of child processes

I'm running request tracker 4 standalone, which means with not any http server in front. My problem is that once I launch the server as in: /usr/bin/perl -w ...
1
vote
1answer
219 views

What could cause a PHP script run as a cron job to end up in D state?

My server is running Ubuntu 12.04 LTS (precise) and I'm having a weird issue. The server is hosting a large website which is used for data collection. The website is in PHP and uses Zend Framework. ...
0
votes
1answer
337 views

How can sleeping processes in “top” be using a percentage of CPU?

When we run top we occasionally see a sleeping, "S", process which is using %CPU; I would expect all sleeping processes to use 0% CPU since they are not active. I would expect only running, "R", ...
0
votes
1answer
42 views

How do I restart a process someone else is using

I'm pretty new to ops so please don't mind if use the incorrect terms. I have a program that runs on another box. I need to restart the program after I deploy code to it, via capistrano. I tried ...
0
votes
1answer
148 views

How to get process not responding on remote server with Powershell

I don't understand, responding is empty on remote serveur. Get-Process explorer -ComputerName vcass1 | select name,id,responding Name Id Responding ---- ...
2
votes
2answers
3k views

What are the taskkill.exe exit codes?

Is there a list of known exit codes (errorlevel) for TaskKill.exe? Does this vary with the Windows version? I'm mostly concerned with Windows 7 and server 2008r2.
0
votes
1answer
1k views

How do I prevent a nohup process from being killed when ssh connection fails

I'm having an odd problem. I have a server process that gets started with nohup, and persists across logout and re-login just fine. However if I leave myself logged in and then get the "broken pipe" ...
1
vote
1answer
579 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 ...
0
votes
1answer
668 views

Count how many rsync process are running on unix machine

I am using Unix machine $ uname -a SunOS machine-name 5.10 Generic_127112-11 i86pc i386 i86pc How would I get the number of rsync process running on my unix box. I tried $ ps -ef | grep rsync ...
-1
votes
1answer
32 views

Tracking down high CPU core utilisation

I have a system with 24 cores and for some reason only the first core is at 100% utilisation while the others are in the range of 20-25%. I would like to get all processes that are running on the ...
0
votes
1answer
271 views

Comprehensively List HTTP Requests (IPs, URLs, etc)

Is there there a way to show a list of apache/httpd processes with their pids and some information about the request? Like request url, any params, domain, internal/external IP address, etc. I've ...
0
votes
3answers
212 views

Why “jobs -p | kill -n 15” doesn't work?

I'm very new to Linux. And as a matter of fact I use Cygwin now and not Linux itself. I'm trying to install RVM (Ruby Version Manager). I was doing rm -r ./.rvm -i command. I wanted to remove .rvm ...
0
votes
1answer
133 views

Server processes stall for a few seconds, how can we find the issue?

We have a fairly large VPS running our custom server code (not web servers but game servers), at random times the server seems to stall for a few seconds, how can we track the down the thread / ...
0
votes
2answers
2k 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 ...
0
votes
0answers
61 views

SQL, Installation process, my.ini [duplicate]

Recently i decided to install apache + php + mysql separately from each other instead using one of the packets such as wamp,xampp,zend server,etc..., So far i installed apache server with php engine, ...
-2
votes
1answer
370 views

chkconfig vs /etc/inittab

I had a look at what chkconfig and /etc/inittab - from what I could see both does the same something. If I am wrong, what is the different and which one I should use for specific requirement?
0
votes
3answers
220 views

find command from PID

Is it possible to find the command line of a running process with its pid? the output of /proc/pid/cmdline seems that it removes the space character to it is hard to read the output.
0
votes
0answers
186 views

Top shows md127_raid1 with high CPU load?

I have a new server, when I use "top" to see busy processes I usually see md127_raid1 either at the top or close to the top What is this process doing? How can I easily verify that the raid is ...
1
vote
1answer
626 views

How to get /proc/[pid]/cmdline to contain command arguments?

I am running into an issue where some of my Ubuntu/Debian servers do not show the arguments passed to rake in either top or ps. I have tracked this problem down to a variation in output given by ...
2
votes
1answer
37 views

Ensure an application starts logged as a user in a server

I need to ensure an application run on a server alway, as a service do, but for some reason I can't create a real window service. I would like to have this app running as an user with its own desktop ...
-5
votes
1answer
110 views

how do I kill these from ssh? [closed]

root 813251 813235 0 Feb02 ? 00:00:00 /bin/sh -c /usr/bin/test -x /usr/local/cpanel/scripts/update_db_cache && /usr/local/cpanel/scripts/update_db_cache root 813265 813251 ...
0
votes
1answer
619 views

mod_fcgid error tied in with server lagg?

im relatively new to running my own server and my host don't seem to be giving me up advice or help on the matter either. I run a very popular website and after doing some twitter and fb posts to ...
1
vote
1answer
248 views

Is it possible to get zombie process exit status from shell?

If i execute 'ps' command in shell, i can get some processes marked as '' - they are exited, but parent process don't receive they exit status yet. Sometimes, while debugging network apps, i need to ...
3
votes
2answers
729 views

Rotate a file that's open and being written at all times

I have an linux application that continually writes logging information into a log file, eg. /var/log/application.log. As the application does not rotate the file automatically, this log file can ...
0
votes
4answers
206 views

Grant permission to manage another users processes

I have userA and userB who start processes: userA@server:~$ ./some_command.sh & [1] 30889 I then have a web app running as userC that manages those processes (suspending, resuming, terminating, ...
0
votes
0answers
600 views

apache restart: could not bind to adress 0.0.0.0:80

I have a very interesting symptom on one of our webservers. We have a watchdog running, that restarts the apache Process when it hangs. But apache is not able to restart. If i try restarting it ...
1
vote
2answers
872 views

how to see process status with full details

I run the script - my_script.ksh as process with 5 long arguments on my solaris/linux machine ( example 1 ) , Later I verify the process by ps -ef | grep my_script.ksh I don't understand ...
0
votes
1answer
72 views

Interfacing strace with Process Name instead of PID

How do I implement a wrapper script pstrace in bash that changees the interface of [sudo] strace -c -p [PID] to [sudo] pstrace -c -p [PROCESS-NAME] similar to how killall [PROCESS-NAME] is ...
3
votes
1answer
2k 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 ...
-2
votes
1answer
41 views

starting a process unix

When issuing the following command: ps -ef | grep queue I get a list of 5 processes running. root 10001 1 0 2012 pts/5 02:22:04 /usr/local/perl/bin/perl /usr/local/cpi/sss/enroll_req ...
0
votes
3answers
83 views

Server Lifecycle But Still Providing Unidentified Services [closed]

I have this older HP ProLiant server that needs to be lifecycled, but there are still some services that are apparently running on it. There are only a few workstations that are being serviced by this ...
0
votes
1answer
120 views

Is there a benefit to managing programs with a process manager instead of with init.d?

I'm using Redis, Memcached, and Nginx, to be specific, and Supervisor as the process manager, but any general information is helpful as well. Each of the aforementioned programs when apt-get ...
2
votes
1answer
1k views

Cron jobs running twice - Ubuntu server 12.04

I have a couple of simple cron jobs running under root. However, they seem to be running twice, and I can't figure out why. No other users have any cron jobs running and the the only cronfile is for ...
2
votes
1answer
188 views

Overhead of many php-fpm processes on Linux?

I'm migrating the configuration of a webserver that runs PHP applications using PHP-FPM behind nginx. The server has about 40-50 (and growing) vhosts on it. The server is a single CPU VM with 1GB of ...
3
votes
2answers
2k views

Server freeze restarted quickly so how do I find what went wrong?

I have a SQL SERVER DB running on a windows server 2008 (VMWare) Yesterday I could not RDP to it so I ended some RDP sessions which were left logged in. This seemed to solve the problem. However last ...
-1
votes
1answer
763 views

Why are my uWSGI processes dying immediately?

I'm using Supervisor and the uWSGI Emperor mode. When I set limit-as to 512 (MB), workers die instantly (respawn, die, respawn, die, every 3/4 of a second or so): [uwsgi] workers = 4 threads = 40 ...
2
votes
2answers
592 views

My linux server “Number of processes created” and “Context switches” are growing incredibly fast

I have a strange behaviour in my server :-/. Is a OpenVZ VPS (I think is OpenVZ, because /proc/user_beancounters exists and df -h returns /dev/simfs drive. Also ifconfig returns venet0). When I do cat ...
1
vote
3answers
821 views

linux/solaris kill many proccess with one command

Is it possible to kill all find process with one command? I do not want to kill each process as kill -9 25295 , kill -9 11994 , etc.. Rather, what I want is a simple way or command that kill all find ...
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
1answer
76 views

Linux released memory

If My process allocates some big memory and then deallocates, would top or gnome-system-monitor show that my memory usage of that process decreased ? or kernel will still reserve that memory for that ...
-2
votes
2answers
147 views

Ignoring fork-bomb in Ubuntu [closed]

I got an homework assignment to write a program that checks how many process a user can create (working in Ubuntu). I wrote the code which seems fine in theory. The problem is that when I run it, the ...