Page Index Toggle Pages: 1 2 3 [4]  ReplyAdd Poll Send Topic
Very Hot Topic (More than 25 Replies) Timeout waiting for output from CGI script (Read 15869 times)
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2235
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Timeout waiting for output from CGI script
Reply #45 - Feb 26th, 2015 at 8:16pm
Mark & QuoteQuote  
Support tells me this server OS uses something called 'sar' but the documentation on it reads (to me at least) like so much gibberish.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box XTC
Global Moderator
*****
Offline


YaBB 2.6.0/1/11 Mods

Posts: 174
Location: @ustria
Joined: Feb 12th, 2014
Gender: Male
Mood: Freaky
Zodiac sign: Aquarius
Re: Timeout waiting for output from CGI script
Reply #46 - Feb 26th, 2015 at 9:00pm
Mark & QuoteQuote  
Hello

Dandello wrote on Feb 26th, 2015 at 8:16pm:
Support tells me this server OS uses something called 'sar' but the documentation on it reads (to me at least) like so much gibberish.

Here is a good info @sar

i must check out if we can print the infos.

lg XTC
  

Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Timeout waiting for output from CGI script
Reply #47 - Feb 26th, 2015 at 10:22pm
Mark & QuoteQuote  
Works fine, but what she has to say now?

Quote:
Dateiüberprüfung auf Öffnen/Schliessen:
geöffnet 254 geschlossene Dateien und 252 Dateien. (sollten gleiche Zahlen sein)
  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box XTC
Global Moderator
*****
Offline


YaBB 2.6.0/1/11 Mods

Posts: 174
Location: @ustria
Joined: Feb 12th, 2014
Gender: Male
Mood: Freaky
Zodiac sign: Aquarius
Re: Timeout waiting for output from CGI script
Reply #48 - Feb 27th, 2015 at 4:52am
Mark & QuoteQuote  
Hallo

pyragony54 wrote on Feb 26th, 2015 at 10:22pm:
Works fine, but what she has to say now?

Quote:
Dateiüberprüfung auf Öffnen/Schliessen:
geöffnet 254 geschlossene Dateien und 252 Dateien. (sollten gleiche Zahlen sein)


... this here is not ok in your Forum.

Debug shows: Quote:
CENSOR (1.2142)     /var/www/vhosts/anti-scam.de/cgi-bin/yabb2/Languages/English/censor.txtCENSOR (1.2143)     /var/www/vhosts/anti-scam.de/cgi-bin/yabb2/Languages/German/censor.txtCENSOR (1.2145)     /var/www/vhosts/anti-scam.de/cgi-bin/yabb2/Languages/German_Du/censor.txt     CENSOR (1.2146)
[main, Sources/Load.pm, 182]


... when i add the "<br" it looks like this:

Quote:
CENSOR (1.2142)     /var/www/vhosts/anti-scam.de/cgi-bin/yabb2/Languages/English/censor.txt
CENSOR (1.2143)     /var/www/vhosts/anti-scam.de/cgi-bin/yabb2/Languages/German/censor.txt
CENSOR (1.2145)     /var/www/vhosts/anti-scam.de/cgi-bin/yabb2/Languages/German_Du/censor.txt     CENSOR (1.2146)
[main, Sources/Load.pm, 182]

censor.txt is open 3x ... put only 1x close!!!

@ Dandello

And here is the bug in the Load.pm

Code (Perl)
Select All
    for my $langd (@lang) {
         if ( -e "$langdir/$langd/censor.txt" ) {
             fopen( CENSOR, "$langdir/$langd/censor.txt" );
             while ( chomp( $buffer = <CENSOR> ) ) {
                 $buffer =~ s/\r(?=\n*)//gxsm;
                 if ( $buffer =~ m/\~/sm ) {
                     ( $tmpa, $tmpb ) = split /\~/xsm, $buffer;
                     $tmpc = 0;
                 }
                 else {
                     ( $tmpa, $tmpb ) = split /=/xsm, $buffer;
                     $tmpc = 1;
                 }
                 push @censored, [ $tmpa, $tmpb, $tmpc ];
             }
         }
     }
     fclose(CENSOR); 



.. the "fclose" tag should be inside the ....

