My Server's Experiencing Very Slow Page Loads
Aug 11, 2007My server's experiencing very slow page loads.
I ran top and got this (screenshot attached)
Could we say that it is a bit high for one http process to use that much cpu/ram?
My server's experiencing very slow page loads.
I ran top and got this (screenshot attached)
Could we say that it is a bit high for one http process to use that much cpu/ram?
I have a server running SUSE. dual quad core chips, 16 gigs of RAM.
It's a webserver only running Apache.
We have been having a problem the past few days where page loads take forever yet CPU load and RAM load are very, very low.
I've noticed when it happens when viewing HTOP that TASKS jump from about 350 average to 1000 average. Pages won't start loading until this number drops.
I see no errors in error_log or messages however restarting Apache seems to fix the issue?
I've tried messing around with KEEPALIVE settings with no help.
Any clues on where to start? Pretty lost on this one becuase I see no errors and the load both CPU and RAM are low.
Im using apache2.2 on Ubuntu 12.04. Im trying to password protect a page using htacces and/or the directory command.
Basically no matter what method I use to try and password the index page it doesnt work. I can protect pages and dir's below, but not in the root www of a vhost.
basically:
/home/cackles/mysite with index.html and .htaccess will allow index.html to load and wont prompt for a pass until the page is refreshed.
/home/cackles/mysite/subdir will prompt for a pass before it goes any further.
I purged and started from scratch again last night and for nothing, it would seem, well I learned/refreshed a few things so it wasnt a complete bust ... just 7hrs
I have built a database driven site with PHP & MySQL. Pages download quicker on some connections than other (obviously), however this is not due to connection speed. The web host server seems to respond very slowly to my boss's network (which is on a proxy server). Could it be that this problem is related to the web host? i.e. could it be that the web host is unequipped to deal quickly with this type of network?
On my home connection (2Mbps), pages often download instantly, however occaisionally I have to wait 10-20 seconds to receive the page from the host.
Finally, could you recommend an excellent web host to use with our site? My boss wants to offer a professional service where server response is quick. We are based in the UK.
FDC servers network slow?
Anyone having problems with sites hosted on FDC right now?
I have two servers running windows 2008(rtm) and I'm getting just crappy transfer speeds between them.
server 1:
dual xeon quad core
8gb ram
dynamic mirrored disks (windows software raid, ick i know
hyper-V, 6 or so VMs, not real heavy load
server 2:
dual xeon quad core
8gb ram
3ware 9650Se raid card, raid1 (using latest engineering drivers/firmware)
The servers are connected to each other via gigabit crossover. When I start to do a file transfer (a 40gb virtual machine, through windows file sharing) it starts fast. 60+MB/s says 12minutes remain but after 5minutes and 5gb or so of transfer it's slowed way down to 7MB/s and the network usage graph that was smooth and is now choppy.
I've got 25 domains on a Virtuozzo/Plesk8.6/CentOS5 VPS. Each domain has one up-to-date install of WordPress, most have very little traffic (average 200mb per month), maybe 2 domains get 5-7gb traffic per month.
I monitor port 80 connections and rarely see more than 10 at a time.
That should in my opinion be no problem at all for a VPS with 768mb guaranteed ram and 2.4ghz cpu. I've got 30gb hard drive spare too.
But.... about 8 or 10 times a day it grinds to a complete halt: server load at 500-1000%, sites timing out, plesk takes 3mins to load, often I can't even connect with SSH, and the plesk web server, apache
INSERT INTO module_watchdog_sys_stat (time, type, value, service_id) VALUES(FROM_UNIXTIME(1226404705), 'MAINMEM_USAGE', 17472, 11);
80 seconds sounds like a huge amount of time for a MySQL insert to me! Does anyone know if this is likely to be the cause of my trouble? Some problem with Plesk and the database? Or could it be something else?
I have a VPS from KnownHost for about a year for developing purposes. Great place to go for VPS's, by the way.
Anyway I just installed a game server on it and now the loads are about 0.5 when I do a "top" command.
Should I be worried? The server isn't really used for anything right now, that is why I am using it as a L4D server. Max 8 people on it.
I was wondering about a specific VPS package I was considering. I have around 80~90 sites (and therefore accounts) that I need a nice place to call home, but I am wondering if maybe I would be asking too much of this VPS package:
40GB Disk Space
1000GB Transfer
P4 3.2GHz
800MHz Front Side Bus
1GB Guaranteed RAM | 2GB Burst RAM
CentOS 4
50% of CPU Guaranteed | Burst to...I don't remember.
All of the sites I would be hosting easily take up less than 100MB of space each. The most any of them use is 2-5GB of transfer. I know these levels are no where near my allotted resources, but do you think that serving 80-90 accounts like this is too much server load? There will only be 2 VPS' on each server, guaranteed.
Anyone with experience with a VPS and a decent set of accounts/domains, please let me know what you think.
I have two vps's n ifferent hardware, after my hoster performed an update to node I am now seeing high loads on both vps's
When I reboot the problem goes for a while
My servers host very little websites and little activity and normally run fine
I have notice a process "unhide" running, what is this and where should I start looking for this issue
[root@vps ~]# top
top - 18:47:59 up 1 day, 6:51, 1 user, load average: 1.96, 1.95, 1.92
Tasks: 62 total, 2 running, 60 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0% us, 2.8% sy, 1.1% ni, 96.0% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 1048576k total, 143908k used, 904668k free, 0k buffers
Swap: 0k total, 0k used, 0k free, 0k cached
Unknown command - try 'h' for help
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
23980 root 26 10 1872 876 316 S 2.0 0.1 4:40.86 unhide
1 root 15 0 1644 568 484 S 0.0 0.1 0:03.76 init
1982 root 17 0 6412 1828 1124 S 0.0 0.2 0:00.00 crond
1985 root 18 0 2120 900 784 S 0.0 0.1 0:00.00 run-parts
3228 root 18 0 3252 1028 896 S 0.0 0.1 0:00.00 01-rkhunter
3229 root 18 0 1888 548 460 S 0.0 0.1 0:00.00 awk
3665 apache 15 0 39700 18m 6036 S 0.0 1.8 0:05.14 httpd
5771 apache 15 0 39540 16m 4516 S 0.0 1.6 0:01.14 httpd
7837 root 26 10 11320 9272 976 S 0.0 0.9 0:07.64 rkhunter
9958 apache 15 0 39608 18m 6024 S 0.0 1.8 0:02.84 httpd
11611 root 15 0 8584 2532 1964 S 0.0 0.2 0:00.01 sshd
11831 root 16 0 6144 476 324 S 0.0 0.0 0:00.00 vzctl
11836 root 16 0 2184 1264 1048 S 0.0 0.1 0:00.00 bash
13789 root 16 0 1548 528 436 S 0.0 0.1 0:00.38 syslogd
13794 root 18 0 1484 368 308 S 0.0 0.0 0:00.00 klogd
14022 apache 15 0 39432 15m 3868 S 0.0 1.6 0:00.72 httpd
17612 root 18 0 4056 1052 756 S 0.0 0.1 0:00.00 sshd
I want to permanent redirect some .html page from subdomain to main domain WordPress page,Redirect permanent /cat/FSBO76.URL....
View 1 Replies View RelatedI have a problem with my server. I am trying to make a subdomain, and it isn't working. I create it like how in all tutorials says here( click here ) . I completed all fields, but when i try to open the subdomain in a browser page, it's telling me, page not found / page doesn't exist. I have a dedicated server on window server 2008 for my website with a dedicated IP.
View 5 Replies View RelatedI have a shared host with them for a few months which the disk usage for home/backup is usually around 85-95%. Right now I am experiencing very slow download speed. What about yours?
Server Load 2.92 (8 cpus)
Memory Used 42.6 %
Swap Used 0.01 %
Disk /dev/sdc1 (/home) 91 %
Disk /dev/sdd1 (/backup) 90 %
Disk /dev/sde1 (/backup/cpbackup/weekly) 43 %
Disk /dev/ram0 (/ramdisk) 24 %
Disk /dev/sdb1 (/) 22 %
I have a Quad Core Xeon server with 2 GB RAM. The server has some high traffic websites & at peak hours (4-5 hrs a day) the server load remains 10.0 to 50.0.
The sites on the server load very slow at these times. Here's the top result during heavy load
[url]
I normally don't like too bother others with my problems but this time It seems I have no choice since I spent the whole afternoon trying to find out what the problem was and couldn't solve it "entirely".
Here's some hardware info:
Processor Information Processor #1 Vendor: GenuineIntel
Processor #1 Name: Intel(R) Xeon(R) CPU 3050 @ 2.13GHz
Processor #1 speed: 2133.418 MHz
Processor #1 cache size: 2048 KB
Processor #2 Vendor: GenuineIntel
Processor #2 Name: Intel(R) Xeon(R) CPU 3050 @ 2.13GHz
Processor #2 speed: 2133.418 MHz
Processor #2 cache size: 2048 KB
Memory Information Memory: 1031324k/1048320k available (2182k kernel code, 16308k reserved, 914k data, 240k init, 130816k highmem)
System Information Linux **************** 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686 i686 i386 GNU/Linux
Running Fedora Core 5 and working for over half year with almost no major problems, but today something totally weird just happened...
After waking up I logged to the server and realized how slow it was, I went to see more about that and for my surprise the loading was around 8 so I went to the mail queue to see if there were a few thousand mails, there were 16 mails... So I went to the see CPU % processes at WHM and I was stunted to see around 30 processes allegedly using over 11500% of the CPU or more!
My first thought was that cPanel smoked something before releasing a last update and I didn't realized it immediately so I downgraded from Release to Stable.
Nothing happened and I lost my time with this overheated overloaded and over-everything and I didn't changed any configuration.
I changed many old configs that... I don't know, might crashed with something that might changed... I was trying and looking for anything.
The load was getting up instead of down, it went up to around 60.
The final conclusion is that whenever I turn the MySQL on I got overwhelming loads otherwise the other services "only" give me around 1.5 of load but still very unstable.
I'm getting a little tired so my explanation may be a little confusing, sorry about that.
Anybody knows what this is? Did this ever happened to you? Extremely high loads without an obvious reason? If anyone could help me I would be thankful for that, I'm getting kind of desperate.
We are having a problem with our Linux dedicated server. At time we are getting high server loads witch is causing the server to go down and reboot. This problem has been going on for over a month now and still liquid web can not tell me what is the cause of the high loads. We have upgraded our RAM to 2 GB. This look to fix the problem for the first week but now we are back to having high loads and downtime.
I'm not a IT person so do not know how to find the problem. Can anyone tell me what I can do the locate the problem. I do know how to access and do some things in the root but do not know enough to find and fix this issue.
Recently, we've been getting a lot of high loads (every 30 mins or so..) This is what shows in the warning email that we receive:
---------------------------------
12.0 04:31:35 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/swh.sellwebhost.com.pid --skip-external-locking
----------------------------------
We are using whm.. Any idea what might be causing this?
I'm not sure whats the problem with my server.
When accessing websites on our server, we will get a Website not found but after trying 2 or 3 times then the website loads.
Two of my VPS's with a company are now showing very high memory loads, even after a reboot, both server are located on different nodes and they both shot up to high ram loads at the same time today(9amGMT) ....
View 4 Replies View Relatedhas anyone else noticed an unusually high load occurring from 9 till 11 EEST time on their servers?
I've been getting high loads everyday this week at exactly these times.
I'm thinking that this is a crawler/bot that is causing the loads, i've already installed dos deflate and there hasn't been more than 100 connections from the same ip, so I'm ruling out any DOS attack ... besides, what kind of attack only takes place for 2 hours a day at exactly the same time?
I'm on a cpanel system and would like to know which logs to take a look at to determine the cause.
I currently have a vps server from GIGEServers, running at 512mb of dedicated and 1024mb spike it seems like apache is using alot of resources, does anyone know of a less hog, or tips on tweaking it, and the same for mysql server any tips on tweaking.
View 14 Replies View Relatedits 2am night here, and my sites are down....now there is no way i have too much traffic at midnight, also all my websites are new !
this is happening consistently since today morning and im getting no support apart from jargon filled replies from customer care
how do i tweak apache settings and what settings do i make to avoid this ?
im wondering what will happen after few months when my websites actually have good traffic coming in ?
We have checked your server. Please see the load average and process list given below:
The value 4.42 was the CPU load average at the time. A normal load should be below 1.00. I could see that Apache service is causing high load in your server.
So you can tweak Apache in order to reduce the CPU load. Please check and let us know if you need any further assistance.
++++++++++++++++++
[root@chi07 ~]# vzctl exec 18403 w
03:16:20 up 2 min, 0 users, load average: 4.42, 1.42, 0.50
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
I was just looking at awstats for a domain that is not in use and only got a max of 10 visits a month till October 08.
Now since November 2008 I have been getting a lot of unique visitors from Italy but there is nothing on the domain, no folders or files.
Here is what AWStats say:
Nov 08: 710
Dec 08: 1593
Jan 09: 4243 (so far)
These are unique visitors 99% coming from Italy
What do you think going on ?
The domain in question is testingurl.com
We have a few websites which get 90% Asian traffic. Looking to optimise the user experience in terms of loading time..
Any specific server providers good for asian traffic? How do I find the latency time for a server provider before I go ahead with buying the server?
Right now my stats system only shows from what website traffic is coming. I have google analytics aswell, and with all its functions, it does not tell me from exactly what webpage traffic is coming, and to what webpage the traffic is coming to.
So, let say someone is sending me traffic from www.reffererxxx.com/cool_video.html to www.mysite.com/super_cool_video.html
My statistics would only show that www.reffererxxx.com is sending traffic to www.mysite.com
Is there a way(a script/service/program) to find out exactly from what webpage the traffic is coming, and to what webpage of mine the traffic is going to?
(I do not have server logs / webalizer / awstats as my server cannot handle the log processing due to high server loads)
We just upgraded to VBulletin 3.6.5, and are experiencing strange behavior. My forums are on a dedicated server, 27,000 users.
We'll be running along fine with loads of .5-2.00, etc. Then suddenly, the loads start climbing to 50, 70, 85+. We've been trying to figure out why. We even went on a different (much more robust) server, still the same result. This only started happening after the upgrade. Restarting the server corrects the problem, but only until it happens again. It can happen at anytime - during peak or off peak. The server may run for an hour or two until this happens, or it can happen 10 minutes after a restart.
Late last night when loads were normal we benched the server hard, and it ran just fine. We just can't figure out where this load spike is coming from.
Server info below:
Servers:
Mysql: server version: 5.0.27-log
PHP: PHP 5.1.6 (cli) Zend Engine v2.1.0,
Apache Server version: Apache/2.2.3
Kernel: 2.6.19-1.2911.fc6 #1 SMP
Server:
Pentium III with 1 gig of ram
15k RPM SCSI Raid 5
1 Gig RAM
-----------------------------------------------------------------------
[root@forums forums]# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 8
model name : Pentium III (Coppermine)
stepping : 6
cpu MHz : 861.001
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca
cmov pat pse36 mmx fxsr sse
bogomips : 1722.41
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 8
model name : Pentium III (Coppermine)
stepping : 6
cpu MHz : 861.001
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca
cmov pat pse36 mmx fxsr sse
bogomips : 1721.51
--------------------------------------------------------------------------
my.cnf:
[root@forums forums]# cat /etc/my.cnf
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
log_error = /var/log/mysql_error.log
log-slow-queries = /var/log/mysql_slow_queries.log
safe-show-database
old_passwords
back_log = 20
skip-innodb
key_buffer_size = 256M
myisam_sort_buffer_size = 64M
join_buffer_size = 1M
read_buffer_size = 1M
sort_buffer_size = 2M
table_cache = 600
thread_cache_size = 384
wait_timeout = 35
connect_timeout = 10
tmp_table_size = 64M
max_heap_table_size = 64M
max_allowed_packet = 64M
max_connect_errors = 10
read_rnd_buffer_size = 524288
bulk_insert_buffer_size = 8M
query_cache_limit = 4M
query_cache_size = 48M
query_cache_type = 1
query_prealloc_size = 163840
query_alloc_block_size = 32768
default-storage-engine = MyISAM
[mysql.server]
user=mysql
basedir=/var/lib
[mysqld_safe]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
open_files_limit = 8192
[mysqldump]
quick
max_allowed_packet = 16M
[myisamchk]
key_buffer = 64M
sort_buffer = 64M
read_buffer = 16M
write_buffer = 16M
-------------------------------------------------------
Relevant Apache:
StartServers 10
MinSpareServers 10
MaxSpareServers 15
ServerLimit 256
MaxClients 90
MaxRequestsPerChild 1000
---------------------------------------------------------
after uploading my site to the host, I want to type my domain and the home appears.
At the moment, typing my domian, an generic web host index page appears.
I have a lot of questions here so if you can't answer them all I understand. even pointing me somewhere where I could get the answers would be appreciated; hardware sites focusing on server hardware, forums focusing on such, etc.
we plan to have three different types of servers:
- db server (self explanatory. mysql. for forums, mysql driven sites.)
- file server (lots of files around ~2-10MB, consistant 70mbps right now, but we want more room for upgrades. needs a LOT of storage room.)
- web server (lots of php files, but also static things like plain html, images, etc. also includes all misc services for the setup-- dns, etc.)
could I be given a rundown for which hardware each of the three should have? I don't need specifics, even just knowing that more ram is important here while cpu doesn't matter as much, or that the fastest disks available are a must, etc would all be valuable info for me. despite that, I certainly wouldn't mind specific hypothetical hardware configs.
for the database server I'm assuming the more ram the better. not entirely sure about the cpu? also not positive on disks...
for the fileserver, how much ram would be practical or useful? disk io will be an issue I'm because plenty of people will be pulling files at once so the disk needs to read from multiple places. scsi (and even raptors) are not an option as we need 750GB+ of space on a reasonable budget. more ram will take some load of of the disks, but how much is neccessary / reasonable?
for the web server I'm assuming cpu first, then ram, but it'll likely need less ram than the db server?
I'm more lost on the disks than anything. scsi on the fileserver is not an option under any circumstances due to $/GB. for the db & web server I'm willing to pay for scsi if the performance increase really does warrant the extra money, but I'd like to be convinced before shelling it out. if you have benchmarks geared at server hardware when it comes to disks I'd really appreciate it.
also, what's the best way to network these together when colocated? each one with a dual gigabit ethernet port and then the communications go to and from the router?