500 Internal Server Error

For you to give feedback to the Heartland moderators. Wish lists, fault reports, etc. You may get an answer, you may not. As in all things, it largely depends on how nicely you ask the people in charge... You're welcome.
Post Reply
User avatar
markfiend
goriller of form 3b
Posts: 21181
Joined: 11 Nov 2003, 10:55
Location: st custards
Contact:

Not trying to a pain QB but have you looked at phpBB3 again recently? It's in 'proper' release now; I installed it for a client and it's a dream. I'm guessing it would be a pain in the unmentionables to upgrade though...
The fundamental cause of the trouble is that in the modern world the stupid are cocksure while the intelligent are full of doubt.
—Bertrand Russell
User avatar
Pista
Cureboi
Posts: 17625
Joined: 25 Jun 2006, 15:03
Location: Lost In A Forest
Contact:

Another one @ 16.36 CET. :(
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@myheartland.co.uk and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Cheers.
Steve
Just like the old days

TheCureCommunity
User avatar
Quiff Boy
Herr Administrator
Posts: 16794
Joined: 25 Jan 2002, 00:00
Location: Lurking and fixing
Contact:

@ mf: the upgrade isn't too hard - i've tried it on a backup of HL. the main issues are that 1) the upgrade script takes about 4 hours to port all the posts across, and 2) the script to rebuild the search tables takes about a day to run :urff: and all this would need to happen while HL was offline.

its the timing & the logistics that are tricky more than the technical aspect.

(it would come with new themes too, so i would need to design some headers for the various themes i have in mind. if anyone is feeling creative and wants to design a header for one of the new HL themes, drop me a PM and i'll send you some screenshots of what i have so far... :idea:)

@ everyone else: our hosts seem to be having some network issues at the moment. the impact of which is that the webserver is under extreme load and generating those 500 http error messages you see for extended periods.

its out of my hands i'm afraid. suffice to say they are looking into it (its affecting many of their customers i gather :o)

bloody hell.

part of me wonders if upgrading to phpbb3 (with its enhanced security, amongst other things) might help our meagre webserver out a little but :?
What’s the difference between a buffalo and a bison?
User avatar
markfiend
goriller of form 3b
Posts: 21181
Joined: 11 Nov 2003, 10:55
Location: st custards
Contact:

Quiff Boy wrote:@ mf: the upgrade isn't too hard - i've tried it on a backup of HL. the main issues are that 1) the upgrade script takes about 4 hours to port all the posts across, and 2) the script to rebuild the search tables takes about a day to run :urff: and all this would need to happen while HL was offline.
:urff: I didn't realise that doing an upgrade would be so much more hassle than a clean install.
The fundamental cause of the trouble is that in the modern world the stupid are cocksure while the intelligent are full of doubt.
—Bertrand Russell
User avatar
James Blast
Banned
Posts: 24699
Joined: 11 Jun 2003, 18:58
Location: back from some place else

Pan Breid! 20:00 ~ 20:40
"And when you start to think about death, you start to think about what's after it. And then you start hoping there is a God. For me, it's a frightening thought to go nowhere".
~ Peter Steele
User avatar
Big Si
School Bully
Posts: 6747
Joined: 19 Nov 2002, 00:00
Location: Glesga Central

James Blast wrote:Pan Breid! 20:00 ~ 20:40
Aye, slower than a week in Bar-L :urff:
Wyrd bið ful aræd...

mybelgiannemesis
User avatar
Quiff Boy
Herr Administrator
Posts: 16794
Joined: 25 Jan 2002, 00:00
Location: Lurking and fixing
Contact:

markfiend wrote:
Quiff Boy wrote:@ mf: the upgrade isn't too hard - i've tried it on a backup of HL. the main issues are that 1) the upgrade script takes about 4 hours to port all the posts across, and 2) the script to rebuild the search tables takes about a day to run :urff: and all this would need to happen while HL was offline.
:urff: I didn't realise that doing an upgrade would be so much more hassle than a clean install.
yeah, mainly due to HL's size :o

you do a clean install, then run the upgrade scripts & point it at an existing phpbb2 installation and it sucks in all the posts & info and reformats them before putting them back into its own database.

because its all done through a web interface, it moves the posts over in batches of 2000. it's hands-free, but it takes an age.

