 |
|
01-15-2008, 08:32 PM
|
#21
|
Give me a museum and I'll fill it. (Picasso) Give me a forum ...
Join Date: Apr 2003
Location: Hooverville
Posts: 22,983
|
Unbelievably slow this evening- 7pm pst.
Ha
__________________
"As a general rule, the more dangerous or inappropriate a conversation, the more interesting it is."-Scott Adams
|
|
|
 |
Join the #1 Early Retirement and Financial Independence Forum Today - It's Totally Free!
Are you planning to be financially independent as early as possible so you can live life on your own terms? Discuss successful investing strategies, asset allocation models, tax strategies and other related topics in our online forum community. Our members range from young folks just starting their journey to financial independence, military retirees and even multimillionaires. No matter where you fit in you'll find that Early-Retirement.org is a great community to join. Best of all it's totally FREE!
You are currently viewing our boards as a guest so you have limited access to our community. Please take the time to register and you will gain a lot of great new features including; the ability to participate in discussions, network with our members, see fewer ads, upload photographs, create a retirement blog, send private messages and so much, much more!
|
01-15-2008, 08:33 PM
|
#22
|
Give me a museum and I'll fill it. (Picasso) Give me a forum ...
Join Date: Dec 2003
Location: Losing my whump
Posts: 22,702
|
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.
__________________
Be fearful when others are greedy, and greedy when others are fearful. Just another form of "buy low, sell high" for those who have trouble with things. This rule is not universal. Do not buy a 1973 Pinto because everyone else is afraid of it.
|
|
|
01-15-2008, 10:36 PM
|
#23
|
Moderator Emeritus
Join Date: Dec 2002
Location: Oahu
Posts: 26,839
|
Quote:
Originally Posted by Andy R
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...
__________________
*
Co-author (with my daughter) of “Raising Your Money-Savvy Family For Next Generation Financial Independence.”
Author of the book written on E-R.org: "The Military Guide to Financial Independence and Retirement."
I don't spend much time here— please send a PM.
|
|
|
01-15-2008, 10:53 PM
|
#24
|
Administrator
Join Date: Jan 2007
Location: Dallas, Tx
Posts: 1,219
|
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.
|
|
|
01-25-2008, 02:27 PM
|
#25
|
Give me a museum and I'll fill it. (Picasso) Give me a forum ...
Join Date: Dec 2003
Location: Losing my whump
Posts: 22,702
|
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.
__________________
Be fearful when others are greedy, and greedy when others are fearful. Just another form of "buy low, sell high" for those who have trouble with things. This rule is not universal. Do not buy a 1973 Pinto because everyone else is afraid of it.
|
|
|
01-25-2008, 08:18 PM
|
#26
|
Moderator Emeritus
Join Date: Feb 2006
Location: San Francisco
Posts: 8,827
|
Uh oh. Slow and a few time-outs this evening for me, too.
__________________
Rich
San Francisco Area
ESR'd March 2010. FIRE'd January 2011.
As if you didn't know..If the above message contains medical content, it's NOT intended as advice, and may not be accurate, applicable or sufficient. Don't rely on it for any purpose. Consult your own doctor for all medical advice.
|
|
|
01-26-2008, 08:42 AM
|
#27
|
Give me a museum and I'll fill it. (Picasso) Give me a forum ...
Join Date: May 2005
Location: Lawn chair in Texas
Posts: 14,183
|
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
...not doing anything of true substance...
|
|
|
01-26-2008, 12:39 PM
|
#28
|
Administrator
Join Date: Jan 2007
Location: Dallas, Tx
Posts: 1,219
|
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.
|
|
|
01-26-2008, 02:45 PM
|
#29
|
Moderator Emeritus
Join Date: Feb 2006
Location: San Francisco
Posts: 8,827
|
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
San Francisco Area
ESR'd March 2010. FIRE'd January 2011.
As if you didn't know..If the above message contains medical content, it's NOT intended as advice, and may not be accurate, applicable or sufficient. Don't rely on it for any purpose. Consult your own doctor for all medical advice.
|
|
|
01-26-2008, 08:58 PM
|
#30
|
Administrator
Join Date: Jan 2007
Location: Dallas, Tx
Posts: 1,219
|
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.
|
|
|
01-26-2008, 09:29 PM
|
#31
|
Thinks s/he gets paid by the post
Join Date: Feb 2003
Location: Nomadic in the Rockies
Posts: 2,720
|
Quote:
Originally Posted by Andy R
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.
|
|
|
01-26-2008, 09:57 PM
|
#32
|
Administrator
Join Date: Jan 2007
Location: Dallas, Tx
Posts: 1,219
|
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.
|
|
|
01-26-2008, 10:46 PM
|
#33
|
Thinks s/he gets paid by the post
Join Date: Feb 2003
Location: Nomadic in the Rockies
Posts: 2,720
|
Quote:
Originally Posted by Andy R
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.
|
|
|
 |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
Thread Tools |
Search this Thread |
|
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
» Recent Threads
|
|
|
|
|
|
|
|
|
|
|
|
|
» Quick Links
|
|
|