Page 1 of 1

Server Forwarding?

Posted: Thu May 15, 2008 11:21 am
by Chalks
I'm not sure if this is an issue with the forums, or an issue with the way my employer blocks websites. However, when I'm surfing devnetwork while working, it's occasionally _very_ slow. I finally got an error message though, and thought you all might want to see it. Attached it to this post.

Re: Server Forwarding?

Posted: Thu May 15, 2008 11:26 am
by JayBird
Yep, that is an issue at our end. We are aware of it and are working on resolving this, and many other issues.

We are using Squid to serve some static content

Thanks

Re: Server Forwarding?

Posted: Thu May 15, 2008 5:08 pm
by Chris Corbyn
When our apache instance dies because it's under too much load you may get this error page. We're using Squid as a reverse proxy to try and cut down on the number of requests hitting apache. A typical first page load of the "post a reply" would send around 20 requests to apache; whereas now it sends only 1 or 2 and the rest comes out of squid's cache.

I think our apache instance must have been on it's knees if you got this error ;)

Re: Server Forwarding?

Posted: Thu May 15, 2008 5:18 pm
by EverLearning
I get that message at least a couple of times a day.
Then again, i browse through the forums throughout the day.

On related note, also on regular basis, i get this(attached image) when posting reply. Probably also related to your apache and squid issues.

Re: Server Forwarding?

Posted: Thu May 22, 2008 3:17 am
by Maugrim_The_Reaper
Are you guys using Apache for static files? I was a bit surprised to hear Apache needing 20 requests for a single page. Where's Lighttpd? ;)

Re: Server Forwarding?

Posted: Thu May 22, 2008 3:26 am
by Zoxive
Maugrim_The_Reaper wrote:Are you guys using Apache for static files? I was a bit surprised to hear Apache needing 20 requests for a single page. Where's Lighttpd? ;)
Yes! or even Nginx.
(I just switched my server from lighttpd to nginx.)

Re: Server Forwarding?

Posted: Thu May 22, 2008 3:33 am
by Maugrim_The_Reaper
I'm actually looking at nginx for my new VPS - how do you find it? Does it beat lighttpd's Apache-beating configuration style?

Re: Server Forwarding?

Posted: Thu May 22, 2008 8:45 am
by Chris Corbyn
Maugrim_The_Reaper wrote:Are you guys using Apache for static files? I was a bit surprised to hear Apache needing 20 requests for a single page. Where's Lighttpd? ;)
Squid serves static files since it gets a HIT for anything static. Ideally we'd have a subdomain for the static stuff, but I don't fancy editting all the templates to use absolute URLs... unless you have a better way? We only have one IP address, but Squid can do some magical things. I've heard good things about Varnish too.

Re: Server Forwarding?

Posted: Fri May 23, 2008 12:19 am
by Zoxive
Maugrim_The_Reaper wrote:I'm actually looking at nginx for my new VPS - how do you find it? Does it beat lighttpd's Apache-beating configuration style?
Well I can't say much, because I've barley used it a day. I actually came across it because I ran across a bug in lighttpd/flash. (One of my sites wanted the ability to upload multiple files at once, and I used mootools+flash to accomplish this, but apparently lighttpd doesn't support 100 continue header.) I did download the 1.5 version of lighttpd but for some reason didn't feel right. I wanted something more reliable.

The learning curve for config files I thought was smaller then lighttpd. But after switching from apache to lighttpd a year ago, I've learned alot about the workings of the webserver/php. So configuring nginx staight forward for me. The only hitch I had is how nginx hands off to the spawned fast-cgi. Also nginx didn't seem to like urls like index.php/controller/action/ but because of the control you have, a little change fastcgi variables and it works fine. (Clean without the index.php)