presumably, the whole thing is possible via an sql script - which i could run directly on the server via ssh, in a fraction of that time... but i know not of any such sql scripts :?
What’s the difference between a buffalo and a bison?
User avatar
mh
Above the Chemist
Posts: 8123
Joined: 23 Jun 2003, 14:41
Location: A city built on rock 'n' roll

It should be as simple as an INSERT INTO ... AS SELECT FROM ..., but the reformatting bit might throw that somewhat.
If I told them once, I told them a hundred times to put 'Spinal Tap' first and 'Puppet Show' last.
User avatar
Quiff Boy
Herr Administrator
Posts: 16794
Joined: 25 Jan 2002, 00:00
Location: Lurking and fixing
Contact:

nah, the whole db structure has changed. the table schemas are quite different :urff:

i'm pretty sure its possible, but i wouldnt like to have to try it :lol:

the only show stopper i could think of is if the php does any processing or data manipulation prior to inserting it into the new db. that might not be possible from an sql script :?

i might have a look on the phpbb.com and phpbbhacks.com forums to see if anyone else has tried a direct sql-based upgrade :idea:
What’s the difference between a buffalo and a bison?
User avatar
weebleswobble
Underneath the Rock
Posts: 5875
Joined: 09 Feb 2006, 06:57
Location: The Bat-Milk Cave
Contact:

Do you have a Heartland For Dummies? :urff: ;D
‎"We will wear some very loud shirts. We will wear some very wrong trousers."
User avatar
Big Si
School Bully
Posts: 6747
Joined: 19 Nov 2002, 00:00
Location: Glesga Central

weebleswobble wrote:Do you have a Heartland For Dummies? :urff: ;D
Scotty wrote:How you doin'?
:wink: ;D
Wyrd bið ful aræd...

mybelgiannemesis
User avatar
6FeetOver
Childlike Empress
Posts: 7683
Joined: 25 Jan 2002, 00:00
Location: way on down south, New London town...
Contact:

After the most recent 500 error, I got this one, which is summat I'd never seen before:

"message_die() was called multiple times. This isn't supposed to happen. Was message_die() used in page_tail.php?"


:eek: :urff:
I left my heart in Ballycastle... :cry: :cry: :cry:
User avatar
Pista
Cureboi
Posts: 17625
Joined: 25 Jun 2006, 15:03
Location: Lost In A Forest
Contact:

SINsister wrote:After the most recent 500 error, I got this one, which is summat I'd never seen before:

"message_die() was called multiple times. This isn't supposed to happen. Was message_die() used in page_tail.php?"


:eek: :urff:
Looks like it could be a rarity. You thought about the trading section? :innocent: :lol:
Cheers.
Steve
Just like the old days

TheCureCommunity
User avatar
6FeetOver
Childlike Empress
Posts: 7683
Joined: 25 Jan 2002, 00:00
Location: way on down south, New London town...
Contact:

Oy, Steve! :lol: :P
I left my heart in Ballycastle... :cry: :cry: :cry:
User avatar
weebleswobble
Underneath the Rock
Posts: 5875
Joined: 09 Feb 2006, 06:57
Location: The Bat-Milk Cave
Contact:

That's nothing! I got 500 error Fek Off Ging-er!! ;D
‎"We will wear some very loud shirts. We will wear some very wrong trousers."
User avatar
mh
Above the Chemist
Posts: 8123
Joined: 23 Jun 2003, 14:41
Location: A city built on rock 'n' roll

Just got this little bundle of joy - anyone else?

Image
If I told them once, I told them a hundred times to put 'Spinal Tap' first and 'Puppet Show' last.
User avatar
Quiff Boy
Herr Administrator
Posts: 16794
Joined: 25 Jan 2002, 00:00
Location: Lurking and fixing
Contact:

i think the webserver and the db server both have software on them that monitors their load. if they come under an undue amount of stress they will automatically reboot

i'm guessing the db server was about to reboot when you get that :?:

hmmm :|
What’s the difference between a buffalo and a bison?
User avatar
mh
Above the Chemist
Posts: 8123
Joined: 23 Jun 2003, 14:41
Location: A city built on rock 'n' roll

So if the error 500 comes while it's actually in the process of rebooting...?

The game's afoot, Watson :?:
If I told them once, I told them a hundred times to put 'Spinal Tap' first and 'Puppet Show' last.
User avatar
Quiff Boy
Herr Administrator
Posts: 16794
Joined: 25 Jan 2002, 00:00
Location: Lurking and fixing
Contact:

