-2
votes
0answers
12 views

Killing Oracle frmweb processes with no jobs - with bash

I am looking for a script that will allow me to find frmweb processes that do not have any jobs and kill them. A few places, including superuser, have recommended monit, but that doesn't seem to be an ...
0
votes
1answer
25 views

Restarting shell script with &disown using Monit

I have a shell script that runs a C++ backend mail system (PluginHandler). I need to monitor this process in Monit and restart it if it fails. The script: export ...
0
votes
2answers
26 views

Changing process priority in linux for jvm process

Is it fine if I change the JVM process priority through nice at server machine [linux]. I wanted my JVM process to use maximum resources from OS. What is the standard practice? Do people tune the ...
0
votes
3answers
84 views

Automatically Kill/Restart Process(es) When Memory is Critically Low

I have a Debian Wheezy VPS box where am running a couple of Django apps in production. Ideally, would have tried addressed my current memory footprint issues by optimizing the apps, adding more RAM or ...
0
votes
2answers
56 views

Get processes running on a specific CPU core

mpstat -P ALL shows high %wa time on a single core from an 8 core CPU and I'm trying to figure out what's writing to disk. So how can I figure out what is running on that CPU core?
1
vote
4answers
293 views

How to make a copy of /proc/xxxxx? [closed]

A users account have been hacked on one of my servers, where the hacker have started some spam binaries. Before I kill the processes would I like to make a copy of them, but when I tar czf ...
0
votes
2answers
92 views

Is there a top like tool that shows processes and ports, live?

I'd like to be monitoring ports in "realtime" and the processes that use them. Is there any tool that can handle that? I imagine somethinkg like top, but with a column that lists all ports the process ...
2
votes
1answer
229 views

Process monitoring and service manager for Python web application [closed]

We're setting up a Python web application using the CherryPy web server on a bunch of Linux servers (it's behind an nginx load balancer sending traffic to the various servers). We're in the process of ...
4
votes
2answers
93 views

How to detect exceptionally long file locks in linux?

I have a point of contention on my linux server. One of a number of processes access a single file and lock the file at a random time for a considerable period (>60 seconds) which, in turn, causes ...
0
votes
2answers
139 views

Zombie processes still alive and working fine, but can't be killed?

Am I misunderstanding something, or should this not be possible? All my daemon processes are in zombie state after I tried to stop the control service: # ps ax | grep controller 13768 pts/11 S+ ...
-3
votes
2answers
59 views

unknown/deleted process running under apache [closed]

Here is out of ps aux| grep atd on my server. apache 1299 0.0 0.0 5328 2768 ? S 08:21 0:00 /usr/sbin/atd root 15407 0.0 0.0 4020 708 pts/3 S+ 11:02 0:00 grep atd ...
1
vote
3answers
50 views

Change disk used by a long running process

Let's suppose I have process that does long calculations (e.g. it's been running for days), it uses a disk as temporary storage to store intermediate results (for example mounted at /mnt and I want to ...
0
votes
1answer
512 views

Nagios check_procs returns wrong value when called from NRPE

I have added the following line in nrpe.conf of a monitored server say named myserver: command[check_mysrv_process]=/usr/lib/nagios/plugins/check_procs -c 1: -C java -a mysrv which works locally as ...
0
votes
2answers
54 views

All Process Stop Unexpected On Linux Server

I'm a running ubuntu 12.04 LTS server edition and two times in the pasts 48 hours or so the VPS becomes completely unresponsive. Nginx stops responding to requests. There is log activity sent to my ...
4
votes
2answers
209 views

Remove a zombie process from the process table

I've got an annoying zombie process that gets adopted by init, and it won't go away. I've read there is a way to create a dummy process, attach the zombie as a child of that new process and then kill ...
2
votes
0answers
55 views

how to move process from one namespace to other? [closed]

Is there any available method to move process/group of processes from one namespace to other in Linux? I mean methods via commands of some packages or it can be done via setns()? E.g. I have processes ...
0
votes
0answers
105 views

hald (HAL daemon) behavior analysis

We were looking at the behavior of HAL daemon on a Linux host (Ubuntu 12.04.2 LTS 64-bit). We looked at both its syslog and system calls (using strace). According to the documentation, HAL daemon ...
0
votes
0answers
12 views

How to call the proc_register() function/ execve()

Is there any way monitoring the calling of the function " proc_register"? so that each time a proc registery is called (ot there is a new process creation) i will get the notification/alert/other..?
0
votes
3answers
197 views

get notification when process starts running

I am trying to figure out a way to get a notification when one of my processes starts to run once again (i have tried monitoring the proc file but didn't succeed, monit doesn't handle getting the same ...
0
votes
1answer
178 views

change java process name

I am trying to change a java process name using the start-stop-daemon. When running the process without the daemon I simply add to the script: "exec -a kuku" And the java process name in the proc file ...
0
votes
1answer
81 views

using monit to monitor processes

i am trying to figure out how to use monit to get a notification when one of my processes starts to run once again. let me be clear- at first the process is running, stops to run and then runs again. ...
2
votes
0answers
123 views

How to find out cgroup of a particular process?

Is there any method to get cgroup of process? The only one package that I know (cgroup-bin), just provide some manipulations with cgroups and allow to change cgroup of process/list of processes, but ...
-2
votes
1answer
58 views

How do I see all processes start (both linux AND win)? [closed]

I have a situation in which I need to monitor processes starting. I have found lots of ways to see what processes are running at any given moment (e.g. by polling), but sometimes processes start and ...
0
votes
0answers
24 views

How lxc-console implements implementation of the process into container?

Let's assume that we have some host with containers on it. When I type lxc-console I can get access from host's cmd to container's cmd, so I want to know what exactly happens? I mean how lxc-console ...
0
votes
1answer
43 views

How Puppet handles manifests in terms of processes?

I want to find out how Puppet handles manifests: in master process or Puppet forks it to execute in child process? It necessary for me to know what exactly do puppet master while handling manifests, ...
0
votes
1answer
34 views

How to deny checking list of running processes?

How to prevent a user from checking list of processes started by another user ? In other words, how do I forbid a user to see which processes are running by another user ?
0
votes
0answers
72 views

Controlling Apache Tika with Supervisord

I am using TikaJAXRS on my server to process files, a part of Apache Tika project. I made a service wrapper to run it. So normally, I run it with service tikaserver start. But basically, the command ...
0
votes
1answer
49 views

How to know which user killed a process

Is there a way in linux to find out which user or which process killed another process? Maybe a log? I searched through /var/log and specifically on auth.log.* but I didn't find anything ...
0
votes
1answer
46 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 ...
0
votes
2answers
220 views

Moving a process to and from swap [closed]

I've got serveral processes (game servers) 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 ...
-1
votes
3answers
295 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
101 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
2k 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?
2
votes
0answers
434 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
2answers
86 views

Can many low priority processes have effect on speed of other higher prioritized processes on the server?

So here is the situation: We have a couple of linux servers which we use for our work. So one of the users has a script running (just for fun, no work), which distribute a ton of other scripts to all ...
0
votes
1answer
697 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
votes
1answer
30 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
216 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 ...
-2
votes
1answer
306 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
135 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.
-5
votes
1answer
103 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 ...
2
votes
2answers
444 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
180 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
390 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
511 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 ...
-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 ...
2
votes
1answer
892 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
151 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 ...
0
votes
0answers
87 views

Manage a PHP background process

When you have a PHP background process running, what are recommended approaches to: 1/ Monitor that the process is alive and/or automatically launch a new one if it dies 2/ Make sure that there are ...
2
votes
2answers
495 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 ...