Page Index Toggle Pages: 1 [2] 3 4 5 Send TopicPrint
Very Hot Topic (More than 25 Replies) BUGS!!! (Read 40685 times)
Monni
Senior Member
****
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Re: BUGS!!!
Reply #49 - May 13th, 2016 at 6:36pm
Print Post  
Dandello wrote on May 13th, 2016 at 6:23pm:
That sounds like the problem I had with max_process set to default (20 sec) when running Advanced Backup on a newly installed forum with nothing in it. I to set max_process to 5 seconds to get it to trigger the javascript to kick over to the other sections. (This is on my testbed.)


Except I commented out the if part of the test block... Only thing it doesn't do right now is turn off maintenance mode, because that requires skipping also the reload part of the code block on last iteration...
  
Back to top
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: BUGS!!!
Reply #48 - May 13th, 2016 at 6:23pm
Print Post  
That sounds like the problem I had with max_process set to default (20 sec) when running Advanced Backup on a newly installed forum with nothing in it. I to set max_process to 5 seconds to get it to trigger the javascript to kick over to the other sections. (This is on my testbed.)
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Monni
Senior Member
****
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Re: BUGS!!!
Reply #47 - May 13th, 2016 at 5:47pm
Print Post  
Dandello wrote on May 13th, 2016 at 5:37pm:
Could the backup issue be related to:
Monni wrote on May 8th, 2016 at 12:36pm:
I added "push @INC, '.';" to YaBB.pl before "push @INC, './Modules';" when using Perl 5.22.1 so it loads YaBB... Have to check if it works any better... 
                   
?


I don't think so... I could get it to compress about 1 GB of data before it detached and returned CGI timeout by short-circuiting the elapsed time test to always reload after single directory.
  
Back to top
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: BUGS!!!
Reply #46 - May 13th, 2016 at 5:37pm
Print Post  
Could the backup issue be related to:
Monni wrote on May 8th, 2016 at 12:36pm:
I added "push @INC, '.';" to YaBB.pl before "push @INC, './Modules';" when using Perl 5.22.1 so it loads YaBB... Have to check if it works any better... 
                   
?
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Monni
Senior Member
****
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Re: BUGS!!!
Reply #45 - May 13th, 2016 at 3:33pm
Print Post  
Dandello wrote on May 13th, 2016 at 3:19pm:
Monni wrote on May 13th, 2016 at 2:52pm:
mber.pm line 60
Huh?


Your YaBB forum doesn't like directory separators...

usr
local
cpanel
3rdparty
perl
522
lib64
perl5
cpanel_lib
Archive
Zip
NewFileMember.pm
  
Back to top
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: BUGS!!!
Reply #44 - May 13th, 2016 at 3:19pm
Print Post  
Monni wrote on May 13th, 2016 at 2:52pm:
mber.pm line 60
Huh?
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Monni
Senior Member
****
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Re: BUGS!!!
Reply #43 - May 13th, 2016 at 2:52pm
Print Post  
Quote:

IO error: reading data : at mber.pm line 60. 20240), SCALAR(0x53352f0), 168) called at  line 832 Archive::Zip::Member::readChunk(Archive::Zip::NewFileMember=HASH(0x4520240), 32768) called at  line 1094 Archive::Zip::Member::_writeData(Archive::Zip::NewFileMember=HASH(0x4520240), IO::File=GLOB(0x451ea10)) called at  line 1062 240), IO::File=GLOB(0x451ea10), 1, 16772653) called at m line 420 Archive::Zip::Archive::writeToFileHandle(Archive::Zip::Archive=HASH(0x19bcf18), IO::File=GLOB(0x451ea10)) called at m line 456 Archive::Zip::Archive:ShockedverwriteAs(Archive::Zip::Archive=HASH(0x19bcf18), "/home/sg120/public_html/cgi-bin/yabb2/Backups/backup.14631509"...) called at ./Admin/Backup.pm line 973 main::BackupMethodFinalize("bo_mem_mes_var_upld", 1) called at ./Admin/Backup.pm line 761 main::runbackup called at AdminIndex.pl line 131 main::yymain() called at AdminIndex.pl line 89 eval {...} called at AdminIndex.pl line 89 
  
Back to top
IP Logged
 
