Apache :: 2.4.10 Stop Loading Resources

Mar 3, 2015

I encounter a strange issue with Apache. My apache proxy is configured to work as a reverse proxy with virtuals hosts using SSL.

When I try to load a web site page with several ressources, internet navigator begin to load ressources but often stop without ending. It continue to load (cursor) but don't do anything.

On both side (client and server), requests terminate with status 200 so all seem good but... (debug navigateur and acces.log OK)

After several F5 (refresh), all ressources are finally loaded and the html page display correctly.

Here is my configuration :

Server OS : Ubuntu server 14.04.2 (64 bits)
Apache version : 2.4.10
SSL version : 1.0.1f (ubuntu version)

An example of host :
...
<VirtualHost 192.168.254.16:443>
ServerName ged.irsa.fr

SSLEngine on
SSLCertificateFile /etc/certificates/ged.irsa.fr.2.crt
SSLCertificateKeyFile /etc/certificates/ged.irsa.fr.2.key
SSLCertificateChainFile /etc/certificates/gandi/Gandi_bundle_CA.pem
[Code] ....

Modified configuration in apache2.conf file :
...
AcceptFilter http none
AcceptFilter https none
EnableSendfile off
EnableMMAP off
...

Modified configuration in mods_enabled/ssl.conf :

...
SSLCipherSuite ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:

[Code] ....

Here is an extract off /var/log/apache/error.log with trace mode, just before the stop loading :

[Tue Mar 03 11:52:00.115567 2015] [proxy:debug] [pid 5339:tid 140124566247168] proxy_util.c(2146): AH00943: AJP: has released connection for (*)
[Tue Mar 03 11:52:00.115671 2015] [ssl:trace4] [pid 5339:tid 140124566247168] ssl_engine_io.c(2054): [client 90.83.195.161:16378] OpenSSL: I/O error, 5 bytes expected to read on BIO#7f7163bfdff0 [mem: 7f71180798d3]

[Code] ....

I have test many things but nothing worked for the moment.

View 3 Replies


ADVERTISEMENT

Apache Taxing Resources Says Hosting Company

May 15, 2008

I got this unnerving email from my hosting company today:

"While investigating performance issues on the hardware you're hosted on, we have noticed that your Apache process has been using a large amount of resources / disk i/o. So much in fact that it is affecting other users. This has become a violation of both our Acceptable Usage Agreement, and our Terms of Service. Respond within 24 hours of this notice, agreeing to cooperate with Spry staff in the resolution of this issue. You must modify and/or delete this process to fall within acceptable limits again. You must also take measures to prevent this kind of abuse in the future."

So I called them and the advice I was given was to stop hotlinking and check my stats. Well I did the first but the later revealed no server abuse. Tonight I saw load averages spike and stay about 2-3. The server was going slow. So I disabled Spamd and loads when back to normal.

I'm just wondering if there is anything else I can do. For the issue they talked about is what I want to watch load times?

View 1 Replies View Related

Loading Localhost With Apache

Dec 9, 2007

I've had a localhost server setup for awhile now, and all of a sudden when I access [url]it wants to download my "index.php" file. However, when I access it via [url]is loads fine.

View 7 Replies View Related

Apache/MySQL/PHP Issue - PHP Not Loading

Jun 28, 2008

I've got a server that was running Apache 2.0/PHP 5.2.5 & MysQL 5.0 just fine, however I needed to upgrade to a newer version of MySQL.

So I uninstalled MySQL 5.0 and installed MySQL 5.1, copied the MySQLlibs over, and recompiled Apache/PHP with easyupdate. Apache & MysQL both start/run fine without errors, however PHP files don't load. Just get black pages (HTML works fine obviously).

I went ahead and updated to Apache 2.2 & PHP 5.2.6 while I was at it, but that doesn't change things. I'm not sure why uninstalling MysQL & reinstalling would break any dependencies, but looks like thats the case. Perhaps I need to reinstall some libraries?

Or would it be easier just to reinstall Apache/PHP entirely? I have no data.

View 4 Replies View Related

Apache :: Webpage Loading Very Slowly

Jul 6, 2015

In short, the main page for my Mediawiki install loads very slowly. I know I have a lot going on with the main page and can do some other things to speed it up but my main issue is a 10.5 second pause that I can discern no reason for. I ran the site through GT Metrix and saw this:

[URL]

What is that long pause for and how can I stop it?

View 1 Replies View Related

SELinux Is Preventing Apache/PHP From Loading Modules

Jul 28, 2008

