Page Index Toggle Pages: [1] 2 3 
Topic Tools
Very Hot Topic (More than 25 Replies) Load time (Read 9,888 times)
depablo
YaBB Moderators
YaBB Next Team
Beta Testers
***
Offline



Posts: 577
Location: UK

None
Load time
Nov 7th, 2012 at 9:59pm
Post Tools
Anyone find this forum a bit slow to load?
  

Taking a peek behind the mask Wink
Back to top
 
IP Logged
 
westwegoman
Ex Member
**




YaBB 2.5.2
Re: Load time
Reply #1 - Nov 7th, 2012 at 10:01pm
Post Tools
depablo wrote on Nov 7th, 2012 at 9:59pm:
Anyone find this forum a bit slow to load?

NOticed that also. Thought it was just me.
  
Back to top
 
IP Logged
 
xnoddyx
Support Team
Documentation Team
YaBB Moderators
YaBB Next Team
Beta Testers
****
Offline



Posts: 1,591
Location: UK:Scotland/livingston

None
Re: Load time
Reply #2 - Nov 7th, 2012 at 10:21pm
Post Tools
yer i have but it normally don't last so haven't posted but been on and off for the last 3 days
  

YaBB install help video
1. what yabb forum are you running and the url
2. describe in as much detail as you can what happens and also post screenshots if you can
3. please be patient we live in different time zones and have other commitments but we will help you
as bill and ted say (Be excellent to each other)
Back to top
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 3,981
Location: Land of the Blazing Sun!

YaBB 2.6.1
Re: Load time
Reply #3 - Nov 7th, 2012 at 10:53pm
Post Tools
Earlier today, we were testing the built-in YaBB Backup methods.  For 'this forum only' the patched Backup.pl has 'issues'.  Specifically it can't use the tar.gzip filter. This lead to multiple 'tar' jobs that ran for hours past the lifting of the Maintenance Flag - it was harmless as we already had a full backup.  The alternative was to abort the server - baaaad idea. We also had to make sure we could pull the data off and extract correctly.

I am working on a fix with the host and help from Dandello. I fully expect to have the problem solved in a day or two.  We are still getting standard daily backups of the whole server, so no data is at risk.  The testing was part of 'bolting together' of the different YaBB versions into a single code trunk.  When the Backup.pl fix is done, I will post the 'fixed' 2.5.2 style code and add notes to the 'best practices' Backup topic in ThinkTank.

Thanks
Cool
  

I find your lack of faith disturbing.
Back to top
IP Logged
 
Dandello
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 2,434
Location: Earth

YaBB 2.6.1
Re: Load time
Reply #4 - Nov 8th, 2012 at 12:44am
Post Tools
I have a tentative fix (which needs to be tested.)

in Settings.pl find
Code
Select All
@backup_paths =
 


add after
Code
Select All
$backupprog = '/usr/bin';
 

(change the '/usr/bin' to where you know the tar and zip modules actually are.)

In Admin/NewSettings.pl find:
Code
Select All
\@backup_paths = qw($backup_paths); 


add after:
Code
Select All
\$backupprog = '$backupprog'; 



(If you don't change NewSettings.pl you'll lose the path variable when Settings.pl updates.)

Now, I can't properly test this since my home server is on XP and my VPS has the Tar and gzip modules in the standard place ('/usr/bin/'). If gzip isn't in '/bin/' we may need to add a variable for that as well.
(Change the name of the attached file to Backup.pl - obviously.)  Roll Eyes
  

Backup.txt ( 46 KB | 118 Downloads )

If you only have one solution to a problem you're not trying hard enough!
Back to top
WWW  
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 3,981
Location: Land of the Blazing Sun!

YaBB 2.6.1
Re: Load time
Reply #5 - Nov 8th, 2012 at 6:22pm
Post Tools
OK, thanks

I'll look at it later and test at an appropriate time.  I can't test on my Linux server either, as everything works correctly there.

Its likely we should anticipate having a configuration option for both items, while 'auto-filling' the defaults in from pre-configured values in Settings.pl.

