Early Retirement Forums

Go Back   Early Retirement Forums > General > Forum Admin





Reply
 
Thread Tools Search this Thread Display Modes
Old 01-15-2008, 09:32 PM   #21
haha
Give me a museum and I'll fill it. (Picasso)
Give me a forum ...
 
haha's Avatar
 
Join Date: Apr 2003
Location: Seattle
Posts: 8,397
Unbelievably slow this evening- 7pm pst.

Ha
__________________
"Show 'em just enough to win the turkey."- Former KY Governor Bert Combs
haha is offline   Reply With Quote
Old 01-15-2008, 09:33 PM   #22
cute fuzzy bunny
Give me a museum and I'll fill it. (Picasso)
Give me a forum ...
 
cute fuzzy bunny's Avatar
 
Join Date: Dec 2003
Location: Losing my whump
Posts: 22,527
Consistently good ping times to both. Within 1-2ms of each other.

Shouldnt matter if its one bad one and one good one. Whichever one is bad will have web server logs showing the 500 errors and the root cause.

For the benefit of the users who dont know what a "server 500" error is, that occurs when something goes wrong at the server end, its unable to respond to your http request, so it sends you a "500" error to indicate that its had a problem and cant comply with your request.
__________________

Many an optimist has become rich by buying out a pessimist
cute fuzzy bunny is offline   Reply With Quote
Old 01-15-2008, 11:36 PM   #23
Nords
Moderator Emeritus
 
Nords's Avatar
 
Join Date: Feb 2004
Location: Oahu
Posts: 15,681
Quote:
Originally Posted by Andy R View Post
Thanks for the feedback, it's very helpful. I will pass it on. If possible, can you try adding a 1 or 2 in the URL when this happens. It might lead to some more info.

Examples:
www1.early-retirement.org
www2.early-retirement.org

The server admins are investigating things right now.
Yeah, that'll keep us all busy while the server admins are getting their stories straight...
__________________
*
*
For more info see "About Me" in my profile.
Nords is offline   Reply With Quote
Old 01-15-2008, 11:53 PM   #24
Andy R
Administrator
 
Andy R's Avatar
 
Join Date: Jan 2007
Location: Dallas, Tx
Posts: 851
The server admins were able to find some scripts that are crashing fastcgi (php). I now have access to the logs and am keeping an eye on the errors. I think we are going to need to change the web servers from running lighttp to another web server like Apache 2 or LightSpeed.

Please post back here if the servers slow to a crawl again.
Andy R is offline   Reply With Quote
Old 01-25-2008, 03:27 PM   #25
cute fuzzy bunny
Give me a museum and I'll fill it. (Picasso)
Give me a forum ...
 
cute fuzzy bunny's Avatar
 
Join Date: Dec 2003
Location: Losing my whump
Posts: 22,527
A whole flurry of 500 errors again today and they were on www2. www1 responded just fine. I got about 30 500 errors in a row on www2.
__________________

Many an optimist has become rich by buying out a pessimist
cute fuzzy bunny is offline   Reply With Quote
Old 01-25-2008, 09:18 PM   #26
Rich_in_Tampa
Moderator
 
Rich_in_Tampa's Avatar
 
Join Date: Feb 2006
Location: Tampa
Posts: 5,881
Uh oh. Slow and a few time-outs this evening for me, too.
__________________
Rich
Tampa, FL (10% retired)

As if you didn't know..If the above message happens to contain medical content, it's NOT intended as advice, and may not be accurate, applicable or sufficient. Don't rely on it for any medical purpose whatsoever. Consult your own doctor for all medical advice.
Rich_in_Tampa is offline   Reply With Quote
Old 01-26-2008, 09:42 AM   #27
HFWR
Give me a museum and I'll fill it. (Picasso)
Give me a forum ...
 
HFWR's Avatar
 
Join Date: May 2005
Location: DFW
Posts: 5,404
Recent performance has often been slow, with timeouts and 500 errors. Might be my imagination, but the slow loads are at least partly caused waiting for Goodle ads to load...

It's a bit frustrating to be surfing along, and then nothing...

I guess you get what you pay for...
__________________
Have Funds, Will Retire


Two turntables and a microphone...
HFWR is offline   Reply With Quote
Old 01-26-2008, 01:39 PM   #28
Andy R
Administrator
 
Andy R's Avatar
 
Join Date: Jan 2007
Location: Dallas, Tx
Posts: 851
I am investigating. Also, just as an FYI, after the last round of issues reported earlier in this thread I found some 3rd party monitoring services and have them setup to monitor the site. Here are the public reports for January.

E-R.org WWW1, January 2008
E-R.org WWW2, January 2008

I will speak to the server admins now about the issues and put together a game plan to ditch lighttpd and move to Apache next month. Lighttpd (link) is the web server and it runs in a way that causes the 500 server errors. Apache will not have those types of errors so it should be easier to monitor and restart using automated tools.
Andy R is offline   Reply With Quote
Old 01-26-2008, 03:45 PM   #29
Rich_in_Tampa
Moderator
 
Rich_in_Tampa's Avatar
 
Join Date: Feb 2006
Location: Tampa
Posts: 5,881
Good to hear, Andy. I have never seen a more stable and robust combination than PHP, mySQL and Apache. That combination is as good as it gets in my experience.
__________________
Rich
Tampa, FL (10% retired)

