Server Forwarding?
Moderator: General Moderators
Server Forwarding?
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.JPG (103.98 KiB) Viewed 11118 times
Re: Server Forwarding?
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
We are using Squid to serve some static content
Thanks
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Re: Server Forwarding?
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
I think our apache instance must have been on it's knees if you got this error
- EverLearning
- Forum Contributor
- Posts: 282
- Joined: Sat Feb 23, 2008 3:49 am
- Location: Niš, Serbia
Re: Server Forwarding?
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.
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 (52.11 KiB) Viewed 11085 times
- Maugrim_The_Reaper
- DevNet Master
- Posts: 2704
- Joined: Tue Nov 02, 2004 5:43 am
- Location: Ireland
Re: Server Forwarding?
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?
Yes! or even Nginx.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?
(I just switched my server from lighttpd to nginx.)
- Maugrim_The_Reaper
- DevNet Master
- Posts: 2704
- Joined: Tue Nov 02, 2004 5:43 am
- Location: Ireland
Re: Server Forwarding?
I'm actually looking at nginx for my new VPS - how do you find it? Does it beat lighttpd's Apache-beating configuration style?
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Re: Server Forwarding?
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.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?
Re: Server Forwarding?
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.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?
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)