After some time tinkering with a Drupal 5 installation we finally decided to try it out as our default homepage. After it was online for a couple of weeks, our hosting provider shut the website down, claiming our site was generating so many HTTP connections it almost brought down their server. After enabling CSS aggregation and page caching they told us the problems persisted. I don't see anything alarming in the Apache or Webalizer logs (like multiple downloads of the same element).
That's why I am wondering if we just generate more (valid) traffic than their server can handle, but they don't want to tell us that or our site really has a problem.
Can someone help me with figuring this out?
Our website is: http://www.stylos.nl
Comments
First page view (of home
First page view (of home page) generated 24 requests. 2nd page view (another page) generated over 50. Subsequent page views generated about 10 each. This seems reasonable, and the site seems fast. I can't see any problems!
gpk
----
www.alexoria.co.uk
gpk
----
www.alexoria.co.uk
I am not sure if I have any
I am not sure if I have any suggestions for the hosting of your site - except that I use dreamhost and they seem to be pretty good if you decide to switch.
But could I also bother you with a quick question about it? I like the sidebar on the right with the tabbed navigation for news, poll, events. Any chance you would be willing to shed some light on how that was done - is it a module or something custom?
Thanks for any info about that! Nice site.
Oh yes, and I was going to
Oh yes, and I was going to ask what you used for the nice dropdown menus :-)
[I think you were after answers, not questions...!]
gpk
----
www.alexoria.co.uk
gpk
----
www.alexoria.co.uk
tabs and dropdown
The tabs and dropdown menus are done using jQuery UI (http://ui.jquery.com/). Take a look in the page source, the scripts are in the head.
For the tabs I had to rewrite a function in template.php to return a unordered list of all blocks before returning all blocks:
Thanks, I saw the
Thanks, I saw the jquery-ui.js and wondered if that had something to do with it..
Any luck sorting things out with your host?
gpk
----
www.alexoria.co.uk
gpk
----
www.alexoria.co.uk
We just got another e-mail
We just got another e-mail from our host.
After inspecting the logs, I realised that a lot of hits seems to come from search engine robots, can that be the problem?
Unless something about your
Unless something about your site is causing robots to go crazy ... or unless someone is trying to d.o.s you ... it doesn't make sense really, especially the point about the site/server being swamped by HTTP connections ... if you converted your site to static HTML files that wouldn't change the connections ... you seem to have cacheing on (doesn't change connections but does improve performance) ... and the site is extremely fast. Perhaps just too many graphic elements for your host's liking??? But nothing abnormal that I can see.
gpk
----
www.alexoria.co.uk
gpk
----
www.alexoria.co.uk
monitor manually..
shh into the server and "tail -f access.log" or whatever your access log is - watch out for repetitive bot requests, like 2/3 a second from the same ip - could be the cause. If it is get the offending ip addresses and ask your host to add a deny rule to the iptables for the ip addresses :)
good design and stylish menus
Sorry out of the topic.
sharma chelluri
Devel
Install the devel module and look at your queries. It could be the number of queries causing the problem. I was surprised to find on my site that I could reduce the number of queries by about half by making sure that my blocks (query intensive) were set to show only on specific pages. Otherwise they were loaded (but not displayed) on every page, resulting in over 1000 queries on the home page. I didn't expect drupal to work that way, but that's what I found.