XTC Global Moderator Offline YaBB 2.6.0/1/11 Mods Posts: 174 Location: @ustria Joined: Feb 12th, 2014 Gender: Mood: Freaky Zodiac sign: Re: Timeout waiting for output from CGI script Reply #39 - Feb 26th, 2015 at 3:47pm Mark & QuoteQuote Dandello wrote on Feb 26th, 2015 at 3:42pm:There's an open div in the first $yydebug block. Ok... edit it when i am on pc IP Logged
XTC Global Moderator Offline YaBB 2.6.0/1/11 Mods Posts: 174 Location: @ustria Joined: Feb 12th, 2014 Gender: Mood: Freaky Zodiac sign: Re: Timeout waiting for output from CGI script Reply #38 - Feb 26th, 2015 at 3:46pm Mark & QuoteQuote Next Step.... catch open PID IP Logged
Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2276 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Timeout waiting for output from CGI script Reply #37 - Feb 26th, 2015 at 3:42pm Mark & QuoteQuote There's an open div in the first $yydebug block. Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2276 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Timeout waiting for output from CGI script Reply #36 - Feb 26th, 2015 at 2:51pm Mark & QuoteQuote Sweet! Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
XTC Global Moderator Offline YaBB 2.6.0/1/11 Mods Posts: 174 Location: @ustria Joined: Feb 12th, 2014 Gender: Mood: Freaky Zodiac sign: Re: Timeout waiting for output from CGI script Reply #35 - Feb 26th, 2015 at 1:56pm Mark & QuoteQuote Hello XTC wrote on Feb 26th, 2015 at 8:07am:... will post this addon later Ok ... check it out! Debug Plus: Adds extra debug process and CPU usage infos .... - Performed file in this process - Process number of ongoing process - Process start time - Perl Interpreter of process - Perl Version - CPU usage (not working on all server) - Average server load -> 01 minutes, 05 minutes and 15 minutes ago (not working on all server) ... and fix also a small HTML tag issue in the debug print (not closed "<span>" tag in class="under") Edited: Upload new ZIP File lg XTC « Last Edit: Feb 26th, 2015 at 4:42pm by XTC » Reason: Upload new ZIP File Debug_Plus_v1.zip ( 1 KB | 307 Downloads ) Debug_Plus_v1_german.zip ( 0 KB | 381 Downloads ) IP Logged
XTC Global Moderator Offline YaBB 2.6.0/1/11 Mods Posts: 174 Location: @ustria Joined: Feb 12th, 2014 Gender: Mood: Freaky Zodiac sign: Re: Timeout waiting for output from CGI script Reply #34 - Feb 26th, 2015 at 8:07am Mark & QuoteQuote Hello Fist Step: Extended Debug Info (look at attach img) ... will post this addon later The cpu usage info will not work on all server ... if not supported it will print "not supported" See it in action here: (debug is enable) http://yabmods.yabbserver.com/cgi-bin/YaBMod/YaBB.cgi lg XTC debug.jpg ( 19 KB | 314 Downloads ) IP Logged
pyragony54 Language Offline I Love YaBB! Posts: 882 Location: Йошкар-Ола Joined: May 25th, 2014 Gender: Mood: Dead Zodiac sign: Re: Timeout waiting for output from CGI script Reply #33 - Feb 25th, 2015 at 6:42pm Mark & QuoteQuote XTC wrote on Feb 25th, 2015 at 11:58am:Ich check auch mal so einige Dinge .... die Serverlast war ja beim YaBBServer auch immer ein Thema! Das liegt nicht nur an YaBB und Perl. Das Problem tritt mit Sicherheit auch bei pHp-Foren auf. if (idea == 'none') {use (manuals) && (Google | | search)}if ($ answer == 0) {post (question)} IP Logged
Dandello Forum Administrator Offline I love YaBB 2.7! Posts: 2276 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Timeout waiting for output from CGI script Reply #32 - Feb 25th, 2015 at 6:31pm Mark & QuoteQuote pyragony54 wrote on Feb 25th, 2015 at 6:11pm:With me now is resting in a box and the problem we have solved together. Be the server is running 18 hours stable. It then has only made the search problem, because this also by our better spam bots was used. The search function also pretty Server is influential. Now, only members use this function and is now resting in peace. Excellent news. Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
pyragony54 Language Offline I Love YaBB! Posts: 882 Location: Йошкар-Ола Joined: May 25th, 2014 Gender: Mood: Dead Zodiac sign: Re: Timeout waiting for output from CGI script Reply #31 - Feb 25th, 2015 at 6:18pm Mark & QuoteQuote Dandello wrote on Feb 25th, 2015 at 3:08pm:I know that YaBBForum had one like that from years ago (and yes, I'm pretty sure it was in Cyrillic) that had to be removed. There was hidden scripting in it. I know Russia very well, but I work for the Russian Ministry of Internal Security. Do not trust the Russians, you do not know personally. if (idea == 'none') {use (manuals) && (Google | | search)}if ($ answer == 0) {post (question)} IP Logged
pyragony54 Language Offline I Love YaBB! Posts: 882 Location: Йошкар-Ола Joined: May 25th, 2014 Gender: Mood: Dead Zodiac sign: Re: Timeout waiting for output from CGI script Reply #30 - Feb 25th, 2015 at 6:11pm Mark & QuoteQuote With me now is resting in a box and the problem we have solved together. Be the server is running 18 hours stable. It then has only made the search problem, because this also by our better spam bots was used. The search function also pretty Server is influential. Now, only members use this function and is now resting in peace. if (idea == 'none') {use (manuals) && (Google | | search)}if ($ answer == 0) {post (question)} IP Logged
Dandello Forum Administrator Offline I love YaBB 2.7! Posts: 2276 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Timeout waiting for output from CGI script Reply #29 - Feb 25th, 2015 at 3:47pm Mark & QuoteQuote Okay - did some looking up of stuff. Apparently Apache 2.2x had a couple vulnerabilities to race conditions: one has to do with symlinks and the other has to do with mod_proxy_http (I'm sure there are others but those were the ones that came up first in my search.) There's also an Apache RewriteMap directive that can cause problems with Perl if it isn't configured properly. What we don't know is exactly what in the offending post was setting up the race condition. Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
Dandello Forum Administrator Offline I love YaBB 2.7! Posts: 2276 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Timeout waiting for output from CGI script Reply #28 - Feb 25th, 2015 at 3:08pm Mark & QuoteQuote XTC wrote on Feb 25th, 2015 at 11:58am:Where is the last point when YaBB.cgi is active? ... in Subs.pm sub print_HTML_output_and_finish { ? Pretty sure the answer is yes. But Subs.pm sub exit { follows it to exit. (But in a race condition it's not going to get to exit. So if there's going to be a way to catch a race condition, it will probably be in sub print_HTML_output_and_finish { ) If JonB wasn't so swamped right now I'd ask him to join in this discussion. In theory the Cyrillic input going over the character limit is okay since the actual number of readable characters is a lot less than the number of characters that make up the html entity equivalent. However, it also means that the characters are unreadable in raw text form. It's also possible that one or more of the Cyrillic characters got mis-converted to html entities (or deliberately mis-converted) and those characters were bad stuff - like control characters. I know that YaBBForum had one like that from years ago (and yes, I'm pretty sure it was in Cyrillic) that had to be removed. There was hidden scripting in it. I'm almost tempted to suggest to people with older forums to run Xenu on it (Turn off Guardian first) and see what it finds and if it triggers anything. (Xenu is very aggressive in following links and WILL trigger bad stuff if it exists - that's how I found the bad post in YaBBForum.) Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
XTC Global Moderator Offline YaBB 2.6.0/1/11 Mods Posts: 174 Location: @ustria Joined: Feb 12th, 2014 Gender: Mood: Freaky Zodiac sign: Re: Timeout waiting for output from CGI script Reply #27 - Feb 25th, 2015 at 11:58am Mark & QuoteQuote Hallo Ich check auch mal so einige Dinge .... die Serverlast war ja beim YaBBServer auch immer ein Thema! Race Condition: Ein Fehler wie bei Hase und Igel - so nach dem Motto Script startet was und schon schreit einer ich bin schon da. Das schaukelt sich solange auf bis es kracht. @ll I testing some points for control if a running Server Processnumber is closed .... @Dandello Where is the last point when YaBB.cgi is active? ... in Subs.pm sub print_HTML_output_and_finish { ? lg XTC IP Logged
pyragony54 Language Offline I Love YaBB! Posts: 882 Location: Йошкар-Ола Joined: May 25th, 2014 Gender: Mood: Dead Zodiac sign: Re: Timeout waiting for output from CGI script Reply #26 - Feb 25th, 2015 at 5:49am Mark & QuoteQuote @ XTC YaBB tut was für seine Kunden. Es gibt bestimmt noch mehrere Funktionen, welche die CPU-Auslastung des Servers hochtreiben. Jeder sollte also mal seine logs ansehen und die Auslastung kontrollieren. Mein Beispiel sah so aus: Code 53|zdravstvuyte<br /><br />здравствуйте||1424842491|admin| siehe Bild vom Server. Hallo heißt auf russisch zdravstvuyte Hallo belegt also 5 bit zdravstvuyte benötigt 12 bit Das ist noch nichts weltbewegendes. Wird das allerdings in kyrillischer Schrift geschrieben, sind wir beim Thema. здравствуйте benötigt 96 bit und jetzt sind wir beim Thema. 50.000 Zeichen, die ich freigegeben habe, belegen dann tatsächlich auf dem Server 400.000 bit. Das in einer einzigen Antwort und der Server sagt "Tschüss Baby", zumal ja noch einiges an Antworten dann drunter kommt. Bild2_016.jpg ( 33 KB | 343 Downloads ) if (idea == 'none') {use (manuals) && (Google | | search)}if ($ answer == 0) {post (question)} IP Logged
XTC Global Moderator Offline YaBB 2.6.0/1/11 Mods Posts: 174 Location: @ustria Joined: Feb 12th, 2014 Gender: Mood: Freaky Zodiac sign: Re: Timeout waiting for output from CGI script Reply #25 - Feb 25th, 2015 at 4:33am Mark & QuoteQuote Good Team Work IP Logged