browser doesn't stop loading

zeus

Verified User
Joined
Apr 23, 2013
Messages
20
Hi,
I need your help to solve a big problem: randomly, when I visit several websites on my server, the browser doesn't stop loading the page, during 1 or 2 minutes; if I stop the loading and I refresh the page this is loaded instantly. I don't understand what is the problem.
My configuration: dedicated server Intel Xeon E5-1620v2 at 3,7Ghz, 64 GB Ram, 2x3 TB sata3 hd, bandwith at 500 Mbits, CentOS 6.6 64 bit, DirectAdmin with Custombuild 2.
Installed software: Apache 2.4.10, DirectAdmin 1.47.0, Exim 4.84, MySQL 5.6.22, Named 9.8.2rc1, dovecot 2.2.15, Php 5.3.29, suhosin 0.9.37.1, suPHP 0.7.2
Normally, mysql uses 240/400 Mb and apache 20/80 Mb.

This server was an upgrade from another less powerful but with Custombuild 1.2 and all sites worked fine.

I'm not an expert and I don't know where I can try to find the solution. My provider thinks the problem could be in the caching or something similar. But I don't use caching tools.
Please, could anyone help me to solve this problem? Which log you suggest to see?
Thank you very much
Regards
 
Hello,

Try and use Mozilla Firefox for example with enabled and opened web console to see what makes a browser to load a page for a longer time.
If you need someone to check and fix your issue please feel free to contact us here by PM for a quote.
 
Hello,

Try and use Mozilla Firefox for example with enabled and opened web console to see what makes a browser to load a page for a longer time.
If you need someone to check and fix your issue please feel free to contact us here by PM for a quote.

Hi Zeiter,
first of all thank you for your reply.
I tried 5 times to load a specific website of the server, recording with the firefox web console plugin activated and it stored 5 json file, 47 mb in total (difficult to attach).
The problem could be related to javascipt, I think. But I cannot be sure.
I run ./build rewrite_confs and rebuild apache and php, so I have the default setting, correct?
Are there specific settings for javascript? Or to solve my problem?
Do you think is normal that Mysql starts at 250 mb of usage? The server is hosting 90 Joomla web sites.

I'm very tired about this problem and I would like to come back to custombuild 1.2... :(
 
Javascript has nothing to do with directadmin, the server and it's settings. Think of it like the site's logo.
 
Javascript has nothing to do with directadmin, the server and it's settings. Think of it like the site's logo.

I understand it and agree with you, but the problem persists and same websites on previous server (less power, centos 5 and directadmin 1.2) worked perfectly.
I think there is someting wrong in some configuration files. But I didn't understand where.
 
I understand it and agree with you, but the problem persists and same websites on previous server (less power, centos 5 and directadmin 1.2) worked perfectly.
I think there is someting wrong in some configuration files. But I didn't understand where.
Has to be a coincidence. I'm reluctant to believe that javascript files on a page has anything to do with custombuild.

Clear your cache. Use another browser. Check and see if those javascript files are being served as flat files instead of from a database.. etc..
 
Has to be a coincidence. I'm reluctant to believe that javascript files on a page has anything to do with custombuild.

Clear your cache. Use another browser. Check and see if those javascript files are being served as flat files instead of from a database.. etc..

What I mean is that maybe there is something wrong in some configuration file, not in custombuild.
I don't now how many times I cleared my cache, changed browser, different connections and different pcs.

What do you mean with "Check and see if those javascript files are being served as flat files instead of from a database" ?
If I send you a PM with some website link could you test it?
 
Try and test your site: https://developers.google.com/speed/pagespeed/insights/ and http://tools.pingdom.com/fpt/
Without seeing results or testing your sites myself I won't guide you to solve the issue.

There are some aspects which might slow down your new server. Is that VPS? How about your neighbors? How is server IOwait?

What about top output (the very first 5-10 lines)? What about server-status? LA? Isn't your server under HTTP flood? DDoS? Bruteforce attack?
 
Last edited:
Try and test your site: https://developers.google.com/speed/pagespeed/insights/ and http://tools.pingdom.com/fpt/
Without seeing results or testing your sites myself I won't guide you to solve the issue.

There are some aspects which might slow down your new server. Is that VPS? How about your neighbors? How is server IOwait?

What about top output (the very first 5-10 lines)? What about server-status? LA? Isn't your server under HTTP flood? DDoS? Bruteforce attack?

Hi Zeiter,
it's a real server (you can see it in details in my first post); in top output I cannot see nothing particular and all services seem are not requiring high resources. I receive several attacks everyday but I don't think it is under continuos attack. An important point is that this problem is random, not always.
It seems something similar to a memory that runs out, like a full cache.
I'm checking with my provider if it is something in network, but I think it could be an error in some configuration file (software problem).

I deactivated suhosin in custombuild2 configuration pluign and for a couple of days the problem seemed solved, but few minutes ago it has came back :-(
It seems releted to users traffic on the server, because I don't see the problem during the night.
During the problem, if I restart mysqld, httpd and dovecot (the 3 highest services in Service Monitor), the error is temporarily solved.
Seriously, I don't know what can I do to solve this problem.

There is a way to completely re-install all custombuild software (apache, php, mysql, ecc.) from scratch without losing the users datas? The server is in production.
Thanks anyway
 
Of course custombuild allows to reinstall all the software with

Code:
./build all d

I doubt you gain anything with it.

Search the forums with "high load", and "optimization" keywords and read what you find. Or even better hire somebody to optimize your server and tune it for better performance.
 
Back
Top