Server Forwarding?

We know you have an opinion on how things should be run around here. These are suggestions for the forums, and the website.This forum is not a place to ask for suggestions to your own coding (or otherwise) problems.

Moderator: General Moderators

Post Reply
User avatar
Chalks
Forum Contributor
Posts: 447
Joined: Thu Jul 12, 2007 7:55 am
Location: Indiana

Server Forwarding?

Post 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.
Attachments
error at my workplace
error at my workplace
error.JPG (103.98 KiB) Viewed 9876 times
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Re: Server Forwarding?

Post 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
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: Server Forwarding?

Post 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 ;)
User avatar
EverLearning
Forum Contributor
Posts: 282
Joined: Sat Feb 23, 2008 3:49 am
Location: Niš, Serbia

Re: Server Forwarding?

Post 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.
Attachments
reply.jpg
reply.jpg (52.11 KiB) Viewed 9843 times
User avatar
Maugrim_The_Reaper
DevNet Master
Posts: 2704
Joined: Tue Nov 02, 2004 5:43 am
Location: Ireland

Re: Server Forwarding?

Post 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? ;)
User avatar
Zoxive
Forum Regular
Posts: 974
Joined: Fri Apr 01, 2005 4:37 pm
Location: Bay City, Michigan

Re: Server Forwarding?

Post 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.)
User avatar
Maugrim_The_Reaper
DevNet Master
Posts: 2704
Joined: Tue Nov 02, 2004 5:43 am
Location: Ireland

Re: Server Forwarding?

Post 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?
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: Server Forwarding?

Post 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.
User avatar
Zoxive
Forum Regular
Posts: 974
Joined: Fri Apr 01, 2005 4:37 pm
Location: Bay City, Michigan

Re: Server Forwarding?

Post 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)
Post Reply