As if you didn't know..If the above message happens to contain medical content, it's NOT intended as advice, and may not be accurate, applicable or sufficient. Don't rely on it for any medical purpose whatsoever. Consult your own doctor for all medical advice.
Rich_in_Tampa is offline   Reply With Quote
Old 01-26-2008, 09:58 PM   #30
Andy R
Administrator
 
Andy R's Avatar
 
Join Date: Jan 2007
Location: Dallas, Tx
Posts: 851
I went with lighttpd because a guy I was working with was telling me about it's scaling capability. You can set it up to have seperate php processing machines effectively making an application layer. That way when you need more power you can just add a machine optimized to process php. I thought I was going to utilize that feature but it just gets too complex. The switch to Apache is going to happen around the middle of February. I will keep monitoring the servers and see if we can keep things running as well as possible until then.

Do we have any php developers, database admin or other technical members? I am always looking for good people, it's seems that every programmer I know is gainfully employed and do not have any free time for moonlighting.
Andy R is offline   Reply With Quote
Old 01-26-2008, 10:29 PM   #31
BigMoneyJim
Thinks s/he gets paid by the post
 
BigMoneyJim's Avatar
 
Join Date: Feb 2003
Posts: 2,392
Quote:
Originally Posted by Andy R View Post
I went with lighttpd because a guy I was working with was telling me about it's scaling capability. You can set it up to have seperate php processing machines effectively making an application layer. That way when you need more power you can just add a machine optimized to process php. I thought I was going to utilize that feature but it just gets too complex. The switch to Apache is going to happen around the middle of February. I will keep monitoring the servers and see if we can keep things running as well as possible until then.

Do we have any php developers, database admin or other technical members? I am always looking for good people, it's seems that every programmer I know is gainfully employed and do not have any free time for moonlighting.
Funny you should mention this. I've been running lighttpd since October 2006 and just switched back to Apache in the past 24 hours for similar reasons. I didn't have the 500 error problems like you've had, but everything is designed for Apache (rewrites, premade .htaccess files) and I got tired of trying to hack lighttpd to work with my php sites.

Also patches and upgrades are easier with Apache since it updates with your OS updates.

I just set up Squid as a web accelerator. It has the great advantage of taking the static file load off of the big mod_php Apache processes so they can deal mainly with dynamic requests. The downside is that logging is different, and some php apps may not play well with it, but vBulletin seems to be set up well for it. In my case I'm scaling down and this helps me run with fewer Apache processes in my limited RAM. It scales up and allows for redundant backends, but then we get into complexity again. Anyway, it's just a thought. You may not need it if you have enough server and enough RAM, though.

Anyway, maybe I'm ready to do some moonlighting. Whatcha think?

EDIT: From a distance, the 500 errors are clearly something in the backend PHP processes. Probably not script errors, so either there are some timeout issues between servers, or processes are segfaulting or something is amiss so that the fastcgi channels are failing.

Last edited by BigMoneyJim; 01-26-2008 at 10:41 PM.
BigMoneyJim is offline   Reply With Quote
Old 01-26-2008, 10:57 PM   #32
Andy R
Administrator
 
Andy R's Avatar
 
Join Date: Jan 2007
Location: Dallas, Tx
Posts: 851
I think the 500 errors are happening when a php fastcgi process uses up all the RAM that's allocated to it, it then locks up and stops processing the php script. The web server stays running but throws out the error. Anyway, I look forward to switching back to Apache for all the reason you stated Jim. Everything is written for apache and the extra work needed to run lighttpd is just not worth it. I think Apache 2.x makes big improvements also.
Andy R is offline   Reply With Quote
Old 01-26-2008, 11:46 PM   #33
BigMoneyJim
Thinks s/he gets paid by the post
 
BigMoneyJim's Avatar
 
Join Date: Feb 2003
Posts: 2,392
Quote:
Originally Posted by Andy R View Post
I think the 500 errors are happening when a php fastcgi process uses up all the RAM that's allocated to it, it then locks up and stops processing the php script. The web server stays running but throws out the error.
That would certainly do it. If the data stream isn't finished the frontend server has no choice but to reply with a 500 error.

You can increase the PHP memory per process in the php.ini file. On my server it's in /etc/php4/cgi/php.ini and was set to 8MB by default. I had to up it to 16MB for my software.

If that's where the problem is then Apache will have problems, too, but in that case the file (for my server, anyway) is /etc/php4/apache2/php.ini.

Code:
memory_limit = 8M      ; Maximum amount of memory a script may consume (8MB)
A quick search tells me vBulletin people are setting this at 16MB, 32MB or even higher, although I'd be surprised if 32MB weren't too much.
BigMoneyJim is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why I think this board is so slow. Nords Forum Admin 23 11-02-2007 11:36 PM
This site has become very slow! haha Forum Admin 27 03-20-2007 08:24 PM
THC May Slow Down Alzheimer's REWahoo Other topics 14 10-06-2006 08:36 PM
New Server Seems Awfully Slow Donner Forum Admin 2 05-09-2005 11:43 PM


All times are GMT -6. The time now is 06:41 AM.

Other Social Knowledge forum communities:
Cooking Forum - Sailing Forum - Early Retirement - Airstream Trailer - Aquarium Forum - Royal Forum - Book Forum - Volkswagen Touareg Forum - Jeep Wrangler Forum - Whitewater Kayaking & Rafting Forum - Fiberglass RV Forum - RV Forum - Truck Conversion - U2 Music Forum
Social Knowledge Networks
Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0