Dont use Tubecgi on Phatservers!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sortie
    Confirmed User
    • Mar 2007
    • 7771

    #1

    Dont use Tubecgi on Phatservers!

    Well, I guess this kind of kills my tube script.

    Phatservers told me that my site that gets 1500 hits a day is using too much cpu time.
    They say my script it causing the problem and I have to disbable the script.

    The script just reads a directory and some files and prints the page but this seems
    to cause a load on the cpu according to phatservers.

    There is not much I can do to the script since I already optimized it as far as
    I could without making the site all static pages.

    Maybe static pages are the way to do this but I don't know if I will try to
    make that happen.

    So my advice is either don't use tubecgi or you must have a dedicated server.
  • jact
    Confirmed User
    • Sep 2002
    • 9134

    #2
    You use Virtual and you expect to be able to run a tube site? I'm sorry, but that's funny.
    Free agent

    Comment

    • directfiesta
      Too lazy to set a custom title
      • Oct 2002
      • 30135

      #3
      Originally posted by jact
      You use Virtual and you expect to be able to run a tube site? I'm sorry, but that's funny.
      but 1500 hits a day is no big deal .... could be more of the way the script works that cause too much CPU usage ....
      I know that Asspimple is stoopid ... As he says, it is a FACT !

      But I can't figure out how he can breathe or type , at the same time ....

      Comment

      • Sly
        Let's do some business!
        • Sep 2004
        • 31376

        #4
        I'm confused. Are you trashing yourself or Phat? The thread title makes it sound like Phat, the rest of your post makes it sound like you?
        Vacares - Web Hosting, Domains, O365, Security & More - Paxum and BTC Accepted

        Windows VPS now available
        Great for TSS, Nifty Stats, remote work, virtual assistants, etc.
        Click here for more details.

        Comment

        • Blazed
          Confirmed User
          • Jun 2006
          • 1701

          #5
          The fact tubecgi is the WORST tube script on the market, maybe even the worst script period is more than enough reason not to use it.

          Comment

          • sortie
            Confirmed User
            • Mar 2007
            • 7771

            #6
            Originally posted by Sly
            I'm confused. Are you trashing yourself or Phat? The thread title makes it sound like Phat, the rest of your post makes it sound like you?
            I'm advising people not to use my script, so I guess I'm trashing myself.

            I'm not trashing phatservers; just explaining the reasons they gave me to disable the
            script.

            Comment

            • BradM
              Confirmed User
              • Dec 2003
              • 3397

              #7
              The owner of a "professional" tube script runs a virtual account that proves his code is clunky and inefficient and requires a dedicated server.

              Wait. Are you TRYING to sound like an idiot that made a terrible product?

              Comment

              • sortie
                Confirmed User
                • Mar 2007
                • 7771

                #8
                Originally posted by Blazed
                The fact tubecgi is the WORST tube script on the market, maybe even the worst script period is more than enough reason not to use it.
                True, but even being the worst it's probably light years ahead of anything you've
                ever created.

                Comment

                • DeanCapture
                  Haters & Trolls SUCK!
                  • Dec 2002
                  • 9275

                  #9
                  Originally posted by Sly
                  Are you trashing yourself or Phat?
                  I didn't get the feeling he was trashing anybody
                  Twitter: @DeanCapture
                  Instagram: @TheDeanCapture
                  DeanCapture "at" Gmail.com

                  Comment

                  • sortie
                    Confirmed User
                    • Mar 2007
                    • 7771

                    #10
                    Originally posted by BradM
                    The owner of a "professional" tube script runs a virtual account that proves his code is clunky and inefficient and requires a dedicated server.

                    Wait. Are you TRYING to sound like an idiot that made a terrible product?
                    Webmasters want to run on virtual servers so the script must work for them or
                    they don't need it.

                    How do I test this?

                    By running my script on the accounts that webmasters are going to use.

                    Comment

                    • borked
                      Totally Borked
                      • Feb 2005
                      • 6284

                      #11
                      Did you not use apache bench to test the load on your server when being hit with multiple (concurrent) connections to the cgi script?

                      For coding work - hit me up on andy // borkedcoder // com
                      (consider figuring out the email as test #1)



                      All models are wrong, but some are useful. George E.P. Box. p202

                      Comment

                      • Blazed
                        Confirmed User
                        • Jun 2006
                        • 1701

                        #12
                        Originally posted by sortie
                        True, but even being the worst it's probably light years ahead of anything you've
                        ever created.
                        Im not a programmer so thats correct, you are a programmer or at least you created a script and done so terribly.

                        Comment

                        • borked
                          Totally Borked
                          • Feb 2005
                          • 6284

                          #13
                          if you want to try the script on a dedi box to remove the problem of load from others, hit me up. I have a box running at an avg load of 0.5 yet serving some 400k+ hits per day (nothing intensive like tube, but still php and db crunching stuff)

                          For coding work - hit me up on andy // borkedcoder // com
                          (consider figuring out the email as test #1)



                          All models are wrong, but some are useful. George E.P. Box. p202

                          Comment

                          • borked
                            Totally Borked
                            • Feb 2005
                            • 6284

                            #14
                            Originally posted by Blazed
                            Im not a programmer so thats correct, you are a programmer or at least you created a script and done so terribly.
                            fwiw, we have no idea what load 1.5k hits on tubecgi are making. Anything that runs to load 1 or 2 would cause headaches on a shared box. Hell, if phatservers are overloading the box, then load 0.5 could be classed as "too much".

                            before hitting out at people, certainly when you know you cannot do better, try and understand the problem.

                            For coding work - hit me up on andy // borkedcoder // com
                            (consider figuring out the email as test #1)



                            All models are wrong, but some are useful. George E.P. Box. p202

                            Comment

                            • XSV
                              Confirmed User
                              • Sep 2001
                              • 1214

                              #15
                              Sortie, in all fairness, Chris has tried working with you on this, he even moved it to a new virtual box for you and the new box started having the same issues, once disabled, the load problems went away. As Chris mentioned to you, you should be programming and testing this first on a dedicated box before trying to run it in a shared environment, we just can't allow you to keep tweaking your script on virtual servers and have the script cause problems. We have many people running the TEVS script and some of the other newer legal scripts that use sponsor content and we always recommend a dedicated server to anyone wanting to run a tube site. TEVS recommends a dedicated on their site, as do most of the others, though we do have people running them on shared servers without issues.
                              Managed - E3 QC 2 x 500 GB SSD's / 32 GB RAM / 100 Mbps On Gig Port + 10 TB CDN Traffic $299/mo

                              ** NEW MANAGED 10 TB CDN SERVERS FROM $199 PER MONTH - 50% Off Trial Code: AMNOCDEAL**

                              DIY DEAL: Unmanaged Root Server Plans - 50% OFF For Life! • Windows + Linux • Coupon Code: SUMMERDED16

                              Comment

                              • sortie
                                Confirmed User
                                • Mar 2007
                                • 7771

                                #16
                                Originally posted by XSV
                                Sortie, in all fairness, Chris has tried working with you on this, he even moved it to a new virtual box for you and the new box started having the same issues, once disabled, the load problems went away. As Chris mentioned to you, you should be programming and testing this first on a dedicated box before trying to run it in a shared environment, we just can't allow you to keep tweaking your script on virtual servers and have the script cause problems. We have many people running the TEVS script and some of the other newer legal scripts that use sponsor content and we always recommend a dedicated server to anyone wanting to run a tube site. TEVS recommends a dedicated on their site, as do most of the others, though we do have people running them on shared servers without issues.
                                No problem; but I do have to tell people they can't run the script because many
                                are not going to get a dedicated server when they are just starting as a webmaster.

                                Comment

                                • Jim_Gunn
                                  Confirmed User
                                  • Feb 2003
                                  • 5702

                                  #17
                                  Phatservers is a great host, that sounds odd. I would think that a tube site with that many hits should have no problem working even on a virtual server, especially if many of the videos are embedded rather than being served off the server. Either way, no offense sortie but I found tube cgi to be really clunky in terms of adding videos anyway, and I didn't love the interface so I'd rather try other tube script options anyway.

                                  Comment

                                  • GrouchyAdmin
                                    Now choke yourself!
                                    • Apr 2006
                                    • 12085

                                    #18
                                    Perl based dynamic services. In 2008.

                                    Comment

                                    • d-null
                                      . . .
                                      • Apr 2007
                                      • 13724

                                      #19
                                      Originally posted by sortie
                                      No problem; but I do have to tell people they can't run the script because many
                                      are not going to get a dedicated server when they are just starting as a webmaster.
                                      in all reality, there are enough tube sites out there already, perhaps it would be a good thing for the industry that a dedicated server might be the minimum cost of entry into the arena anyways

                                      having another 100,000 clunky running shared hosted sites is just going to strengthen the top 4 or 5 tube sites anyways, as surfers are not going to bother to shop around after they get frustrated a few times .... I noticed some people on a mainstream forum talking about some video sites being "all generic videos that were only a minute long, what a waste of time", the surfers know the difference

                                      __________________

                                      Looking for a custom TUBE SCRIPT that supports massive traffic, load balancing, billing support, and h264 encoding? Hit up Konrad!
                                      Looking for designs for your websites or custom tubesite design? Hit up Zuzana Designs
                                      Check out the #1 WordPress SEO Plugin: CyberSEO Suite

                                      Comment

                                      • sortie
                                        Confirmed User
                                        • Mar 2007
                                        • 7771

                                        #20
                                        Originally posted by GrouchyAdmin
                                        Perl based dynamic services. In 2008.
                                        Try these links :

                                        PERL :

                                        http://jobsearch.monster.com/Search....ad_units=miles

                                        PHP :

                                        http://jobsearch.monster.com/Search....iles&pg=1&vw=b

                                        Comment

                                        • GrouchyAdmin
                                          Now choke yourself!
                                          • Apr 2006
                                          • 12085

                                          #21
                                          See? Even Indians can write generally usable PHP. You're just stuck in the 90s.

                                          Let's see your csv parser. Come on, show me!

                                          Comment

                                          • wyldblyss
                                            Confirmed User
                                            • Nov 2003
                                            • 5779

                                            #22
                                            I didn't get the impression he was trashing phatservers either. People here need to stop assuming everything is an attack.

                                            Comment

                                            • Max Cheese
                                              Registered User
                                              • May 2007
                                              • 52

                                              #23
                                              and didn't people use cobalt and pascal until they were forced not to? shit, I think some companies still even use those archaic languages

                                              showing how many people are stuck in the past doesn't prove it is a more popular laguage, it just shows a lot of people haven't upgraded their systems or thought process

                                              Comment

                                              • BigBen
                                                Confirmed User
                                                • Nov 2004
                                                • 2299

                                                #24
                                                Are you available for PR/marketing work?

                                                Comment

                                                • Donkey Punch
                                                  Confirmed User
                                                  • Jun 2007
                                                  • 1260

                                                  #25
                                                  Originally posted by sortie
                                                  Webmasters want to run on virtual servers so the script must work for them or
                                                  they don't need it.

                                                  How do I test this?

                                                  By running my script on the accounts that webmasters are going to use.
                                                  yousaid "this kind of kills my tube script." hmm

                                                  why not have a script auto generate static from dynamic pages every X minutes..

                                                  ::: PUNCH :::
                                                  ICQ:407-837-607
                                                  Hosting a Problem? Phat Servers = Answer

                                                  Comment

                                                  • BradM
                                                    Confirmed User
                                                    • Dec 2003
                                                    • 3397

                                                    #26
                                                    Chris works with everyone on everything. Guy is incredible. If he's not overpaid, he SHOULD be.


                                                    Originally posted by XSV
                                                    Sortie, in all fairness, Chris has tried working with you on this, he even moved it to a new virtual box for you and the new box started having the same issues, once disabled, the load problems went away. As Chris mentioned to you, you should be programming and testing this first on a dedicated box before trying to run it in a shared environment, we just can't allow you to keep tweaking your script on virtual servers and have the script cause problems. We have many people running the TEVS script and some of the other newer legal scripts that use sponsor content and we always recommend a dedicated server to anyone wanting to run a tube site. TEVS recommends a dedicated on their site, as do most of the others, though we do have people running them on shared servers without issues.

                                                    Comment

                                                    • CyberHustler
                                                      Masterbaiter
                                                      • Feb 2006
                                                      • 28728

                                                      #27
                                                      Sortie was probably running that scrip on the box I was on and switched with me to the new box too... Hope to see things improve now that this is over.
                                                      “If you can convince the lowest white man he’s better than the best colored man, he won’t notice you’re picking his pocket. Hell, give him somebody to look down on, and he’ll empty his pockets for you.”

                                                      Comment

                                                      • Va2k
                                                        I’m still alive barley.
                                                        • Oct 2001
                                                        • 10060

                                                        #28
                                                        HAHA I fucking told you this months ago but did you fucking listen NO you tried trashing me about me asking too many support questions!! I KNEW this day would come I FUCKING KNEW It!!!

                                                        Haha I shouldn't be this happy guess my pathetic boring life causes this!! LMAO

                                                        Comment

                                                        • BradM
                                                          Confirmed User
                                                          • Dec 2003
                                                          • 3397

                                                          #29
                                                          Originally posted by Nick Decker
                                                          Sortie was probably running that scrip on the box I was on and switched with me to the new box too... Hope to see things improve now that this is over.
                                                          Pretty sure that's why a site I run for a client was having issues too. As soon as Chris let me know a problem had been corrected I assumed some script junky got booted. Seems to me this makes the most sense.

                                                          Comment

                                                          • farkedup
                                                            Confirmed User
                                                            • Nov 2007
                                                            • 2490

                                                            #30
                                                            Originally posted by Donkey Punch
                                                            yousaid "this kind of kills my tube script." hmm

                                                            why not have a script auto generate static from dynamic pages every X minutes..

                                                            ::: PUNCH :::
                                                            That is the way to go, the lesson here is NOT simply getting dedicated hosting the lesson here is this script cannot handle traffic very well PERIOD. Simply opening files and creating static is the only option here in that particular case this script would then run faster than ANY of the PHP/MySQL scripts on the market. My scripts use SOME caching but I haven't really had a use for going completely static although I've certainly thought about it.
                                                            -- QUOTE ME IT MAKES ME FEEL SPECIAL --

                                                            Comment

                                                            • Snake Doctor
                                                              I'm Lenny2 Bitch
                                                              • Mar 2001
                                                              • 13449

                                                              #31
                                                              Originally posted by sortie
                                                              dont use tubecgi
                                                              fyp.....
                                                              sig too big

                                                              Comment

                                                              • u-Bob
                                                                there's no $$$ in porn
                                                                • Jul 2005
                                                                • 33063

                                                                #32
                                                                Originally posted by GrouchyAdmin
                                                                Perl based dynamic services. In 2008.
                                                                make that "CGI based dynamic services. In 2008."

                                                                Comment

                                                                • GrouchyAdmin
                                                                  Now choke yourself!
                                                                  • Apr 2006
                                                                  • 12085

                                                                  #33
                                                                  Originally posted by u-Bob
                                                                  make that "CGI based dynamic services. In 2008."

                                                                  I highly doubted that TubeCGI was based on mod_perl.. not that that, or fastcgi caching would help a hell of a lot if it arbitrates the directory for every fucking hit it gets.

                                                                  Comment

                                                                  • woj
                                                                    <&(©¿©)&>
                                                                    • Jul 2002
                                                                    • 47882

                                                                    #34
                                                                    gee, this thread really backfired... actually wait, it didn't really back fire, it was kinda stupid to begin with...
                                                                    Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000
                                                                    Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager
                                                                    Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager

                                                                    Comment

                                                                    • Rorschach
                                                                      So Fucking Banned
                                                                      • Aug 2002
                                                                      • 5579

                                                                      #35
                                                                      Originally posted by BigBen
                                                                      Are you available for PR/marketing work?
                                                                      motherfucker you made me spit my coffee

                                                                      Comment

                                                                      • pr0
                                                                        rockin tha trailerpark
                                                                        • May 2001
                                                                        • 23088

                                                                        #36
                                                                        I don't see your angle on this post. So I'm guessing you don't have one.

                                                                        I almost want to applaud your honesty, or stupidity, I'm not sure which it is.
                                                                        __________
                                                                        Loadedca$h - get sum! - Revengebucks - mmm rebills! - webair (gotz sErVrz)

                                                                        Comment

                                                                        • d-null
                                                                          . . .
                                                                          • Apr 2007
                                                                          • 13724

                                                                          #37
                                                                          Originally posted by pr0
                                                                          I don't see your angle on this post. So I'm guessing you don't have one.

                                                                          I almost want to applaud your honesty, or stupidity, I'm not sure which it is.
                                                                          I kind of think his honesty and "real person" modesty, frustration and defeatism is rare and refreshing

                                                                          he'll bounce back

                                                                          __________________

                                                                          Looking for a custom TUBE SCRIPT that supports massive traffic, load balancing, billing support, and h264 encoding? Hit up Konrad!
                                                                          Looking for designs for your websites or custom tubesite design? Hit up Zuzana Designs
                                                                          Check out the #1 WordPress SEO Plugin: CyberSEO Suite

                                                                          Comment

                                                                          • Donkey Punch
                                                                            Confirmed User
                                                                            • Jun 2007
                                                                            • 1260

                                                                            #38
                                                                            omg someone agreed with me.

                                                                            so try that and get back to us..
                                                                            ICQ:407-837-607
                                                                            Hosting a Problem? Phat Servers = Answer

                                                                            Comment

                                                                            • d-null
                                                                              . . .
                                                                              • Apr 2007
                                                                              • 13724

                                                                              #39
                                                                              Originally posted by Donkey Punch
                                                                              yousaid "this kind of kills my tube script." hmm

                                                                              why not have a script auto generate static from dynamic pages every X minutes..

                                                                              ::: PUNCH :::
                                                                              even the good tgp scripts do it that way, don't they?

                                                                              __________________

                                                                              Looking for a custom TUBE SCRIPT that supports massive traffic, load balancing, billing support, and h264 encoding? Hit up Konrad!
                                                                              Looking for designs for your websites or custom tubesite design? Hit up Zuzana Designs
                                                                              Check out the #1 WordPress SEO Plugin: CyberSEO Suite

                                                                              Comment

                                                                              • GrouchyAdmin
                                                                                Now choke yourself!
                                                                                • Apr 2006
                                                                                • 12085

                                                                                #40
                                                                                Originally posted by d-null
                                                                                even the good tgp scripts do it that way, don't they?
                                                                                Here's 'not consuming system resources for idiots 101':

                                                                                echo '0/15 * * * * * /usr/bin/perl /home/perltoob/cockstain.pl > /home/perltoob/index.html' >> /tmp/t
                                                                                crontab /tmp/t && rm /tmp/t

                                                                                Comment

                                                                                • Godsmack
                                                                                  Confirmed User
                                                                                  • Apr 2004
                                                                                  • 4525

                                                                                  #41
                                                                                  our STXT "tube" script is 100% static..
                                                                                  Download the much improved Free Tube Script adult/mainstream tube solution for FREE!

                                                                                  Comment

                                                                                  • WiredGuy
                                                                                    Pounding Googlebot
                                                                                    • Aug 2002
                                                                                    • 34512

                                                                                    #42
                                                                                    Originally posted by sortie
                                                                                    The script just reads a directory and some files and prints the page but this seems to cause a load on the cpu according to phatservers.
                                                                                    Redo the script to output an html file and then send users to that html file. Relaunch the script as needed, that way you'll keep load time much much lower. Go static instead of dynamic. Reload the script every few minutes if needed but it will keep your cpu load much lower.
                                                                                    WG
                                                                                    I play with Google.

                                                                                    Comment

                                                                                    • Supz
                                                                                      Arthur Flegenheimer
                                                                                      • Jul 2006
                                                                                      • 11057

                                                                                      #43
                                                                                      Originally posted by d-null
                                                                                      in all reality, there are enough tube sites out there already, perhaps it would be a good thing for the industry that a dedicated server might be the minimum cost of entry into the arena anyways
                                                                                      amen to that!

                                                                                      not to disrespect sortie or his script. when push comes to shove, who is gonna put a tube script on a shared server? If a webmaster is trying to run with a tube site, they really need to go dedicated. between the disk space, resources, and bandwidth. It will be no-time before you will have to switch over anyhow.

                                                                                      Comment

                                                                                      • Rorschach
                                                                                        So Fucking Banned
                                                                                        • Aug 2002
                                                                                        • 5579

                                                                                        #44
                                                                                        the problem with running a tube on a virtual host is that apart from any issues with dynamic pages (which is a poor programming issue), the vids take so long to buffer that the surfers will get bored and go to a tube that actually loads the vids fast.

                                                                                        Comment

                                                                                        • selena
                                                                                          Confirmed User
                                                                                          • Aug 2004
                                                                                          • 7994

                                                                                          #45
                                                                                          Originally posted by d-null
                                                                                          I kind of think his honesty and "real person" modesty, frustration and defeatism is rare and refreshing

                                                                                          he'll bounce back
                                                                                          ~
                                                                                          Doer of Things at
                                                                                          MetArtMoney
                                                                                          Where Flawless Beauty Meets Art
                                                                                          ~The MetArt Network ~
                                                                                          selena.delgado9

                                                                                          Comment

                                                                                          • borked
                                                                                            Totally Borked
                                                                                            • Feb 2005
                                                                                            • 6284

                                                                                            #46
                                                                                            Originally posted by GrouchyAdmin
                                                                                            Here's 'not consuming system resources for idiots 101':

                                                                                            echo '0/15 * * * * * /usr/bin/perl /home/perltoob/cockstain.pl > /home/perltoob/index.html' >> /tmp/t
                                                                                            crontab /tmp/t && rm /tmp/t
                                                                                            somebody should send that to too much media

                                                                                            For coding work - hit me up on andy // borkedcoder // com
                                                                                            (consider figuring out the email as test #1)



                                                                                            All models are wrong, but some are useful. George E.P. Box. p202

                                                                                            Comment

                                                                                            • GrouchyAdmin
                                                                                              Now choke yourself!
                                                                                              • Apr 2006
                                                                                              • 12085

                                                                                              #47
                                                                                              Originally posted by borked
                                                                                              somebody should send that to too much media
                                                                                              ...well, it is a hack.

                                                                                              Comment

                                                                                              • Donkey Punch
                                                                                                Confirmed User
                                                                                                • Jun 2007
                                                                                                • 1260

                                                                                                #48
                                                                                                Originally posted by d-null
                                                                                                even the good tgp scripts do it that way, don't they?
                                                                                                fuck if I know.. I'm nu


                                                                                                heres how my lame ass does it
                                                                                                (cRONjob THis)
                                                                                                PHP Code:
                                                                                                function wwwcopy($link,$file)
                                                                                                {
                                                                                                $fp = @fopen($link,"r");
                                                                                                $cont="";
                                                                                                while(!feof($fp))
                                                                                                {
                                                                                                $cont.= fread($fp,1024);
                                                                                                }
                                                                                                fclose($fp);
                                                                                                
                                                                                                $fp2 = @fopen($file,"wb");
                                                                                                fwrite($fp2,$cont);
                                                                                                fclose($fp2);
                                                                                                }
                                                                                                
                                                                                                wwwcopy("yourphptoexecute.php", "index.html"); 
                                                                                                
                                                                                                ICQ:407-837-607
                                                                                                Hosting a Problem? Phat Servers = Answer

                                                                                                Comment

                                                                                                • borked
                                                                                                  Totally Borked
                                                                                                  • Feb 2005
                                                                                                  • 6284

                                                                                                  #49
                                                                                                  You can only have too much carma

                                                                                                  For coding work - hit me up on andy // borkedcoder // com
                                                                                                  (consider figuring out the email as test #1)



                                                                                                  All models are wrong, but some are useful. George E.P. Box. p202

                                                                                                  Comment

                                                                                                  • GrouchyAdmin
                                                                                                    Now choke yourself!
                                                                                                    • Apr 2006
                                                                                                    • 12085

                                                                                                    #50
                                                                                                    Originally posted by borked
                                                                                                    You can only have too much carma
                                                                                                    My condolences. There's not enough budda-belly rubbing you can do to get away from that.

                                                                                                    For real fun, turn logging on. It queries for the skin, then each part of the skin. It's not WordPress, but an incredible simulation!

                                                                                                    Comment

                                                                                                    Working...