Monni
Senior Member
****
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Re: BUGS!!!
Reply #42 - May 13th, 2016 at 2:11pm
Print Post  
Dandello wrote on May 13th, 2016 at 1:17pm:
Backup uses the same max_process setting as maintenance. I also know that JonB has had probems with earlier YaBB versions getting the integrated backup to behave.


max_process_time has no effect when backing up forum as large directories count as one batch and can take more than 7 seconds easily.
  
Back to top
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: BUGS!!!
Reply #41 - May 13th, 2016 at 1:17pm
Print Post  
Backup uses the same max_process setting as maintenance. I also know that JonB has had probems with earlier YaBB versions getting the integrated backup to behave.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Monni
Senior Member
****
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Re: BUGS!!!
Reply #40 - May 13th, 2016 at 7:30am
Print Post  
Dandello wrote on May 12th, 2016 at 7:26pm:
Monni wrote on May 12th, 2016 at 6:52pm:
Dropping max_process_time to 7 seconds seems to fix the CGI timeout... 
                   


That qualifies as a seriously counter-intuitive WTF. (But I had a similar WTF with tiny YaBBs and the Advanced Backup.)


Maybe the server admin f*cked up the FastCGI configuration too... lol... now last remaining issue is to make the integrated backup work... maybe just needs fork or something...
  
Back to top
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: BUGS!!!
Reply #39 - May 12th, 2016 at 7:26pm
Print Post  
Monni wrote on May 12th, 2016 at 6:52pm:
Dropping max_process_time to 7 seconds seems to fix the CGI timeout... 
                   


That qualifies as a seriously counter-intuitive WTF. (But I had a similar WTF with tiny YaBBs and the Advanced Backup.)
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Monni
Senior Member
****
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Re: BUGS!!!
Reply #38 - May 12th, 2016 at 6:52pm
Print Post  
Dandello wrote on May 12th, 2016 at 2:49pm:
The maintenance tasks can be pretty memory and CPU intensive. Wild guess -> If there's a hidden read/write/permissions/ownership issue it's possible YaBB might not throw a proper error and just keep trying to finish its task - or if it runs out of memory and can't load the multiple hashes it needs.

I suspect there's still a server misconfiguration. You might also try adding 'no warnings qw(uninitialized once redefine);' to all the files in the Admin folder and to AdminIndex.pl. (I have a Perl syntax checker that warns of uninitialized variables even when warnings are turned off, so that could be part of the problem.)

BTW - so far I have found that MoveSplitSplice doesn't work properly when warnings are on even when it doesn't throw any warnings on the code. (If I add  'no warnings qw(uninitialized once);' to the file, it behaves. Go figure.)


Dropping max_process_time to 7 seconds seems to fix the CGI timeout...
  
Back to top
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: BUGS!!!
Reply #37 - May 12th, 2016 at 2:49pm
Print Post  
The maintenance tasks can be pretty memory and CPU intensive. Wild guess -> If there's a hidden read/write/permissions/ownership issue it's possible YaBB might not throw a proper error and just keep trying to finish its task - or if it runs out of memory and can't load the multiple hashes it needs.

I suspect there's still a server misconfiguration. You might also try adding 'no warnings qw(uninitialized once redefine);' to all the files in the Admin folder and to AdminIndex.pl. (I have a Perl syntax checker that warns of uninitialized variables even when warnings are turned off, so that could be part of the problem.)

BTW - so far I have found that MoveSplitSplice doesn't work properly when warnings are on even when it doesn't throw any warnings on the code. (If I add  'no warnings qw(uninitialized once);' to the file, it behaves. Go figure.)
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Monni
Senior Member
****
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Re: BUGS!!!
Reply #36 - May 12th, 2016 at 6:57am
Print Post  
Dandello wrote on May 11th, 2016 at 8:35pm:
Monni wrote on May 11th, 2016 at 7:19pm:
$checkspace is set to 0


So it's NOT the old suspect. Does the main page in the AdminCenter load? If it's hanging there, my bet would be the ModuleChecker.


Main page does load but maintenance tasks time out even though there is 20 second limit for longer tasks.
  
Back to top
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: BUGS!!!
Reply #35 - May 11th, 2016 at 8:35pm
Print Post  
Monni wrote on May 11th, 2016 at 7:19pm:
$checkspace is set to 0


So it's NOT the old suspect. Does the main page in the AdminCenter load? If it's hanging there, my bet would be the ModuleChecker.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1 [2] 3 4 5
Send TopicPrint