Low Server Load But Websites Loading Slow
Jun 29, 2008server load is low according to top command / mytop but what I dont understand all websites on the server are loading very slow.
View 10 Repliesserver load is low according to top command / mytop but what I dont understand all websites on the server are loading very slow.
View 10 RepliesI'm hosting about 6 private websites on my server, and some have problems.
My biggest website is a vb forum with 30.000 members and 1.5 million posts.
When i browse with firefox i see that vb forum loads fast, but phpads which is integrated on the top and footer loads very slow. When i browse with IE, it takes like 10 seconds before the whole site is loaded and sometimes IE even crashes.
When i try to login on another website / admin panel (oscommerce), i get a mysql gone away error, that means timeout. But why does it show that? I ran mysqlreport and can't find anything why it should display mysql gone away.
# ./mysqlreport
MySQL 5.0.15-standard uptime 3 19:36:47 Mon Feb 5 11:08:10 2007
__ Key _________________________________________________________________
Buffer usage 78.94M of 96.00M %Used: 82.23
Write ratio 0.60
Read ratio 0.00
__ Questions ___________________________________________________________
Total 19.61M 59.47/s
Slow 9 0.00/s %Total: 0.00 %DMS: 0.00
DMS 7.17M 21.74/s 36.56
__ Table Locks _________________________________________________________
Waited 7.57k 0.02/s %Total: 0.05
Immediate 16.50M 50.03/s
__ Tables ______________________________________________________________
Open 1.27k of 1800 %Cache: 70.56
Opened 1.82k 0.01/s
__ Connections _________________________________________________________
Max used 47 of 500 %Max: 9.40
Total 2.62M 7.95/s
__ Created Temp ________________________________________________________
Disk table 6.77k 0.02/s
Table 635.25k 1.93/s
File 50.37k 0.15/s
I can't find any problems on the server which may lead to this strange problem.
The server load is normal, around 1 to 1.5. No weird errors in the apache error log or system log.
This strange behaviour started 2 weeks ago, and appears 2 to 3 time a week.
The system is running:
centos 4.3 64-bit
kernel 2.6.16.17 #1 SMP
directadmin 1.29.0
mysql 5.0.15
php 5.2
apache 2
Zend optimizer 3.2.0
Eaccelerator 1.95
One thing i noticed is that every night when the directadmin cron finished, the server acts normal again.
The directadmin cronjobs are:
* * * * * root /usr/local/directadmin/dataskq
2 0-23/6 * * * root echo 'action=vacation&value=all' >> /usr/local/directadmin/data/task.queue;
#5 5 * * 0 root /sbin/quotaoff -a; /sbin/quotacheck -augm; /sbin/quotaon -a;
20 4 1 * * root echo 'action=reset&value=all' >> /usr/local/directadmin/data/task.queue
0 4 * * * root echo 'action=check&value=license' >> /usr/local/directadmin/data/task.queue
10 0 * * * root /usr/local/directadmin/plugins/awstats/hooks/cgi-bin/awstats_updateall.pl now -awstatsprog=/usr/local/directadmin/plugins/awstats/hooks/cgi-bin/awstats.pl && echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue
I have been having soooo many issues with this new server
It is nothing against my host; but now the videos aren't loading or loading so slow
What could be the issue? It would have to be a server issue, correct?
The site is nsfw but it is ftw (hint hint) , it is an adult site and I don't know if
This is a little wierd, I am not able to see any of my websites on my home network, but from anywhere else it seems too load just fine. Even when i go through a proxy site they load. I'm still able to get to WHM and cPanel from my home but the websites themself do not load.
this started happing yesturday and after a few hours it seemed to work again on its own.
I am running Plesk Version: 12.0.18 on CentOS.Earlier today my service provider had a massive issue and my server was down for several hours. Upon it being back online i've restarted but now I cannot load any of my pages. I have 10 domains setup and if I ping their name servers or the server IP i get packets received now.
One of my installed domains is [URL] ... now if you try and load this url you get a time out but if you try to access admin page URL....None of the subscriptions are able to load their websites when i type in their URL and well it worked before it went down.
I lunch a filesharing website below this server configuration:
# HP ProLiant DL180 G5 Server
# 1x Intel Quad Core Xeon L5410 / 12MB CPU
# 4GB DDR2 RAM
# 8 x 1000GB SATA II + 2 x 80GB (OS) Harddisk
# CentOS (64bit) OS
# 2 x 1000Mbps Full-Duplex Uplink Port
# No RAID Hardware RAID
# Remote Power Management Remote Power Management
# 4 IP
250 Mbps Unmetered bandwidth Volume Connectivity
But most the time it load too slow.
I'm running a forum system on my server. Loading pages that don't connect to the forum database load normal. Whenever I browse any page that connects to the forum database on my forum, the page either takes ages to load or times out loading. I never exceed using 14% of one of my two cores, I'm using a quarter of my 1.5GB ram. It's only been loading slow like this since I've switched from running Windows to Ubuntu Server 8.10. I enabled logging slow queries on SQL, but nothing's been recorded. I've installed the server packages through Webmin,
when I access the server through its local IP address it's still very slow.
I have a website www.officegofor.ca. The site takes a very long time to load. I don't think it's because of the server's connection speed. What would be the best way to diagnose the problem? What could the problem be? I noticed that it get's slower and slower with time and when I restart apache it's faster (but still not fast enough).
View 1 Replies View Relatedi have a problem loading my web pages in IE, i taking a bit long time to load whole page. but at the same time it is loading very fast on firefox.
i tried to disable gzip in apache configuration, it not solved the problem.
my php conf:-
System Linux host.alqema.com 2.6.9-023stab044.4-enterprise #1 SMP Thu May 24 17:41:23 MSD 2007 i686 Build Date Sep 26 2006 17:52:35 Configure Command './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--prefix=/usr/local' '--with-xml' '--enable-bcmath' '--enable-calendar' '--with-curl' '--enable-exif' '--enable-ftp' '--with-gd' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr' '--with-xpm-dir=/usr/X11R6' '--with-gettext' '--with-mcrypt' '--with-mhash' '--enable-magic-quotes' '--with-mysqli' '--with-mysql=/usr' '--with-openssl' '--enable-discard-path' '--with-pear' '--with-pspell' '--enable-sockets' '--enable-track-vars' '--with-ttf' '--with-freetype-dir=/usr' '--enable-gd-native-ttf' '--with-zlib' Server API Apache Virtual Directory Support disabled Configuration File (php.ini) Path /usr/local/Zend/etc/php.ini PHP API 20020918 PHP Extension 20020429 Zend Extension 20050606 Debug Build no Zend Memory Manager enabled Thread Safety disabled Registered PHP Streams php, http, ftp, https, ftps, compress.zlib
I seem to be having a problem with slow loading. When I type in a couple of domain names on my browser, I noticed that it will take 2 seconds, before the site will start to load.
On my status bar, it would show "Looking for www.domain.com" during that 2 seconds.
It seems like the DNS is taking a long time to find my IP?
a DNSstuff.com's tools report, shows my DNS as pretty healthy.
What could be the possible reasons behind this?
I dont know much about what could be cuasing this so i come to you for advice, i am currently at wired tree on their VPS384 package with 348MB of ram and my site is really slow to load [url]sometimes it is so embaressing to show people i just dont bother, i am sure this is deferring visitors from my content how can i speed this up?
I can add more ram but it will push the price and if the price goes too high i might aswell move to a Hybrid with wiredtree.
My server gets 300 - 600 concurrent connections to http port 80, has a CPU load of 1 - 2%, has practically all RAM of 1 GB used, is running apache 2 and centos 5.
It tends to get slow and when I ban IPs that use many connections to my server (raping it), it becomes fast again. But soon after that new ******* users come which I again ban and the process repeats itself
I'm starting to think that maybe I just don't have enough RAM to handle them because it seems at least some of those users are legit. I don't however have even that much content that needs to be cached so I'm not sure what good RAM would do but perhaps apache just needs more.
I have a page that is loading very slowly the first time I connect to it. After that it's very fast.
Now I did some research and found out that this could be a DNS issue and that my nameserver might do a reverse DNS lookup.
I do not know excatly what that means yet, but I suppose that could be the issue.
To the my.cnf file I added skip-name-resolve in order to disable DNS lookups, but what I can do to find out if I have a dns issue?
Specs:
VPS
WHM/Cpanel
600MB RAM
CentOS
Apache
i am trying to optimize my dedicated server to host one website (php-nuke platnuam 7.6v2b5 taking 1min to 1min 30secs to load). ive read the tutorials and it does not seem to make a difference no matter what i try. if one of you guys could kindly point out what could possibly be the problem i would be very greatful.
Kernel Version:
2.6.18-8.1.14.el5
Hardware:
Motherboard SuperMicro X7DBR-E Intel Xeon DualCore DualProc SATA 2Proc
Processor Intel Xeon-Clovertown 5335-QuadCore-LV 2GHz
RAM slot 1 Generic 1GB 667ECC FB-DIMM DDR2 1GB
RAM slot 2 Generic 1GB 667ECC FB-DIMM DDR2 1GB
RAM slot 3 Generic 1GB 667ECC FB-DIMM DDR2 1GB
RAM slot 4 Generic 1GB 667ECC FB-DIMM DDR2 1GB
RAM slot 5 Empty
RAM slot 6 Empty
RAM slot 7 Empty
RAM slot 8 Empty
Drive Controller Mainboard Onboard SATAII Controller
Hard Drive 1 Western Digital WD Caviar RE 16 WD2500YS 250GB
Hard Drive 2 Western Digital WD Caviar RE 16 WD2500YS 250GB
Cpanel:
WHM 11.11.0 cPanel 11.15.0-R17665
Top output:
top - 16:44:51 up 17:42, 1 user, load average: 0.01, 0.00, 0.00
Tasks: 154 total, 1 running, 153 sleeping, 0 stopped, 0 zombie
Cpu0 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu1 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu2 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu3 : 0.3%us, 0.0%sy, 0.0%ni, 99.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 3369376k total, 2478128k used, 891248k free, 228052k buffers
Swap: 2096440k total, 0k used, 2096440k free, 1964784k cached
Vmstat:
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
r b swpd free buff cache si so bi bo in cs us sy id wa st
0 0 0 891124 228272 1964832 0 0 34 21 99 81 1 0 98 0 0
0 0 0 891124 228284 1964824 0 0 0 9 1045 161 0 0 100 0 0
1 0 0 891124 228292 1964832 0 0 0 3 1031 130 0 0 100 0 0
0 0 0 891124 228300 1964832 0 0 0 3 1045 157 0 0 100 0 0
0 0 0 891000 228308 1964832 0 0 0 7 1035 144 0 0 100 0 0
Distro:
REDHAT Enterprise 5 i686
Mysql:
4.1.22-standard
Apache:
Server version: Apache/2.0.61
Server built: Oct 17 2007 14:55:40
Cpanel::Easy::Apache v3.2.0 rev2623
php:
PHP 5.2.4 (cli) (built: Oct 17 2007 15:00:59)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
things from the tutorials section ive tried:
this website/showthread.php?t=549666
this website/showthread.php?t=579135
this website/showthread.php?t=340239 (only did 4. Tuning sysctl.conf from here)
I have a VPS over at futurehosting, and I'm having some issues with my PHP/MySQL sites loading slowly after a few days of uptime. A restart of the various services (apache/mysql) fixes the issue, but I'd like the issue to not start in the first place.
I know very little of server administration (I'm still learning) so just let me know what info you need to see to do the troubleshooting and I'll get it to you.
My server has a small load (about 30% of it is being used) and it is still running very slow. When I reboot it runs fast for about 5-10 min, and then it is back to slow. I reported this to hivelocity and the responded with
"
The problem was one of your apache process was pegged out. Restarting apache resolved this issue. If you still have issues check top and run lsof on the process ID that is pegged out."
and after it continued
"It will continur to happen until you isolate the source of the issue and stop it.
The load looked fine just now, so I am not seeing an issue.
What you can do is when it pegs out (simply restarting webserver will get it back up but not resolve) run the following command:
ps -aux
Look through the processes to see what is calling it."
Whn I run ps -aux i see a username on my server. i suspended that username but the problem is still happening.
My machine is pretty good. Here are the specs:
Intel Xeon-Woodcrest 5148-DualCore
3 gigs of ram
250GB Western Digital WD Cavia
I run a forum with a modest amount of traffic along with a content management system handling the other sections of the website. I'm pretty sure the forum isn't the problem though.
The server load for this machine is almost never above a 1. Right now as I type this the load is at 0.17, but it's unbearably slow! Taking up to 16 seconds to load a single page.
What could be causing this? I'm a server n00b. Is there a setting I should be doing to one of my servers configuration files to make it run faster?
My website gets 30-40,000 visitors a day and these problems always occur during peak hours. It would be easier to deal with this though if not for the fact that the server load is always so low. How is it possible for the site to get so slow while the server load is always so low?
I am working with wamp on development phase. We have a Symfony 2 project and I am using Assetic to manage the assets. (no filter used for my test, so no compression or whatever).
I know I am in the development mode and that assetic is meant to work differently on prod environment but the loading of js, css and images is so slow (could be 30s for a dozen css, a dozen js -most of them are already minified- and 4 images, I am using firebug to check) that I wonder if there is a problem with Apache.
I am currently hosting my website on one server with the specs:
2.8ghz Dual Quad-Core processor + 8 gigs of ram + two 500 hard drives with a 50 mbps unmetered bandwidth package.
My current problem lies in high server loads and very slow server performance throughout the day.
I am considering migrating over to The Planet onto server with the specs:
3.0ghz Dual Quad-Core + 18 gigs of ram + two 50gb hard drives with 2TB of monthly bandwidth transfer.
In an attempt to have great bandwidth pricing and server performance, I plan on downgrading my current server with my current host to a lowe-end server and keeping it only to host my VIDEO and MUSIC files with the 50mbps unmetered package. The Planet will then host my database and all other web related files on their new server.
Is this a good idea as an attempt to save money in bandwidth costs and eliminating my server lag issues?
I was offered a setup of a separate web and database server at my current host but from what I have read, no one touches the performance and reliability The Planet has to offer.
all websites on one of my server open very slow..in firefox it just kep saying Waiting.. for at least 10 secs and data is transfered.
contents of my.cnf
[mysqld]
safe-show-database
#old_passwords
back_log = 50
skip-innodb
max_connections = 500
key_buffer_size = 144M
myisam_sort_buffer_size = 64M
join_buffer_size = 1M
read_buffer_size = 1M
sort_buffer_size = 2M
table_cache = 5000
thread_cache_size = 256
wait_timeout = 20
connect_timeout = 10
tmp_table_size = 64M
max_heap_table_size = 64M
max_allowed_packet = 64M
net_buffer_length = 16384
max_connect_errors = 10
thread_concurrency = 4
concurrent_insert = 2
table_lock_wait_timeout = 30
read_rnd_buffer_size = 786432
bulk_insert_buffer_size = 8M
query_cache_limit = 6M
query_cache_size = 128M
query_cache_type = 1
query_prealloc_size = 262144
query_alloc_block_size = 65536
transaction_alloc_block_size = 8192
transaction_prealloc_size = 4096
default-storage-engine = MyISAM
max_write_lock_count = 16
[mysqld_safe]
nice = -10
open_files_limit = 8192
[mysqldump]
quick
max_allowed_packet = 16M
[myisamchk]
key_buffer = 384M
sort_buffer = 384M
read_buffer = 256M
write_buffer = 256M
httpd.conf
KeepAlive: Off
MaxKeepAliveRequests: 100
KeepAliveTimeout: 1
MinSpareServers: 10
MaxSpareServers: 15
StartServers: 10
MaxClients: 150
MaxRequestsPerChild: 1000
I just added a database server in private network and moved the database for Vbulletin Forum to this server.
But some how, the Forum is loading extremely slow compare to before ( when it was on the localhost). Also, Compare to another website on server (using local database) it is much slower.
One thing good is the load is lower
2 servers are connected via 10mbs private link, both servers are at Softlayer.
webserver: Opteron 170, 2GB RAM, 73GB SCSI 15K
database: Quad Xeon 3220, 2GB RAM, 73GB SCSI 15K.
I've been having trouble with my VPS for a while now. In the QoS alerts page in Virtuozzo it seems to be a problem with numtcpsock and tcprcvbuf, mainly numtcpsock.
Copy these into the browser:
i18.photobucket.com/albums/b106/gnatfish/qosnumtcpsock2.jpg
And when i run cat /proc/user_beancounters:
i18.photobucket.com/albums/b106/gnatfish/beancounters2.jpg
This line is particularly scary:
numtcpsock 164 164 166 166 7321
What do i need to do, to get the website running again? It's only one site on the vps a proxy. So i thought a vps would be able to handle one proxy.
My Plesk installation and websites are slow
OVH VPS
8G ram
100 G Harddisk
I'm having the oddest issue. For some reason, some of the websites on my server load fine, and some take a really long time to load (2 minutes).
Now, the server load is fine, and the size of the sites aren't the issue either. I've restarted Apache and a couple more services, and still the same sites seem to load very slow.
What could be causing this since it's only effecting certain websites?
I'm having trouble with a new server. It's a dedicated (Q6600 + 8 gig RAM + 4 x 250gig in Raid 10 + Centos 5.3 64bit + Cpanel).
The machine is way overpowered for the traffic going to the site.
The server load is rarely above .10 and often closer to zero.
I'm getting periodic extreme slow downs. Web pages will take 30-60 seconds to load (or longer). SSH will timeout, or if I can connect, it will take seconds (sometimes 10-15 seconds) for key press to register in the SSH terminal. Pop3 times out, etc.
This might last for 15 minutes or 3-4 hours. Then, everything will start running like a champ again. Traceroutes to the server during the slow downs haven't shown a problem between the server and where I am testing from (have connected from multiple proxies and remote sites to eliminate my local internet connection).
I'm looking for any advice on how to trouble shoot this. Hardware? Software? Configuration issue?
It is definitely not a capacity/load issue. There have been no spikes in web traffic. The opposite, this is a very slow time for my site, which is why I moved to a new server in May.
We have an issue with websites load very slowly in a new server (centos) and we recieve an email from the server stating the following:
IMPORTANT: Do not ignore this email.
The hostname (ns.domain.com) resolves to . It should resolve to
xx.xxx.xxx.90. Please be sure to correct /etc/hosts as well as the 'A'
entry in zone file for the domain.
Some are all of these problems can be caused by
/etc/resolv.conf being setup incorrectly. Please check this file if
you believe everything else is correct.
You may be able to automaticly correct this problem by using the ' Add an A entry for your hostname ' under ' Dns Functions ' in your Web Host Manager
and when we restart "DNS Server (BIND)" or "named" we get as part of the output the following:
view localhost_resolver: received notify for zone 'domain.com': not authoritative
Please find below the contents of /etc/hosts , /etc/resolv.conf and /etc/sysconfig/network:
/etc/hosts:
::1 localhost6.localdomain6 localhost6
# Do not remove the following line, or various programs
# that require network functionality will fail.
XX.xxx.xxx.90 ns.domain.com ns
127.0.0.1 localhost
/etc/resolv.conf :
#domain domain.com
#search domain.com
#nameserver 127.0.0.1
nameserver xx.xxx.xxx.92
nameserver xx.xxx.xxx.93
/etc/sysconfig/network:
NETWORKING=yes
NETWORKING_IPV6=yes
GATEWAY=xx.xxx.xxx.xx
HOSTNAME=ns.domain.com
DOMAINNAME=domain.com
So what could be wrong with the above settings?
My server is very slow, High CPU, High Apache load....
I got a new server and i had setup a script on it.
No server tweaks has been done.
I run a filehosting site so it gets very slow when traffic is high.
Here is some info:
Code:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
4135 filedip 19 0 12812 8892 2212 R 18.9 0.4 0:00.74 index.cgi
3140 apache 15 0 22624 9604 2768 S 17.3 0.5 1:54.45 httpd
3556 apache 15 0 22792 9592 2768 S 17.3 0.5 0:43.53 httpd
3739 apache 15 0 22672 9556 2744 S 17.3 0.5 1:09.67 httpd
3884 apache 15 0 22664 9560 2744 S 17.3 0.5 0:23.98 httpd
3474 apache 15 0 22672 9572 2756 R 16.1 0.5 1:34.09 httpd
3548 apache 15 0 22792 9560 2740 S 16.1 0.5 1:33.67 httpd
3991 apache 15 0 22640 9588 2756 S 15.1 0.5 0:22.44 httpd
3475 apache 15 0 22672 9580 2756 S 13.2 0.5 1:31.42 httpd
3493 apache 15 0 22664 9592 2768 S 12.9 0.5 1:15.52 httpd
3769 apache 15 0 22664 9580 2756 S 12.9 0.5 0:45.19 httpd
3638 apache 15 0 22664 9576 2756 S 12.3 0.5 0:32.82 httpd
3724 apache 16 0 22664 9580 2756 R 12.3 0.5 0:34.25 httpd
3626 apache 15 0 22672 9580 2756 S 11.7 0.5 0:52.54 httpd
4023 apache 16 0 22792 9560 2740 R 11.3 0.5 0:13.16 httpd
3882 apache 15 0 22664 9576 2756 S 10.1 0.5 0:38.56 httpd
3005 apache 15 0 22672 9588 2768 R 9.1 0.5 2:06.61 httpd
I dont know much about server managment...
how to fix this so server doesnt go slow?