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
ADVERTISEMENT
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
May 27, 2009
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.
View 4 Replies
View Related
Dec 28, 2008
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.
View 13 Replies
View Related
Mar 22, 2007
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 Related
Sep 29, 2007
i 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
View 5 Replies
View Related
Jul 1, 2007
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?
View 8 Replies
View Related
May 16, 2008
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
View 4 Replies
View Related
Oct 17, 2007
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)
View 5 Replies
View Related
Oct 15, 2007
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.
View 4 Replies
View Related
Jun 29, 2008
server load is low according to top command / mytop but what I dont understand all websites on the server are loading very slow.
View 10 Replies
View Related
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
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
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
View Related
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
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
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
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
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
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
Jan 19, 2007
when I click a link in my site, sometimes nothing happens, until the connection times out. What could be causing this problem and what could I do to solve it? Increase the max number of Apache processes, threads per child, or what?
View 4 Replies
View Related
Jan 17, 2014
I have a problem with slow Apache 2.4.4. It's only related with https which is in general 5 time slower than the same site via http. I see this difference on the monitoring software which is measuring response time to http and https every 5 seconds. In some cases i got even timeouts in the browser on https while in the same time site is opening over http - slowly but opens always.
Apache runs on Win2k8 Enterprise, Version 2.4.4 x64 - VC10. Server is connected with quite poor internet connection as it's located in Africa. Despite of connection quality http is working properly all the time.
View 19 Replies
View Related
Aug 4, 2013
I've very slow response (from 1-2 seconds to tens of seconds) from http://localhost using Apache 2.4.3/Win32 service on Windows 8/32bit (6.2 build 9200). It doesn't depend on the browser used. Responses from all other sites are much faster.
Because it seemed to me to be a DNS issue, I tried to uncomment "127.0.0.1 localhost" and/or "::1 localhost" line in the hosts file, put "http://127.0.0.1" or "http://[::1]" instead of "http://localhost" into the browser, flushing dns by ipconfig /flushdns, stopping DNS Client by "net stop dnscache", disabling IPV6, etc. but nothing worked.
It seems that hosts file is ignored and "localhost" is passed to external DNS. Ping localhost yields to "Reply from ::1: time<1ms" response, ping 127.0.0.1 yields to expected "Reply from 127.0.0.1: bytes=32 time<1ms TTL=128" response.
Finally, "unplugging the network cable" is the only solution I've found: then the connection to localhost is much faster.
How to get instant response when connected?
View 6 Replies
View Related
Feb 15, 2013
I have a website on a linux-server working fine with PHP/Apache. The page loads a lot of css/js/image-stuff (total 84 requests, 220k), it takes about 4 secs to load via internet.
Now I'm testing the same page locally on a Win7-64-system (Apache 2.2, PHP 5.4). The system is not very slow (8 GB RAM, SSD, i7-CPU), but loading the same page as above takes about 50 secs.
The Q is: What might be the problem?
- I turned off firewall and anti-virus.
- I used mod_status: 150 threads, max. 11 seems to be used during the loading of the page.
- I tried php5apache2_2.dll with TS-PHP 5.4 and mod_fcgid.so with NTS-PHP 5.4, but the loading-time kept almost the same.
Looking at the "network-tab" in FF or Chrome, I found that a lot of subqueries get a timing like this:
Blocking: 11.96 s
Sending: 0
Waiting: 1 ms
Receiving: 6ms
So the loss of time seem to be in the "blocking"-section. I first thought of something like "limited number of TCP-Connections", but as said above, on the same system the page is remotly loaded fast enough almost without these "blocking"-parts.
View 3 Replies
View Related
Aug 27, 2010
Apache seems to have a maximum client download speed of 5Mb/s. That too after I use these commands:
# Improve file transfer speeds on Windows Machines
EnableSendfile Off
EnableMMAP Off
Which without, the speeds are even slower!
I know for sure the server I am running Apache on can go to much higher speeds (2MB/s to even 12MB/s) because I tested it via FTP.
View 2 Replies
View Related
Jan 22, 2014
I have Configured Apache2.4.4 for forward Proxy and tested from my browser the response is very slow and even not coming complete Response for some requests.
I also Tested the same for Apache2.2 Forward Proxy it is very fast and good.
May I know what is the Problem in Apache 2.4
Is there any Issues in proxy modules (mod_proxy,mod_proxy_connect.so,mod_proxy_http.so) in Apache2.4
This is the same configuration i used for Apache2.2 and Apache2.4
##########################################################################
## Apache Forward proxy
##########################################################################
<IfModule !proxy_module>
LoadModule proxy_module modules/mod_proxy.so
</IfModule>
<IfModule !proxy_connect_module>
LoadModule proxy_connect_module modules/mod_proxy_connect.so
[Code] ....
View 1 Replies
View Related
Nov 11, 2008
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?
View 3 Replies
View Related