General :: Server 'really Slow' What First Couple Things To Check?
Aug 19, 2010A server is described as being "really slow". What are the first couple of things you would check?
View 2 RepliesA server is described as being "really slow". What are the first couple of things you would check?
View 2 RepliesF10 trying to key in static ip address. Have followed guidelines on turningoff NetworkManager and turning on network. i went to command line and did a couple of chkconfig things and entered ip address, with subnet. when i do ip addr show i see under eth0 inet 192.168.3.11/32 which is 255.255.255.0, i'm pretty sure. i do not see gateway. when i go to system/network get prompted to log into root, network config window opens. icheck eth0 and the subnet mask is 192.168.3.1, the gateway, which is in correctly, in the gateway slot, as well. i still can not ping to from my xp based multihomed router.
View 3 Replies View RelatedThis is Plesk linux server.I am using CentOS release 5.5 (Final) OS. Server seem to crash every couple of hours. Perhaps apache has memory leak?
Sep 28 07:06:29 wed kernel: Call Trace:
Sep 28 07:06:29 wed kernel: [] out_of_memory+0x8e/0x2f5
Sep 28 07:06:29 wed kernel: [] __alloc_pages+0x245/0x2ce
Sep 28 07:06:29 wed kernel: [] __do_page_cache_readahead+0x95/0x1d9
Sep 28 07:06:29 wed kernel: [] __wait_on_bit_lock+0x5b/0x66
[Code]....
<edit>never mind dump the ;'s and it all works fine</edit> I'm trying to write a bash script that will check if XMBC is running if it is then do nothing else start it then do some other things.This is the start
Code:
#!/bin/bash
DISPLAY=:0.0
[code]....
I'm working through some problems in a beginners programming book. The author mentions a formula for calculating the number of ways of picking out n things from a collection of m of them:
Code:
/ m m!
| | = -----------
n / n! (m-n)!
But he does not give a name for the formula. Does anyone happen to know what it is called? I need to do some related research.
I have a server running Ubuntu 10.04 server - no gui. In the list of updates today I see plymouth and plymouth-theme-ubuntu-text. Plymouth is a gui application (and not a very good one from what I recall from 10.04 alpha and beta testing days). So I don't understand why I would need it on a box with no gui.
If I use Webmin 1.530 to attempt the updates I unselect the two plymouth packages and then click Update Selected Packages. The list on the Update Packages confirmation page shows the two plymouth packages. I can unselect other packages and they do not appear on the confirmation page.
If I use apt-get upgrade I am again presented with a list containing the plymouth packages. Nothing in the apt-get man page jumps out at me as a way around all or nothing. I guess I could manually install the other 8 updates and not do the plymouth ones. I fear that they will keep appearing on the updates list each time.
I am in the process of setting up a couple of virtual servers in a cloud environment. I am currently working on my application server (Server 1) and am stuck on the creation of my ruleset for this server.
I need to allow SSH, FTP, HTTP, HTTPS, and PING on this server. This server will also need to be able to talk with a couple of database servers as well as a memcache server (all internally within my cloud environment)
I have been reading on iptables, since I have never messed with them before, and have come up with the ruleset I will paste below. I have taken other steps to secure my server...changing ssh port, not allowing root to login via ssh without logging in as a user, turning off unnecessary daemons, editing my hosts allow/deny files, just to name a few.
I am a newbie to iptables, so I would love a bit of helpful advice, criticism, and even a good explanation why I should add or remove or edit something. I really want to know the how AND the why!
[Code]...
I have developed a small website using jspx pages.Now i want to host the website to a server which is a linux machine.The linux machine which i m referring to is already hosting some web pages(jspx) through a web server Which is running at port 8888.My first question would be "How would i check which web server is installed in the server?"Due to my little knowledge about linux machine .I have copied some simple html pages to /var/ www/ html location. The pages are getting accessed correctly on port number 80.But how would i go about hosting jspx pages.
View 13 Replies View RelatedI'm looking for an easy way to check if some server is down, and then act upon it. This check needs to be done from the backup-server. So if the backup-server thinks the production server is down, then in some bash script I want to execute a rule.
My question: what is an easy way to check another server ?
1. I know about Nagios. It's great, but to large to use here.
2. I could ping the server, put a ping that fails does not necessarily mean the server is down.
how can I check the size of file on server in bytes?
i need to do it for following
I need to know what command to use to check whats using all of my ram on my server i use the top command but it doesn't show much information
View 8 Replies View RelatedCan I run/compile programs on my remote server and control it using LAN? How do I do it?
Long Version:
I have a spare computer here. It's rather powerful for my daily needs (Athlon X2 6000) and I want to set it as my HTPC/Server. Don't worry about HTPC, it got Digital Audio output and a Radeon HD3200 with HDMI out, outputs 1080p pretty well under Windows (I'll setup it for Ubuntu when I get everything straight). So, I thought "Well, I think it's going to be overkill to let such machine as a HTPC only. I'll use it as a server too!". So far so good, but I don't know anything about servers or such. I would like it, as a server, to compile huge programs and handle big compressions (I'm actually with a Celeron ULV 1.2GHz netbook for such tasks, takes ages). Also, it would be pretty nice if I could control the server with my netbook. Like, Start/Stop music/movies with my netbook, control the Boxee/XBMC (Media Players) with the netbook, and, if possible, control its mouse.
Btw, will Ubuntu 10.10 support Hardware Acceleration for ATI Radeon HD3200? Over Windows' DXVA it works OK.
I am doing a test to get the memory used by apache`s apache2 processes. I used a script to get VmSize and VmRss from /proc/pid/status, and loop through that to get the sum of VmSize and VmRss of all the apache2 processes.
I found the VmSize (about 4GB) and VmRss (about 3.4GB) are much larger than the physical memory (1GB) when apache server was saturated. It was said because of the multi-counted libiraries size used by many processes simultaneously. Then , how to get the physical memory used by apache2 processes? Or how to get a more reasonable memory data?
when trying to use "yum install skype" i get this line below No Repositories Available to Set Up
View 1 Replies View RelatedHow to check server usage (process and memory) for last 4months in RHEL5
View 3 Replies View Relatedi have a problem. when i changed from xp to linux mint 8, my speakers seem to just give up on me after about 2 hours of use. the only way i can fix them is to restart the computer.
View 1 Replies View RelatedI need to add something to an existing shell script that will check whether a remote server is up or not.basically (but I can't figure it out) :-
if [ -the server to check- ] ; then
echo "Server is Up"
else
[code]....
I need a script to check Server health checkup, includes: CPU utilization,process running,utilization taken by processes,free space...
View 2 Replies View RelatedI am writing an script for sending emails with ssmtp email client in an appropriate form.I want to know how can I check mail server that I want to send mail to it if it exist and ready to receive email or if not log an error.
View 3 Replies View RelatedI need to check with nagios an oracle database that is located on a server. There are a lot of plugins that are provided, the problem is that the database is located on a remote server (i have an hostaddress) and then i need to log on the database (i have username and pass)So i only need to have a plugin that connects to that hostaddress and logs on, but i can't find any plugin which does that
View 14 Replies View Relatedfrom nmap localhost | grep mysql command i will come to know whether mysql server is running or not.my problem is i want to test whether mysql server is running or not in shell script and if it is running i need to tell the user to stop the server to run the shell script.
View 3 Replies View RelatedI'm trying to check my server's bandwidth usage in real time, installed the following programs but none worked so far.
Iptraf - No results even when using iptraf -u
Tcptrack - Error : pcap_loop: cooked-mode frame doesn't have room for sll header
Iftop - No results, everything 0b
Are there any programs that displays bandwidth usage in real time and actually works on VPSes? Or getting real time bandwidth usage on a VPS is simply impossible?
I got myself a .bashrc file off the net. I checked it beforehand, didn't detect anything bad about it. One thing that's odd about it, is that several spaces are added to the terminal command line.Screenshot:Those spaces are not put there by me. The file can be found here: [URL]..
View 3 Replies View RelatedI have a dell PE1750 server which would not boot up after a power failure. I am thrown to a shell for maintenance after showing an error in file system check. The server was running - Red Hat Enterprise Linux AS release 3 (Taroon). Please let me know if I can try to recover from this error by booting from the 1st CD of a higher version of linux like RHEL5. I ask this because I do not have the old media with which the system was setup. Can the use of latest OS CD cause any problem?
View 2 Replies View RelatedI have been trying to go through Beginning Ubuntu Linux but there are inconsistencies with what the books says and what it looks like on my computer. For example, The book speaks of a Device Manager that should be located under System > Administration > Device Manager. It does not appear for me under System > Administration.
The book I have was published in 2006 and I am using Ubuntu 10.10.
What's the easiest way to make things autostart in KDE? The only method I know is to make links to the applications and then put them in the KDE autostart folder. Last time I did that, I had a lot of trouble with not being allowed to make the links unless I was root. Is there a simpler way?
View 1 Replies View RelatedHow Linux would run NT in a VM, and the correct definition of how things work. Now I now about nothing about of Linux, though I have installed it a few times, but never really worked with it. I have been using MS products for 15 Plus years and have a pretty good understanding of how things work. I do not claim to be any expert. Some Idea of what I am inquiring: Now, how does the Linux Kernel handle the NT Kernel? Are processes/threads in cpu separated for each Kernel? How would interrupt requests be handled? How is Memory and Disk Management handled? Then obviously how would Device Management be handled as well?
View 3 Replies View RelatedI installed it a while ago but haven't bothered to use it much, and before I installed Kubuntu and had Ubuntu, it worked fine, I could use Notepad and browse the C:... But, now when I go to "Browse C:" it says "Unable to run the command specified. The file or folder file:///home/theif519/Documents/.wine/dosdevices/c: does not exist." What do I do? I tried reinstalling Wine but that didn't do any good. Do I manually make the directory?
View 6 Replies View RelatedAnyone know a simple command line to check for a specific email - by subject - on an SSL secured IMAP server?
View 2 Replies View RelatedI'd like to read opinions from people have been using either one of the two GUIs for quite a while.What do you prefer the GUI you use?
View 9 Replies View Related