An instance of a running computer program.

learn more… | top users | synonyms

-1
votes
1answer
83 views

Server Consume 47 %of RAM [duplicate]

I have server dual core with 2 gb of RAM and 2 website with no many traffic and the RAM it´s to 47 % , i have simple web in html and one wordpress with only some informations and nothing traffic I ...
1
vote
1answer
835 views

How filter top output by the COMMAND column?

I want get the same result when pressing u to filter by USER, but instead using the column COMMAND and of course, I need this live (I mean, updating constantly) ;) I'm on Ubuntu.
0
votes
2answers
42 views

Find PHP process that logs to file [duplicate]

I have started a PHP script via browser and due to a loop error the script continues to be executed even after closing the browser. I am noticing it since the script is logging error messages to my ...
1
vote
2answers
985 views

If I know the PID number of a process can I know its name?

If I have the PID number for a process (on a UNIX machine), how can I know the name of its associated process? What do I have to do?
0
votes
1answer
47 views

Ways to manage a pool of scripts

I have a PHP script that waits for AMQP messages. When a message comes in it is processed and after processing is done it will wait for the next message. The problem is of course that this is ...
1
vote
2answers
785 views

Moving a process to and from swap [closed]

I've got several server-type processes on my linux server that use up 50MB of RAM. They are not constantly being used, and I'd like to be able to run more instances than my RAM capacity allows. I want ...
1
vote
2answers
188 views

assign batch jobs with one processor for each

I have four bat files and a four core machine. Is it possible to assign each run to each core i.e. 1 job for 1 core. Is there any way to control this with commands?
1
vote
2answers
486 views

auto start user(not root user) process on fedora boot

I have a VM running under Fedora OS. That VM has four users lets say(A, B, C, D). That VM has one process running under each user. So when that VM is rebooted, what should I do so that those process ...
2
votes
1answer
148 views

MaxClients keeps getting surpassed on web application server

I am running a web application on a CentOs 6 machine with 4 gigs of memory and 3 processor cores (Intel Xeon 2.9 Ghz). Every morning between 8.30 and 9.30 AM (which coincides with the time period ...
2
votes
0answers
115 views

Apache worker mpm, one process and many threads: understanding performance

Got a mod_perl-written serverside program. Im using shared apache worker mpm memory with one process only, and ~ 60 threads. Im using locks to temporary secure the access to the shared memory, just ...
1
vote
1answer
147 views

CMD.exe call command and process lifecycle/creation

I have 3 batch files, lets call them batchA batchB and batchC. I double click batchA which later has a call batchB and call batchC in the script. I only see one CMD.exe process when it runs, and the ...
0
votes
1answer
1k views

Minimal container ubuntu image docker like

I'm playing around with LXC. My goal is to run a single process within a container and I'm now focusing on processes running within my container. When I create a basic LXC template on ubuntu 12.04, ...
0
votes
1answer
222 views

Apache process races away (process size explosion)

I come here because I have searched and tried different optimization without finding any answers. We have a server with four websites hosted. The frequentation is not very high (we are sure that the ...
1
vote
2answers
4k 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 .... ...
-1
votes
3answers
630 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
1k 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
149 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
6k 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
2k 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
43 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
868 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
953 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
94 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
346 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
831 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
44 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
264 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 ---- ...
3
votes
2answers
4k 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.
1
vote
1answer
2k 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" ...
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 ...
0
votes
1answer
1k 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
40 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
403 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 ...
1
vote
4answers
371 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
178 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 / ...
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 ...
-2
votes
1answer
503 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
773 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.
1
vote
1answer
886 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
38 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
146 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
739 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 ...
2
votes
1answer
487 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 ...
4
votes
2answers
2k 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
323 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, ...
1
vote
2answers
2k 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
101 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
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 ...
-2
votes
1answer
45 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 ...