I will be moving this fix, along with an accurate description. to the 'new' Bugs topic once we have that straightened out.

Thanks very much
Cool
  

I find your lack of faith disturbing.
Back to top
IP Logged
 
Dandello
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 2,434
Location: Earth

YaBB 2.6.1
Re: Load time
Reply #6 - Nov 8th, 2012 at 6:33pm
Post Tools
I'm thinking this must be pretty rare - or else nobody does backups to find this problem.  Roll Eyes (or they just do archive zips.)
  

If you only have one solution to a problem you're not trying hard enough!
Back to top
WWW  
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 3,981
Location: Land of the Blazing Sun!

YaBB 2.6.1
Re: Load time
Reply #7 - Nov 8th, 2012 at 10:34pm
Post Tools
I think its all three (you are right) -

A. Most small forums will not see a problem. They are done in 5 minutes or less (the default CGI timeout is 5 minutes). YaBBForum.com is still a big forum data-wise and it prevents us from backing up currently. (thus you and I will fix manually).

B. Most Linux servers are set up the way the program already works. But many hosted servers use /usr/sbin instead of usr/bin These are the tricky ones;
/bin/gzip (for Tar compression)
/bin/bzip2 (for Tar compression)

Windows servers won't present the Tar Options, so its all archive::zip (which works pretty well)

AND

C. I think its the case that most larger forums rely on FTP based backups or host-provided server backups,

The biggest issue is its not automated (on my list & the Roadmap). Thus the admins can'r runn it when its 'not prime time' on their forums (unless they stay up all night).  Roll Eyes

Its still a problem that needs a documented workaround and a fix. I promise its less rare than the International Date Line bug.  The 'real fix' can probably wait for the Automated Backups programming.

I'll test the fixes when its not 'prime time', LOL  Wink

Cool
« Last Edit: Nov 8th, 2012 at 10:43pm by JonB »  

I find your lack of faith disturbing.
Back to top
IP Logged
 
Bill Myers
God Member
Beta Testers
*****
Offline



Posts: 1,709
Location: Los Angeles

YaBB 2.4
Re: Load time
Reply #8 - Nov 9th, 2012 at 1:23am
Post Tools
JonB wrote on Nov 8th, 2012 at 10:34pm:
C. I think its the case that most larger forums rely on FTP based backups or host-provided server backups ...

Yep, that's the category we're in (relying on both). Generally speaking, we perform incremental backups throughout the day. Previously, they didn't really take long at all, and thankfully, it's never slowed our forum down.

Unfortunately, and I'm pretty sure it's not related to YaBB, our incremental backups have recently been taking quite a bit of time. I don't know why. But it's really not a concern because, again, the backups we perform don't seem to slow our forum down at all.

On a related note regarding the use of a backed up file, just recently we've had spam registrants causing our error log to become corrupted. But it's merely an irritation, as I've simply, and quickly uploaded one of our backed up errorlog.txt files onto our server; no biggie.


  

Morning, noon, or night, have a great one!

Note: This forum doesn't allow for us to freely edit our posts or topics to make corrections as needed, so please remember to look for subsequent posts if you see any mistakes or outdated information. Sorry for the inconvenience.
Back to top
IP Logged
 
xnoddyx
Support Team
Documentation Team
YaBB Moderators
YaBB Next Team
Beta Testers
****
Offline



Posts: 1,591
Location: UK:Scotland/livingston

None
Re: Load time
Reply #9 - Nov 9th, 2012 at 11:32am
Post Tools
Dandello wrote on Nov 8th, 2012 at 6:33pm:
I'm thinking this must be pretty rare - or else nobody does backups to find this problem.  Roll Eyes (or they just do archive zips.)

emm i do just do archive zips  Grin and ftp backups  Wink
  

YaBB install help video
1. what yabb forum are you running and the url
2. describe in as much detail as you can what happens and also post screenshots if you can
3. please be patient we live in different time zones and have other commitments but we will help you
as bill and ted say (Be excellent to each other)
Back to top
IP Logged
 