I can't get SELinux to let httpd load the IonCube module for PHP. I've given the CentOS 5 forum a try (here: http://www.centos.org/modules/newbb/...15403&forum=42), talked with WHMCS's support (the app I'm using that needs it), and even opened a ticket with IonCube. Unfortunately nobody seems to know how to tell SELinux to let httpd "exec" modules.

I'm running CentOS 5, and the error I'm getting in /var/log/messages is:

Jul 23 10:15:30 host kernel: audit(1216833330.905:1249): avc: denied { execheap } for pid=22055 comm="httpd" scontext=root:system_r:httpd_t:s0 tcontext=root:system_r:httpd_t:s0 tclass=process

I can disable SELinux and it works fine (setenforce 0), but that's not the solution I'm looking for. Can someone please tell me how to do this the *right* way?

View 11 Replies View Related

Find Out Which .conf Files Apache 2.2 Is Loading

Apr 23, 2009

Is there a way to get Apache to tell me which .conf file it is loading at start-up?

There's a box that's misbehaving and Apache is running on port 80 and 8080 on the box... but we can't locate *why* it's running on port 8080. I can't find any Listen 8080 statement in the typical config files. If I knew which config files it was loading, I could go through all of the files in more detail.

View 4 Replies View Related

Apache :: Localhost Is Randomly Loading Forever?

Mar 12, 2015

my local host is just taking incredibly long to load. At work I've set it up no differently and it works like a charm, but at home, it works.. But at times it doesnt load instantly until I restart my browser. I have to press refresh or enter to login a million times for it to load after the first few seconds I use it.

View 1 Replies View Related

Apache :: Loading Assets With Assetic Is So Slow

Dec 18, 2013

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.

View 10 Replies View Related

Apache :: HTML5 Media Loading Sometimes Suspends Or Aborts

Aug 29, 2014

Recently, some code on a web application that has been working fine for months started to run unexpectedly. That code is just a media files loading JavaScript function, that uses jQuery. It's pretty long, but in essence it is like this:

Code:
var $audio=$('<audio>');
$audio.on('canplaythrough',function(e){
$audio[0].play();
});
$audio.attr('src','song.ogg');

Basically, the file only loads sometimes, and sometimes stops loading with a suspend or even an abort event.

I have uploaded a little testing HTML to [URL] .... , where you can see what's happening. You can download the test files from[URL] .... for local testing.

I have just checked that opening the test index.html file directly into Firefox, and not through my localhost Apache server, makes the audio files perfectly playable. So, I assume, my hosting and I have the Apache server misconfigured for serving media files.

My software versions are: Linux Mint 13, Apache 2.2.22-1ubuntu1.7 , Mozilla Firefox 31.0 , Chromium 36.0.1985.125 and jQuery 1.11.0.

My Apache server configuration is very basic. I have just installed the package, alongside the php mod, and modified very little on the conf file. I think the problem is not related to my specific configuration, and many other people would be able to reproduce it on they own.

I have checked the Apache error.log after a suspended loading, but nothing was added to it.

View 4 Replies View Related

Apache :: Images Not Loading In Reverse Proxy In Ubuntu

Apr 12, 2013

I've set up a reverse proxy using the Ubuntu Apache2 package (2.2.2, with evidently an old version of mod_proxy_html), and it's about 50% functional, but certain images aren't loading.

I've tried with and without ProxyHTMLExtended on, but even with it on I'm not convinced that any non-inline scripts or CSS files are being properly handled, as they are being directed to my local root directory instead of /app1/, and when it is on, I can no longer log in to the internal webapp.

In the log, the only errors that stand out to me are those referencing things from relative root directories, like /images/* and /ajax/*. The image files are coming from separate CSS files, and it doesn't tell me where exactly the ajax references are originating.

Here is the relevant part of my VH config:

ProxyRequests Off
ProxyPass /app1/ http://example.com/
ProxyHTMLURLMap http://example.com /app1

ProxyHTMLLogVerbose On
LogLevel debug

<Location /app1/>
ProxyPassReverse /
SetOutputFilter proxy-html
ProxyHTMLURLMap / /app1/
ProxyHTMLURLMap /images([^)]*) url(/app1/images$1) Rih
ProxyHTMLURLMap url(http://example.com([^)]*)) url(http://localhost/app1/) Rih
RequestHeader unset Accept-Encoding
</Location>

And here's an example of the errors:

[Thu Apr 11 23:22:50 2013] [error] [client 127.0.0.1] File does not exist: /var/www/images, referer: http://localhost/app1/css/examplefile.css
[Thu Apr 11 23:31:00 2013] [error] [client 127.0.0.1] File does not exist: /var/www/ajax, referer: http://localhost/app1/admin/

Comparing the source to the proxied version, I see that the images are going from "/images/*" to "/var/www/images/*".

View 1 Replies View Related

Videos Not Loading/ Loading Very Slow

Dec 5, 2008

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

View 11 Replies View Related

How To Stop Apache From Doing Url Decoding

Apr 20, 2009

there is a customer who transferred their site over to our servers and has run into some kind of encoding issue.

They have file on their website named:

EXCL%204810_00%20BeefSkewers.jpg

You can see that the "%20" characters are actually part of the file name on the server.

So the problem is that when they try to call the image in a URL:

[url]

It gives a 404 not found error.

We use apache 2.2.x on our servers, and my admins are stuck on how to fix this.

(Besides renaming the files. The problem is that this issue appears to also effect other text in their database that uses various symbols, such as the ", ', and the degree (for temperature) sign...)

View 3 Replies View Related

Apache :: SSL Requests Stop Working After A While

Sep 29, 2013

I have Apache 2.4.2, OpenSSL/1.0.1c, on Windows Web Server 2008 R2 (64 bits)

After 12 hours of heavier load, the SSL requests stopped working/being answered. However if you requested the same page via http instead of https, it worked fine. Restarting the Apache server fixes this, for a while. Again after a few hours of traffic, the https requests stopped working again. I checked the logs, and nothing notable, the mod_ssl entries just...

The site is called only by client developed with Delphi 2007 (CodeGear user-agent). Delphi client use THTTPRIO for sending HTTPS request to SOAP.

View 9 Replies View Related

Apache :: 2.4.3 - SSL Requests Stop Working After A While

Dec 13, 2012

So I just upgraded Apache 2.2.22 to Apache 2.4.3 and made sure to go through all the options that had changed and update the conf file accordingly. This included adding the cache module for SSL and changing the SSLMutex option over to Mutex default ssl-cache. We also turned off SSLCompression due to the CRIME attack vulnerability.

We use apache strictly as a loadbalancer to 2 tomcat servers via mod_jk. Apache serves no static content at this time.

After being deployed, everything worked fine until later in the day. After 3 hours of heavier load (our site only takes significant traffic during business hours), the SSL requests stopped working/being answered. However if you requested the same page via http instead of https, it worked fine.

Restarting the Apache server fixes this, for a while. Again after a few hours of traffic, the https requests stopped working again. This time I turned the loglevel up to debug and restarted the Apache server.

As traffic slowed down it took another 6 or 7 hours before SSL requests stopped working again. I checked the logs, and nothing notable, the mod_ssl entries just... stopped. (I don't know for sure its ammount of traffic related, it just seems that way)

I have tried reproducing this in a lab, but have not been able to get it to happen on the lab server.

OS: Windows Server 2008 R2
Apache: 2.4.3 vc9 build with OpenSSL 0.9.8 downloaded from apachelounge.org
Mod_JK Version 1.2.37 vc9 also downloaded from apachelounge.

View 10 Replies View Related

Apache :: 2.4 Randomly Stop Responding

Feb 21, 2012

I use apache 2.4.1 and mod_fcgid (same config form apache 2.2.22+mod_fcgid 2.3.6) and without any error message, apache stop responding randomly.There is no problem with apache 2.2.22+mod_fcgid 2.3.6 and with apache 2.4.1 + php5_module i have

View 19 Replies View Related

Apache :: How To Start And Stop On Ubuntu

Sep 27, 2013

I have installed Apache on ubuntu as per our project related manual by using the packages.

httpd-2.4.4.tar.gz
apr-1.4.6.tar.gz
apr-util-1.5.2.tar.gz

I copied apr-1.4.6 apr-util-1.5.2 (after extract) to srclib directory of apr-util-1.5.2

and created symbolic links as below

ln _s apr-1.4.6 apr
ln _s apr-util-1.5.2 apr-util

and configured httpd-2.4.4 with
./configure --with-included-apr

and make ; make install;

now my apache is running , but how to stop and start the apache.

I googled for reference and found it can be done using

sudo /etc/init.d/apache2 stop
sudo /etc/init.d/apache2 start

I dont have apache2 in my /etc/init.d folder.

how to start and stop.

View 1 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 Taxing Resources" Says Hosting Company

May 15, 2008

I got this unnerving email from my hosting company today:

"While investigating performance issues on the hardware you're hosted on,
we have noticed that your Apache process has been using a large amount
of resources / disk i/o. So much in fact that it is affecting other
users. This has become a violation of both our Acceptable Usage
Agreement, and our Terms of Service. Respond within 24 hours of this
notice, agreeing to cooperate with Spry staff in the resolution of this
issue. You must modify and/or delete this process to fall within
acceptable limits again. You must also take measures to prevent this
kind of abuse in the future."

So I called them and the advice I was given was to stop hotlinking and check my stats. Well I did the first but the later revealed no server abuse. Tonight I saw load averages spike and stay about 2-3. The server was going slow. So I disabled Spamd and loads when back to normal.

I'm just wondering if there is anything else I can do. For the issue they talked about is what I want to watch load times?

View 10 Replies View Related

CSF Resources

Feb 22, 2007

I am running a cPanel/WHM VPS and would like to know what sort of resources CSF takes?

View 1 Replies View Related

Good Resources For EC2

Jun 25, 2009

After speaking to a colleague about some major benefits of EC2 for on-demand hosting I've been very interested in learning more.

I've spent the past 2 evenings trolling through Amazon Doc's and blog posts and have a fair assessment about how things work but I'm at a stopping point.

There doesn't seem to be a dedicated EC2 area here on Sitepoint and the Amazon EC2 forums seem geared more towards 'advanced' users.

Are there any reliable communities that are more for the beginner?

I've got a LAMP webserver Instance running on EC2 but I'm very unclear about how to login and begin adding files and managing the data. I'm sure it's pretty simple but the documentation pretty much loses me when they start discussing Security Groups and public/private keys.

I'm not much of a server admin but have grown pretty comfortable on our FC4 dedicated boxes that we currently host on.

View 3 Replies View Related

Lower Nfs Resources

Feb 23, 2008

I don't mind have nfs running, but how do I keep it running at the lowest as possible... seems like it's hogging up all my usage/cpu's...

View 2 Replies View Related

Allow Exim More Resources

Mar 12, 2008

I am sending out an email blast to about 30000 addresses when I leave. Because this is the down-time for our site, is it possible to temporarily give Exim more resources to help process? Or would this even be beneficial?

If both questions answer yes, please let me know where I should look for instructions on doing this.

View 0 Replies View Related

How To Restrict CPU Resources

Jun 26, 2008

I would like to configure my delicated server to have following restriction on cpu...

system resources: 10% @ 30 sec per cPanel Account

View 8 Replies View Related

SQL Taking Up Too Much Resources

May 23, 2008

One of my servers keep overloading due to a SQL process.

The process is:

/usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/zeus1.forcium.net.pid --skip-external-locking --socket=/var/lib/mysql/mysql.sock

It takes up pretty much 90-95% of the cpu and memory at times if I do not kill the process. But even after I kill the process it comes back and immediately hogs up cpu load again causing it to go into loads of 8.00 or higher ( I have 8cpus ).

View 6 Replies View Related

Can You Change A VPS Resources On The Fly

Jun 9, 2008

I'm guessing it's a no but if I start a VPS and it starts to eat ram or I think it needs more CPU can I just increase it? I'm talking about using OpenVZ.

View 4 Replies View Related

VPS Resources - Normal Or Not

Jun 7, 2007

We've just started to use a VPS, and so far no problems I've been looking at the resources and they seem a little high considering it's pretty much out of the box, and I've only setup 4 sites which aren't even public yet. The only thing I've changed is the php.ini to increase the memory limit to 32mb. My main concern is that these sites don't suffer when they go live.

In the Plesk control panel the memory says:
3.8 GB of 3.8 GB used; 47.1 MB available
The 47.1mb is pretty much average, although I've seen it go as low as 115mb.

In Virtuozzo the system usage (resource: capacity) is usually around 60-75%

Both of these seem a little high, but I'm not sure if these readings are for the whole physical server, or just my portion of it.

Also in the (Virtuozzo) QoS alerts I've had quite a few Yellow zone, black zone and one red zone reports, at around 5am - quite possibly the quietest time on a server which isn't hosting any live sites yet. These have both been on the numproc and the privvmpages services (the red zone was one the privvmpages). Is there anything I should be looking at or is this fairly normal operation for a VPS? I have nightly backups scheduled for around 1am. These were originally set for 4am, but reports were showing that they were running out of memory, so Iíve now staggered the times of these to see if that helps. I've haven't changed anything resource-wise other than the php, so I thought it would be good to go from the start, but maybe it needs some fine tuning.

View 7 Replies View Related

Virtuozzo Check Resources

Mar 27, 2009

Is there a way on a Virtuozzo server (via. SSH) to check how much CPU or load/cpu-resources each container is using? Or some other way?

View 2 Replies View Related

Exim Eating Up A Lot Of Resources

Mar 27, 2009

We have a Dedicated Hosting Account running with the following configuration:

QTY Hardware Component
1 Supermicro Dual Xeon SATA X5DPA-TGM
2 Intel 2.4 GHz 533FSB P4 Xeon
4 Generic 512 MB DDR 266 ECC Reg
2 Western Digital 160GB:IDE:7200rpm 160GB
1 Unknown Onboard IDE


Installed Software
- Urchin Urchin 5
- Redhat Enterprise Linux - OS ES 4.0
- cPanel, Inc. cPanel STABLE

We are using Exim for the mail server.

The Server Load reaches upto 35-40.00 every now and then and apparently Exim eats up most of the Resources.

I am attaching a few Screens with the output of Command line top and the WHM Process Manager.

You can see there are a lot of exim Processes/threads running.

how to Optimize the Server for this.

View 5 Replies View Related







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