Add Poll
 
Options: Text Color Split Pie
 
 
 
 
 
 
 
 
Poll Comment:
Max 500 characters. Remaining characters:
days and minutes. Leave it blank if you don't want to set it now.

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
Topic Summary - Displaying 15 post(s). Click here to show all
Posted by: pyragony54
Posted on: Feb 27th, 2015 at 7:17am
Wanted to say, server still runs stable. No [warn] more messages.
Posted by: pyragony54
Posted on: Feb 27th, 2015 at 7:14am
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.
Posted by: XTC
Posted on: Feb 27th, 2015 at 7:12am
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
Posted by: pyragony54
Posted on: Feb 27th, 2015 at 6:41am
@ 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)
Posted by: Dandello
Posted on: Feb 27th, 2015 at 5:59am
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.
Posted by: pyragony54
Posted on: Feb 27th, 2015 at 5:43am
@ 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.
Posted by: XTC
Posted on: Feb 27th, 2015 at 4:52am
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
Posted by: pyragony54
Posted 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)
Posted by: XTC
Posted on: Feb 26th, 2015 at 9:00pm
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
Posted by: Dandello
Posted 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.
Posted by: Dandello
Posted on: Feb 26th, 2015 at 6:08pm
This server doesn't seem to like any of them. (Going to have to do some research.)
Posted by: XTC
Posted on: Feb 26th, 2015 at 5:56pm
Hello

@ Dandello

On your Server

Quote:
Average server load ago:
01 minutes: Not supported
05 minutes: Not supported
15 minutes: Not supported


... you can try to changes this line in Debug.pm (uptime)

Code (Perl)
Select All
        $cpload = `uptime`; # Alternative: /proc/loadavg and /proc/uptime 

Posted by: Dandello
Posted on: Feb 26th, 2015 at 5:40pm
Yeah it may be the really long debug string. So I'm not going to leave it active for more than a day or so. Plus we do have bots and security checkers that slow things down intermittently.
Posted by: XTC
Posted on: Feb 26th, 2015 at 4:47pm
Upload new ZIP File ....

... and i have changes the "fopen(F,"</proc/stat");" to not yabbintern "open" function.

Dandello wrote on Feb 26th, 2015 at 3:57pm:
I have it installed here with one custom change - GMods can see the output.

Can not see the output ... because there is a very long Forum load now  Shocked ... hope this is not my debug edit!

Edited:
in the Admin Center i can see the debug output....

lg XTC
Posted by: Dandello
Posted on: Feb 26th, 2015 at 3:57pm
I have it installed here with one custom change - GMods can see the output.  You know, there are a lot of places where something could be loaded once but is currently loaded multiple times... hmm... something to look at for the future.