myfreeforum.org Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  Who is OnlineWho is Online   Join! (free) Join! (free)  
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
For an excellent guide to using your myfreeforum forum, you can visit
howtodoit
The howtodoit "readonly" forum provides answers and walkthroughs for all common questions.
  • Welcome
  • Country: US
    US
    Address: 38.107.191.109
  • Server Appeal

General overhaul of the backup system.
Page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    myfreeforum.org Forum Index -> What's new? Announcements!
View previous topic :: View next topic  
Author Message
admin (no pm's please)
Site Admin
Site Admin


Virtual Cash: 21300

Joined: 22 May 2005
Posts: 25231



Add Karma

rated by 211 members
Add Comment
Show Comments

online/offline
PostPosted: Tue May 19, 2009 1:32 pm    Post subject: Reply with quote

Speed, with a files data striped across multiple drives RAID systems depending on the RAID level can be very fast.



_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

Back to top
View user's profile Private message Visit poster's website
panther_dust
Apprentice
Apprentice


Virtual Cash: 1740

Joined: 12 Oct 2006
Posts: 166



Add Karma

rated by 5 members
Add Comment
Show Comments

online/offline
PostPosted: Tue May 19, 2009 4:20 pm    Post subject: Reply with quote

it is an a way a backup as there is one that mirrors the 1st array. that i class as a backup..

if anything goes wrong with the first array then you have it how it was on the seconed
_________________
PD, Pantherdust, Benjamin, BMDProductions


Back to top
View user's profile Private message
admin (no pm's please)
Site Admin
Site Admin


Virtual Cash: 21300

Joined: 22 May 2005
Posts: 25231



Add Karma

rated by 211 members
Add Comment
Show Comments

online/offline
PostPosted: Tue May 19, 2009 6:38 pm    Post subject: Reply with quote

Let's not play semantics here. Of course it is a copy of data and you can choose to call that a backup if you want. Many people have chosen to view things that way.....





































and regretted it!
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

Back to top
View user's profile Private message Visit poster's website
query
Pupil
Pupil


Virtual Cash: 510

Joined: 13 Mar 2009
Posts: 48



Add Karma

rated by 4 members
Add Comment
Show Comments

online/offline
PostPosted: Tue May 19, 2009 7:48 pm    Post subject: Reply with quote

admin (no pm's please) wrote:
Speed, with a files data striped across multiple drives RAID systems depending on the RAID level can be very fast.


ahhh, okay, I just took a look at all the types of raid, didn't realise there were some that distributed the data, cheers

Back to top
View user's profile Private message
admin (no pm's please)
Site Admin
Site Admin


Virtual Cash: 21300

Joined: 22 May 2005
Posts: 25231



Add Karma

rated by 211 members
Add Comment
Show Comments

online/offline
PostPosted: Fri May 22, 2009 12:36 pm    Post subject: Reply with quote

The database backups continue to complete reliably under the new system. In fact the main culprit came in more than 2.5 hours ahead of its worst completion time

Hopefully with more database pruning that can improve further, another two hours quicker and the backup would be completed at 0815 in the British morning taking will well into the quiet hours.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

Back to top
View user's profile Private message Visit poster's website
admin (no pm's please)
Site Admin
Site Admin


Virtual Cash: 21300

Joined: 22 May 2005
Posts: 25231



Add Karma

rated by 211 members
Add Comment
Show Comments

online/offline
PostPosted: Sat May 23, 2009 10:46 am    Post subject: Reply with quote

Trimmed another 14% off the slarti database size, taking us down to 9.41am as the completion time.

I can see room for a bit more trimming today, but much more would require a tougher purge strategy.

I have half an idea to place inactive forums into a forum of "purgatory" where they would be simply and safely removed from the database. If someone actually does access the forum the files would be pretty much instantly restored.

Databases tables in such a place would be saved say once a week.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

Back to top
View user's profile Private message Visit poster's website
admin (no pm's please)
Site Admin
Site Admin


Virtual Cash: 21300

Joined: 22 May 2005
Posts: 25231



Add Karma

rated by 211 members
Add Comment
Show Comments

online/offline
PostPosted: Sun May 24, 2009 10:57 am    Post subject: Reply with quote

All system weekly backups have completed on the new system. One a mere hour and 20 minutes ahead of last week, one 5 hours ahead and one more than 10 hours ahead of last week

The system where there was only an hour or so gain, is the one with a much smaller backup size and the system where performance is the least issue, so that figure is to be expected.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

Back to top
View user's profile Private message Visit poster's website
admin (no pm's please)
Site Admin
Site Admin


Virtual Cash: 21300

Joined: 22 May 2005
Posts: 25231



Add Karma

rated by 211 members
Add Comment
Show Comments

online/offline
PostPosted: Fri Jul 03, 2009 7:15 am    Post subject: Reply with quote

Bumping this again. The thread here was overtaken by events as we had to get a new backup server and that has required a fair bit of work improving the general backup infrastructure.

But now is the time to get back to deal with the way backups can effect forums performance, and this means getting back onto the idea of removing unvisited forums from the backup systems by moving them out of the database directory structures, but making is so that when someone accesses the forum they are snapped back in seamlessly.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

Back to top
View user's profile Private message Visit poster's website
admin (no pm's please)
Site Admin
Site Admin


Virtual Cash: 21300

Joined: 22 May 2005
Posts: 25231



Add Karma

rated by 211 members
Add Comment
Show Comments

online/offline
PostPosted: Fri Jul 03, 2009 12:23 pm    Post subject: Reply with quote

In one sense this is mostly done, the system can move a forum to "purgatory" and if it is accessed it snaps back with no perceivable delay on the office systems

I do need to do some work though on calling forums back from purgatory to be purged and last but not least whilst the system works in the office security is a lot tighter on the actual servers and will need tweaking to allow access to the code to return a forum from purgatory.

It all takes a little thought, for example I was thinking I'd need to notify the system that a forum had return from purgatory, but is it really needed? actually probably it is.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

Back to top
View user's profile Private message Visit poster's website
admin (no pm's please)
Site Admin
Site Admin


Virtual Cash: 21300

Joined: 22 May 2005
Posts: 25231



Add Karma

rated by 211 members
Add Comment
Show Comments

online/offline
PostPosted: Fri Jul 03, 2009 3:06 pm    Post subject: Reply with quote

or not.

Trouble with a notification is that we run a client server system. Your forum may be a myfreeforum.org, but might well reside on the myfastforum.org server, so a notification would for a myfreeforum forum would go from the server the forum is on, to the server for the forum domain and then back to the server the forum is on, this both introduces a dependency and does little for the process being seamlessly quick.

Instead the forum now ask themselves, was I flagged as in purgatory? If so then change those bits in my configuration that deal with that to remove the flags and the return from purgatory code.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

Back to top
View user's profile Private message Visit poster's website
admin (no pm's please)
Site Admin
Site Admin


Virtual Cash: 21300

Joined: 22 May 2005
Posts: 25231



Add Karma

rated by 211 members
Add Comment
Show Comments

online/offline
PostPosted: Wed Jul 08, 2009 8:38 am    Post subject: Reply with quote

The new code is now installed, every night we run a script that processes all the forums, tonights should start placing forums that no one has accessed in 100 days into "purgatory", we will see the effect of this in the next nights backup.

The one flaw in the system is that the backup system is currently geared to only keep backups for 3 months, thus forums in purgatory would be ultimately vulnerable. The way round this will be to create another backup process to save the purgatory file system once a month.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

Back to top
View user's profile Private message Visit poster's website
admin (no pm's please)
Site Admin
Site Admin


Virtual Cash: 21300

Joined: 22 May 2005
Posts: 25231



Add Karma

rated by 211 members
Add Comment
Show Comments

online/offline
PostPosted: Thu Jul 09, 2009 9:16 am    Post subject: Reply with quote

The first night sees 25% in purgatory at the start of the day.

I will measure again later and see what the "churn" factor is, even a bot visit will take a forum out of purgatory.

25% is a quite solid number though, and one that we should be able to increase.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

Back to top
View user's profile Private message Visit poster's website
Nascarfan13
Newbie
Newbie


Virtual Cash: 40

Joined: 14 Jun 2009
Posts: 3



Add Karma

rated by 0 members
Add Comment
Show Comments

online/offline
PostPosted: Fri Jul 10, 2009 2:59 pm    Post subject: Reply with quote

http://snw.myfreeforum.org/index.php


Could this cause my forum to not be able to be accessed? I could get to my forum about 15 minutes ago, now all of a sudden I can't even get to the index page, and then I checked my modem to see if my internet was out and its not, so something is causing my forum to be inaccessible.  And I know its not A rouge admin because right before it went down, there were no members on online at all.

Back to top
View user's profile Private message
LFF
Novice
Novice


Virtual Cash: 150

Joined: 17 Jan 2009
Posts: 14



Add Karma

rated by 1 members
Add Comment
Show Comments

online/offline
PostPosted: Fri Jul 10, 2009 3:24 pm    Post subject: Reply with quote

http://lancasteroh.myfreeforum.org/
We are down also. Support is down too. I fought my way in to leave a message that MFF is down. orcikat@aol.com

Quote:
General Error
SQL ERROR [ mysql4 ]

Too many connections [1040]

An sql error occurred while fetching this page. Please contact an administrator if this problem persists.

Back to top
View user's profile Private message
namecaps
Newbie
Newbie


Virtual Cash: 80

Joined: 10 Apr 2009
Posts: 8



Add Karma

rated by 0 members
Add Comment
Show Comments

online/offline
PostPosted: Fri Jul 10, 2009 3:26 pm    Post subject: Reply with quote

 When I try to access my free forum I get this message    

phpBB : Critical Error

Could not connect to the database

my forum is

http://aimclan.myfreeforum.org/

my email is    spaceman@bigpond.net.au
could you please advise me if you know what problem is
thanks



Back to top
View user's profile Private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    myfreeforum.org Forum Index -> What's new? Announcements! All times are GMT
Page Previous  1, 2, 3  Next
Page 2 of 3
 
 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Card File  Gallery  Forum Archive
Powered by phpBB © 2001, 2005 phpBB Group
Create your own free forum | Buy a domain to use with your forum