The Boy
Full Member
***
Offline



Posts: 347
Location: UK
Re: Load time
Reply #10 - Nov 9th, 2012 at 4:18pm
Post Tools
I just run a cron job to backup my YaBB hourly.  Not ideal, as it doesn't lock the forum, and takes about 20mins on my site, so any restore needs maintenence controls run on it to sort out indexes etc.

It also does offsite backups via FTP, back to a Windows server, that pops them on a tape.

If anyone would think its useful, I can post up the shell script.
  
Back to top
WWW  
IP Logged
 
xnoddyx
Support Team
Documentation Team
YaBB Moderators
YaBB Next Team
Beta Testers
****
Offline



Posts: 1,591
Location: UK:Scotland/livingston

None
Re: Load time
Reply #11 - Nov 9th, 2012 at 4:27pm
Post Tools
The Boy wrote on Nov 9th, 2012 at 4:18pm:
If anyone would think its useful, I can post up the shell script.

cool The Boy wrote on Nov 9th, 2012 at 4:18pm:
I just run a cron job to backup my YaBB hourly.  Not ideal, as it doesn't lock the forum, and takes about 20mins on my site, so any restore needs maintenence controls run on it to sort out indexes etc.It also does offsite backups via FTP, back to a Windows server, that pops them on a tape.

cool sounds good  Wink

The Boy wrote on Nov 9th, 2012 at 4:18pm:
If anyone would think its useful, I can post up the shell script.

that be cool if you can as someone may find it useful  Smiley.
  

YaBB install help video
1. what yabb forum are you running and the url
2. describe in as much detail as you can what happens and also post screenshots if you can
3. please be patient we live in different time zones and have other commitments but we will help you
as bill and ted say (Be excellent to each other)
Back to top
IP Logged
 
The Boy
Full Member
***
Offline



Posts: 347
Location: UK
Re: Load time
Reply #12 - Nov 9th, 2012 at 4:30pm
Post Tools
OK, no probs, that'll be my weekend task Smiley

I'll dig out any others that I think YaBB Admins may find useful...  ...even if some of them pulled stunts that upset a previous Global Mod here  Roll Eyes
  
Back to top
WWW  
IP Logged
 
The Boy
Full Member
***
Offline



Posts: 347
Location: UK
Re: Load time
Reply #13 - Nov 9th, 2012 at 4:32pm
Post Tools
The Boy wrote on Nov 9th, 2012 at 4:30pm:
OK, no probs, that'll be my weekend task

Weekend task, as The Red Lion is open, and its been a LONG week (80+ Linux servers built, including manually configuring NAS and SAN). TheBoy deserves some Amber Nectar!
  
Back to top
WWW  
IP Logged
 
xnoddyx
Support Team
Documentation Team
YaBB Moderators
YaBB Next Team
Beta Testers
****
Offline



Posts: 1,591
Location: UK:Scotland/livingston

None
Re: Load time
Reply #14 - Nov 9th, 2012 at 4:46pm
Post Tools
The Boy wrote on Nov 9th, 2012 at 4:30pm:
OK, no probs, that'll be my weekend task Smiley

I'll dig out any others that I think YaBB Admins may find useful...  ...even if some of them pulled stunts that upset a previous Global Mod here  Roll Eyes

cool and thank you as they will fit in here quite nicely http://www.yabbforum.com/community/YaBB.pl?board=servers

The Boy wrote on Nov 9th, 2012 at 4:32pm:
Weekend task, as The Red Lion is open, and its been a LONG week (80+ Linux servers built, including manually configuring NAS and SAN). TheBoy deserves some Amber Nectar!

sounds like you need a pay bonus at the same time  Wink.
  

YaBB install help video
1. what yabb forum are you running and the url
2. describe in as much detail as you can what happens and also post screenshots if you can
3. please be patient we live in different time zones and have other commitments but we will help you
as bill and ted say (Be excellent to each other)
Back to top
IP Logged
 
Page Index Toggle Pages: [1] 2 3 
Topic Tools
 
  « Board Index ‹ Board  ^Top