Code (Perl)
Select All
if ( -e "$langdir/$langd/censor.txt" ) { 



... code.

lg XTC
  

Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Timeout waiting for output from CGI script
Reply #49 - Feb 27th, 2015 at 5:43am
Mark & QuoteQuote  
@ XTC

perfect

Quote:
Dateiüberprüfung auf Öffnen/Schliessen:
geöffnet 223 geschlossene Dateien und 223 Dateien. (sollten gleiche Zahlen sein)



If I understand correctly, then only this error occurs when multiple languages are installed.
  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2235
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Timeout waiting for output from CGI script
Reply #50 - Feb 27th, 2015 at 5:59am
Mark & QuoteQuote  
Just changed it to
Code (Perl)
Select All
    for my $langd (@lang) {
         if ( -e "$langdir/$langd/censor.txt" ) {
             fopen( CENSOR, "$langdir/$langd/censor.txt" );
             while ( chomp( $buffer = <CENSOR> ) ) {
                 $buffer =~ s/\r(?=\n*)//gxsm;
                 if ( $buffer =~ m/\~/sm ) {
                     ( $tmpa, $tmpb ) = split /\~/xsm, $buffer;
                     $tmpc = 0;
                 }
                 else {
                     ( $tmpa, $tmpb ) = split /=/xsm, $buffer;
                     $tmpc = 1;
                 }
                 push @censored, [ $tmpa, $tmpb, $tmpc ];
             }
             fclose(CENSOR);
         }
     } 



Odd that it wasn't creating the same symptoms here.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Timeout waiting for output from CGI script
Reply #51 - Feb 27th, 2015 at 6:41am
Mark & QuoteQuote  
@ Dandello

in your solution I now have four more files that are opened and closed. What number is now right? 223 or 227th

Quote:
Dateiüberprüfung auf Öffnen/Schliessen:
geöffnet 227 geschlossene Dateien und 227 Dateien. (sollten gleiche Zahlen sein)
  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box XTC
Global Moderator
*****
Offline


YaBB 2.6.0/1/11 Mods

Posts: 174
Location: @ustria
Joined: Feb 12th, 2014
Gender: Male
Mood: Freaky
Zodiac sign: Aquarius
Re: Timeout waiting for output from CGI script
Reply #52 - Feb 27th, 2015 at 7:12am
Mark & QuoteQuote  
Hi

pyragony54 wrote on Feb 27th, 2015 at 6:41am:
in your solution I now have four more files that are opened and closed. What number is now right? 223 or 227th

This have not do to with the fix .... when eg. more user online = more files fopen/fclose.

lg XTC
  

Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Timeout waiting for output from CGI script
Reply #53 - Feb 27th, 2015 at 7:14am
Mark & QuoteQuote  
XTC wrote on Feb 27th, 2015 at 7:12am:
This have not do to with the fix .... when eg. more user online = more files fopen/fclose.


Actually logical.
  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Timeout waiting for output from CGI script
Reply #54 - Feb 27th, 2015 at 7:17am
Mark & QuoteQuote  
Wanted to say, server still runs stable. No [warn] more messages.
  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 2 3 [4] 
ReplyAdd Poll Send Topic
Bookmarks: del.icio.us Digg Facebook Google LinkedIn reddit Twitter Yahoo
Timeout waiting for output from CGI script

Please type the characters exactly as they appear in the image,
without the first 2 and last 2 characters.
The characters must be typed in the same order,
and they are case-sensitive.
Open Preview Preview

You can resize the textbox by dragging the right or bottom border.
Off Topic Comment Insert Spoiler
Insert Hyperlink Insert FTP Link Insert Image Insert E-mail Insert Media Insert Table Insert Table Row Insert Table Column Insert Horizontal Rule Insert Teletype Insert Code Insert Quote Edited Superscript Subscript Insert List /me - my name Insert Marquee Insert Timestamp No Parse
Bold Italicized Underline Insert Strikethrough Highlight
                       
Change Text Color
Insert Preformatted Text Left Align Centered Right Align
resize_wb
resize_hb







Max 5000 characters. Remaining characters:
Text size: %
More Smilies
View All Smilies
Collapse additional features Collapse/Expand additional features Smiley Wink Cheesy Grin Angry Sad Shocked Cool Huh Roll Eyes Tongue Embarrassed Lips Sealed Undecided Kiss Cry