i think the 500s are a sign that it might be struggling and so about to trigger reboot... maybe.
What’s the difference between a buffalo and a bison?
User avatar
Quiff Boy
Herr Administrator
Posts: 16794
Joined: 25 Jan 2002, 00:00
Location: Lurking and fixing
Contact:

ok guys, here's a bit of an update...

i contacted the hosting co's tech support again and asked them to look into the webserver logs regarding the spate of internal server errors that we've been getting over the weekend, and got this response:
Dreamhost wrote:

Code: Select all

2008-02-03 11:51:39 kill 9418 user	 php5.cgi "Process
puts user over total memory limit (xx.37 used + 12.29 additional would be
over xxx.00 limit)"
It looks like your forum is starting to creep up on memory usage (this
will just happen over time as it gets busier)

You may just be outgrowing shared hosting. Perhaps its time to look at a
virtual private server? http://dreamhostps.com

Maybe there are some mods/plugins/modules that you can install or remove,
or features you can disable to reduce memory usage.
which in short means the forum software is hogging their server resources, and some automatic tripwire security software is killing the PHP process (a pretty typical anti-hacking security measure), which the forum requires. hence the errors.

there's nothing i can really do re: disabling plugins etc, so it looks like we have just outgrown a 'shared server'. thus i have decided to register for one of their private servers:

http://www.dreamhostps.com/

starting off with this level of service:

RAM> 300 MB
CPU> 300 MHz
TOTAL $30.00/month

to start with, with a view to increasing that to "515 MB / 515 Mhz / $50.00 pcm" if it seems to make a difference.

what else does it offer us? well.....
dreamhostps.com wrote:What's so great about it?
You get your own protected CPU and memory!
You can still burst up to the much more cpu and memory!
It works just like your current shared service!
We'll never kill a persistent process / cronjob you run!
You can name your own "server"!
You get a unique IP (a $4.95/month value)!
You can change your memory and CPU on the fly... no reboot needed!
You can reboot your own server from our panel instantly!
You get historical memory / load graphs on our panel!
this is the bit that s of particular interest to us:

"We'll never kill a persistent process / cronjob you run!"

the package will also enable me to ramp up (or down, i guess) the amount of cpu & memory available to the webserver at any one time, which should hopefully avoid the errors we've been getting, as detailed above.

there's a waiting list for a personal server, but i've added my name to the list so in a couple of weeks it should be up and running.

its a bit more expensive than the existing package, but its worth it if it makes the whole thing a bit more stable again :idea:

i'll keep you all updated with the request as it gets processed.

in the meantime, please just hang on in there.... :)
What’s the difference between a buffalo and a bison?
User avatar
markfiend
goriller of form 3b
Posts: 21181
Joined: 11 Nov 2003, 10:55
Location: st custards
Contact:

Thirty dollars a month? Jeez! :eek:
The fundamental cause of the trouble is that in the modern world the stupid are cocksure while the intelligent are full of doubt.
—Bertrand Russell
User avatar
Pista
Cureboi
Posts: 17625
Joined: 25 Jun 2006, 15:03
Location: Lost In A Forest
Contact:

@Quiffy

Mail me the bank details, so I can transfer a donation via the interwebby.
Cheers.
Steve
Just like the old days

TheCureCommunity
User avatar
markfiend
goriller of form 3b
Posts: 21181
Joined: 11 Nov 2003, 10:55
Location: st custards
Contact:

markfiend wrote:Thirty dollars a month? Jeez! :eek:
Having said that, we've just bought a dedicated server at work for £89.99 a month plus VAT...
The fundamental cause of the trouble is that in the modern world the stupid are cocksure while the intelligent are full of doubt.
—Bertrand Russell
Dark
Underneath the Rock
Posts: 6605
Joined: 27 Oct 2004, 21:26
Location: People's Republic of Glasgow
Contact:

Do you get your own personal ISP for that price? :eek:
User avatar
markfiend
goriller of form 3b
Posts: 21181
Joined: 11 Nov 2003, 10:55
Location: st custards
Contact:

Unlimited bandwidth, unlimited mySQL databases, unlimited domains, 160GB storage, right on the ISP's backbone...
The fundamental cause of the trouble is that in the modern world the stupid are cocksure while the intelligent are full of doubt.
—Bertrand Russell
Post Reply