CentOS 5 :: Duplicate / Multiple Processes - Server Really Slow
Mar 28, 2010
My server is really slow. When I did a top -c or ps aux, below shows up. Shouldn't there be only one? Shall I kill all those processes and leave only one?
3135 nobody 15 0 15900 5232 1860 S 0.0 0.1 0:00.17 /usr/local/apache/bin/httpd -k restart -DSSL
3173 nobody 16 0 15900 5244 1848 S 0.0 0.1 0:00.05 /usr/local/apache/bin/httpd -k restart -DSSL
3174 nobody 15 0 15900 5232 1860 S 0.0 0.1 0:00.15 /usr/local/apache/bin/httpd -k restart -DSSL
5153 nobody 15 0 15900 5228 1860 S 0.0 0.1 0:00.04 /usr/local/apache/bin/httpd -k restart -DSSL
7598 nobody 16 0 15900 5228 1872 S 0.0 0.1 0:00.20 /usr/local/apache/bin/httpd -k restart -DSSL .....
View 5 Replies
ADVERTISEMENT
Jun 13, 2011
I have running license server on my server. Right now I would like to write small status script and check if software is running.My software include 3 deamons:
1) daemonA
2) daemonB
3) daemonC
My script should check, if each of this deamon is running. If all deamons are running then script should print short output: "License server is running" if one of this daemons is not running, output should "License server is not running". Is it possible to write small loop to check it ? Let say, loop will take new daemon name from deamons pool and will check if its running. Sometimes I need to check more than three daemons of one Program and I dont know how to write good script for this. Maybe somebody could help me with this loop that in the future I could also use; daemonD, daemonE, daemonF.etc.etc. if all daemons from pool is running then..."Software is running"
View 3 Replies
View Related
Sep 24, 2010
I've got this problem for a few weeks and I cannot figure out. I'm pulling my hair out. I have a server installed PHP, lighttpd and redis. Sometimes, I got the following messages in the error log of lighty: Code: 2010-09-24 13:57:33: (mod_fastcgi.c.3011) backend is overloaded; we'll disable it for 1 seconds and send the request to anoth er backend instead: reconnects: 0 load: 567 2010-09-24 13:57:33: (mod_fastcgi.c.3011) backend is overloaded; we'll disable it for 1 seconds and send the request to anoth
er backend instead: reconnects: 0 load: 626 and:
[Code]..
View 3 Replies
View Related
Oct 17, 2010
I am running Red Hat Enterprise Linux Server 5.1. I notice that when my server gets slow and the load goes up, there is a bunch of processes call mi_dmonq running. Does anyone know what this process does? I tried to find it online but didn't find anything. Also, I tried to find the binary on the server but find doesn't return anything. Does anyone know what it is?
View 3 Replies
View Related
Jan 18, 2011
[rant]Ok, I've been ignoring this for a couple of months, but now it's gotten to me and I want to know what's causing it.[/rant] Here's my problem. I have scim 1.4-9 (latest) installed for Japanese input. It works fine. I have no problems with it. However, when I launch Synaptic or update manager a duplicate instance of scim starts.This is on Debian Squeeze. See below:
Fresh reboot:
Code:
scim-bridge 34.2MIB
scim-helper-manager 32.7MIB
scim-launcher x2 47.8MIB, 165.4MIB
scim-panel-gtk 153.2MIB
After launching Synaptic or Update manager:
B signifies before as above
Code:
B scim-bridge 34.2MIB
scim-bridge 34.2MIB
B scim-helper-manager 32.7MIB
scim-helper-manager 32.8MIB
[code].....
It's not a huge deal, because when I close said programs, the duplicate process stop. I just find it odd because these are the only two programs that seem to cause it. Oh, and I'm using Gnome, if that matters.
View 2 Replies
View Related
Jan 11, 2011
I am looking for an application (better kde one) that can search two external hard disks I have and find any duplicate files. I did some backups before to one disk which i copied few years ago to the other disk. Right now I would like some program to check files and tell me if there are the same.
View 9 Replies
View Related
Jul 14, 2010
Anyone know why my fresh installation of centOS server is so slow? Seems like it takes over a minute to execute a command, im not doing anything complicated either. Secondly, how come at times when I type reboot the machine starts to beep, one long loud annoying beep.
View 5 Replies
View Related
Jul 21, 2011
I want to take a graphics file and make 10 copies of it to the same directory, each with 001, 002, or some such designation at the end of each file name so they have discrete files names. Is this possible using cp?
View 12 Replies
View Related
Aug 29, 2010
The local files copy speed from one disk to another is satisfyingly 60+MB/s, but this cause problem to other application, windows gray out, firefox freez, basically i have to wait for the copy to end to return to the computer.
View 3 Replies
View Related
Oct 23, 2010
As an assignment i was doing a program to create two process using fork and pass messages between them using message queue.Did it worked well until my friend tried to copy it using scp.suddenly all hell broke loose as processes without ran syncronisation ie. in tech terms the process just wont wait wen a message queue is empty.it keeps on executing randomly.but after a reboot .. everything worked fine. until again i tried to do scp on my system on purpose. and again the program just went mad.
View 3 Replies
View Related
Jul 27, 2010
This is the second new install of 10.4 on the same machine with the same issue. After boot, as soon as user logs into the desktop, sys mon shows cpu at 100 percent and a steady climb in ram usage. several processes are spawned continuously until all ram is consumed and then moves on to use scratch space.
Using top, the process count moves into over a thousand total processes. Some investigation using top, ps, and digging into the /proc folder shows a ppid of 1 If the machine is booted to shell, top shows 120 processes and is stable. Some of the processes running repetitively are the gnome toolbar, nautilus, and I wish I was clear headed enough to write the others down before I left work. I can certainly get a more complete list in the morning.
I have swapped out ram, and the processor with no success. I have also tried apt-get purge ubuntu-desktop then installing with apt, this did not resolve it. As mentioned at the top of the post, this is the second install with these symptoms. The first install started showing the issue about 10 hours after first boot. On this second install, all was working fine for a couple days before this started in.
View 9 Replies
View Related
Sep 2, 2010
when I start my application it creates a message queue and forks a process. The child process reads multicast packets from the network and writes to message queue. The parent process reads packets from message queue and compares source ip and sequence number (it is part of payload) with last 64K packets received to see if it has received a duplicate packet. I am using message queue as a buffer because I do not want child process to drop any packets while it is comparing it with previously received packets. The message queue is large enough to contain 64K packets. To compare the old packets I am using array of structures as circular buffer. During a spike I may receive 100 - 120 packets per milli second.
When I run my application, the parent process keeps up with the child process, I can see that with "ipcs -q". After about 30 seconds it cannot keep up and the size of message queue keeps increasing until it is full. When I run "top" I can see that one CPU/core is hundred percent busy while other 7 cores are idle. It seems that both processes are running on same core and the child process gets interrupts everytime there is a packet on the net and starves the parent process.I am running RHEL 5. The system has 24GB memory and my application is the only application running on it. It is a HP G6 server.
View 3 Replies
View Related
Sep 3, 2010
I'm looking for a way in Perl to be able to take a list of servers, ssh multiple commands to it and store the results. If I do this process serially, sometimes one server will hang the whole script and if it doesn't, it still takes hours to complete.
I'm thinking what I need to do is make a parent loop that calls out a separate process that passes the server name to the child sub process and then executes all the commands I have defined in its own process. If one server 'hangs', at least that won't stop the script from doing all the other servers in the list.
I'm guessing using the fork() command would serve me best, however, all the online descriptions I have found have been vague at best.
View 4 Replies
View Related
May 15, 2010
Whenever I monitor my CPU's, it seems only the first is ever utilized, with the second always being at 0%.Does this mean it is not being used, or just not being reported as in use?Is there anything I could do to improve the situation if it is not being used as much as it could be?On Windows, I can assign processes to both cores, or either one. Is there a way to do something similar in Linux?
View 10 Replies
View Related
Feb 11, 2010
in my office I've setup a centos server which uses no GUI only the console with apache & mysql for testing purpose, notice that I haven't setup any vhost or any mysql db yet, so the load is 0.00 The strange thing that suddenly one day I tried to login to this "server" from my windows pc (in the next room) via putty , and since that day the "server" is very very slow. What do i mean? when I try to login with SSH it makes 15 seconds or more to ask me about login, and then about password (like it happens in a server with massive load). then when I type the command in the konsole it always delays between letters.
I run top -c and everything is dead (0.00) so there is no load. even If I ping -t localip the machine , after 3-4 pings I get "Request timed out". so I think something is wrong with the local network. If I get connected physicaly in the "server" and start pinging my windows pc it works great, everything is going fast, the konsole is fast (as it should be) and if I ping any other servers it also goes withoute a problem. The I think its not a problem with the "servers" network connection.
View 4 Replies
View Related
Aug 30, 2010
I am running Centos 5.5 with Apache 2.2.3, MySql 5, and PHP 5.1.6. I am migrating a Drupal installation to the default html folder for development purposes. I am very new to server management, and a bit lost.I want to install some other web sites on the sandbox server to experiment with before uploading them to a Production environment. Is it possible to have multiple html folders? Or to use symlinks to point to the folders where the other web sites will reside?
View 1 Replies
View Related
Mar 3, 2011
my computer is often very slow, to the point of stalling. I tty'd in and when I ran ps -ef I noticed about 10 /usr/sbin/apache2 -k start I dont even want 1 apache running. Any suggestions why these are running, or how to stop it? Well, I can stop it with a sudo killall, but how can I make sure it doesnt happen again?
View 5 Replies
View Related
Mar 1, 2011
I am not an expert and have only been managing my server not too long. My server is running kind of slow so someone suggested running the 'top' command via shell, and I found a few things using major resources, but I don't know what they are or how to fix them. can someone suggest some things.
View 6 Replies
View Related
Dec 23, 2009
I am using CentOS and sending mail through php mail function. It is taking too much time to send a mail.
View 3 Replies
View Related
Jan 17, 2011
we got a dell nf600 network storage server which functions as headnode for our little computing-grid and network storage system
i did a normal install of centos 5.4, upgraded to 5.5 and so far there haven't been any problems with one exception:there are 2 harddisk configurations present on the box:
- a raid system where i store all the data with 4TB, mirrored
- a harddrive where the system files are stored
the network access happens via samba and nfs and is fast enough, but when i want to copy something from the raid to the single harddrive or vice-versa, or make some bigger file operations on the raid, the system slows down VERY much and is not responsive at all that there should be some extra-configuration for the filesystem/raid controller/... but i don't know where to start looking i would appreciate it very much if someone could help me further - and i will ofc provide all the configuration files you need for that (i just don't know which ones to post here in the first place)i'm not too lazy to read through some manuals, if you know a good one for setting up a fileserver in centos (with info how to tweak performance)
View 3 Replies
View Related
Apr 30, 2011
I am tring to run a few game servers on CentOS 5.5, this is a headless server I am renting and I do have root level access and am able to install or run anything.
For me to run a game server I need issue the following command: ./r1q2ded-x86_64 +set dedicated 1 +set ip 69.172.231.46 +set port 27911 +set game lithium +exec server.cfg &
View 2 Replies
View Related
Dec 6, 2010
I have a secondary IP (external/Internet, not LAN) for a CentOS box, what do I need to do to make the server bind to that IP as well as it's primary one?
View 2 Replies
View Related
Sep 3, 2009
I use Samba, NFS, RSync and FTP/TFTP in my multi-location setup.
Is there a CentOS standard place to put my sharable file space? I've seen /usr/local/, /var, /var/samba, /user and /share. I have gotten to the point of preferring /share, but I want my servers to adhere to standards in case I am not available. Another alternative is to create a user name that matches the group name and using that user's home directory for the shared file space. This would solve the issue of shared departmental mailboxes and backups, not to mention (though apparently, I'm going to) SELinux configuration... Maybe I've just answered my own question...
What are other people's opinions?
View 1 Replies
View Related
Jul 12, 2010
My 5.5 server has crashed on my multiple times over the past few weeks. I have 2 terabyte drives mirrored.It automatically reboots and seems to run fine after rebooting.I've attached a copy of the /var/log/message to this post.I was unable to paste file.I'm not if a bad disk is causing the problem or not.
View 4 Replies
View Related
Sep 25, 2010
I've currently got a centos server setup in my home. It has 1 website running on it and I am using DynDNS.com's service to access the server. DynDNS works by redirecting a free url to the IP address of your server. I would like to add a second website under a different url. However, I'm not sure how to add a second IP address (which I would then use with DynDNS to create a new url).
View 3 Replies
View Related
Nov 16, 2010
I have CentOS 5.5 x86_64 with Apache, php and mysql.
I have just installed OTRS (helpdesk - trouble ticket system) on that server and no users.
This system works with perl, apache and mysql.
I notice that is slow to respond and at times unresponsive the apache welcome page. code...
View 5 Replies
View Related
Sep 22, 2010
I wrote a program that multiplies 2 matrices using multi-threads and another one using multiple processes and shared memory. Both in C.I need to find the total memory usage of these programs. I know of the top command, but when my matrices are relatively small they don't even show up on top because they complete so fast, how can I find the memory usage for these instances?Also, how can I find the total turnaround time of my programs
View 1 Replies
View Related
Apr 14, 2011
We have to install centos 5.5 in approx 60 servers and we want to have a server in which we can create an image of 1 server and deploy it on all other severs through pxe. Mainly all servers will be having raid 5 or raid 1 configured. So the utility should be having the raid support.
View 1 Replies
View Related
Jun 2, 2010
I am currently running a apache/postfix email service on my server. I am using aliases for two addresses for example:
trscookie@serverone.com
trscookie@secondserver.com
so the emails no matter which domain receives the email trscookie always will receive the email.
However I am unable to work out how to 'reverse' this process, for example.
If i was to go to secondserver.com/webmail I would like the emails to get sent from trscookie@secondserver.com however they are currently all coming from serverone.com. Is it possible to configure this so that it is sent from the correct domain?
Here is my main.cf:
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
[Code].....
View 2 Replies
View Related
Jan 17, 2011
I want to know How to set up Subversion server to run Multiple Projects? I want something to manage it over the web or manage it over kloxo as I am currently using control panel kloxo.
View 3 Replies
View Related