HELP, my servers can't handle the loads!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • debbieN
    Confirmed User
    • Jan 2003
    • 1193

    #1

    HELP, my servers can't handle the loads!

    I just purchased my fifth server from EV1.net and it is slower than ever.

    I have 300 clients downloading from one of my main site through this server (only one site on this server) Intel Dual Xeon 2.4 Server with 2000gb transfer.

    How can I optimize this to handle 600 or more at one time?

    Is there a managment company that can do this for me?

    help, I'm losing sales.
    don't rent the top room at the Luxor
    ______________________


    Debbie Nomad's Evil Hobby
  • skillfull
    Confirmed User
    • Apr 2003
    • 4716

    #2
    redirect all your traffic to my sites
    it will solve the problem ;)
    mind at underdark dot cc
    SEO Analyst
    Thunder-Ball.net - Member

    Comment

    • The Heron
      Confirmed User
      • Apr 2001
      • 4496

      #3
      Might try getting a MANAGED host instead of ev1

      Comment

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

        #4
        There are a few management companies that could help you, or you could hire a tech to fix your problem. Talk to JFPDude, he may be able to help you out.
        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

        • Tony Montana
          Confirmed User
          • Jan 2005
          • 794

          #5
          What OS do you run?

          I could help ya for a price
          I am a marketing Genius.

          Comment

          • shuki
            Confirmed User
            • Aug 2004
            • 3070

            #6
            I would suggest JFPDude too. Might want to switch hosts too but that is your choice.
            Looking to buy established paysites contact me [email protected]

            Comment

            • debbieN
              Confirmed User
              • Jan 2003
              • 1193

              #7
              OS - Linux Ensim Pro for Red Hat Enterprise

              I only upload twice per day to my three servers that handle my TGP gallery posts. This is the only thing these servers do, gallery submissions.

              300 users on one server seem small, but I don't know much about this subject.

              all I know is how to get traffic.
              don't rent the top room at the Luxor
              ______________________


              Debbie Nomad's Evil Hobby

              Comment

              • Tony Montana
                Confirmed User
                • Jan 2005
                • 794

                #8
                Originally posted by debbieN
                OS - Linux Ensim Pro for Red Hat Enterprise

                I only upload twice per day to my three servers that handle my TGP gallery posts. This is the only thing these servers do, gallery submissions.

                300 users on one server seem small, but I don't know much about this subject.

                all I know is how to get traffic.
                What type of connection are your servers on? The problem would not be the server load but connection load if they are just gallery pages..

                Could you define users. Are they clients that use some sort of submit script through your site/server?
                I am a marketing Genius.

                Comment

                • TurboAngel
                  H.B.I.C.
                  • Jun 2003
                  • 30122

                  #9
                  Here's a bump.


                  Comment

                  • CheeseFrog
                    Confirmed User
                    • Dec 2003
                    • 1724

                    #10
                    Kill your KeepAlives maybe? I know those slowed my server down a lot.
                    Cary | AIM: cheesefrog | ICQ: 4287002

                    Comment

                    • fris
                      I have to go potty
                      • Aug 2002
                      • 55729

                      #11
                      Originally posted by debbieN
                      OS - Linux Ensim Pro for Red Hat Enterprise

                      I only upload twice per day to my three servers that handle my TGP gallery posts. This is the only thing these servers do, gallery submissions.

                      300 users on one server seem small, but I don't know much about this subject.

                      all I know is how to get traffic.
                      gallery submissions are causing this load average?

                      hah.

                      you need to learn how to tweak apache.
                      Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

                      My Latest Theme

                      Comment

                      • debbieN
                        Confirmed User
                        • Jan 2003
                        • 1193

                        #12
                        what company can twik my apche?
                        don't rent the top room at the Luxor
                        ______________________


                        Debbie Nomad's Evil Hobby

                        Comment

                        • wvuatl
                          Confirmed User
                          • May 2004
                          • 604

                          #13
                          You have to change your Apache HARD_SERVER_LIMIT and update httpd.conf to handle more requests.... hire a Linux System Admin
                          Get you some vibrators for women now!

                          Comment

                          • debbieN
                            Confirmed User
                            • Jan 2003
                            • 1193

                            #14
                            Fris - I get a lot of hits. 205,720,166 today so far. Sessions is what I have to deal with 18,057 today so far.
                            don't rent the top room at the Luxor
                            ______________________


                            Debbie Nomad's Evil Hobby

                            Comment

                            • kibooh
                              Registered User
                              • Mar 2003
                              • 41

                              #15
                              Originally posted by fris
                              you need to learn how to tweak apache.
                              what he said.

                              or maybe you should hire someone to do it for you .
                              <br><a href="http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=918973-0000&PA=620529&HTML=http://www.rebootcash.com" target="_blank"><img src="http://www.rebootcash.com/banners_wm/120x60/120x60_rc3.gif" border="0"></a>

                              Comment

                              • skillfull
                                Confirmed User
                                • Apr 2003
                                • 4716

                                #16
                                18k sessions isnt suppose to cause load on 1 servers if you tweak it correctly...
                                mind at underdark dot cc
                                SEO Analyst
                                Thunder-Ball.net - Member

                                Comment

                                • latinasojourn
                                  Confirmed User
                                  • Oct 2003
                                  • 3191

                                  #17
                                  i had similar issues and juicy links referred me to JFPdude and he fixed.

                                  note: these were servers setup by webair, and as others have stated you need your apache custom tuned for load.

                                  Comment

                                  • JFPdude
                                    Confirmed User
                                    • Jan 2002
                                    • 4027

                                    #18
                                    Thanks for the props guys ...

                                    If this is still an issue hit me up on ICQ 4433144

                                    Comment

                                    • borked
                                      Totally Borked
                                      • Feb 2005
                                      • 6284

                                      #19
                                      Originally posted by debbieN
                                      what company can twik my apche?
                                      debbieN - send me your apache config file and I'll add some the tweaks that should help. No cost - they're basic, and will see if it is the problem or at least pinpoint where the problem is.

                                      icq me 283914791

                                      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

                                      • debbieN
                                        Confirmed User
                                        • Jan 2003
                                        • 1193

                                        #20
                                        thanks borked but I just spoke with the master - JFPdude

                                        again thanks GFY for the correct information.
                                        don't rent the top room at the Luxor
                                        ______________________


                                        Debbie Nomad's Evil Hobby

                                        Comment

                                        • flashfire
                                          ICQ 1 6 7 8 5 3 4 9 2
                                          • Feb 2003
                                          • 13098

                                          #21
                                          your gonna blow your load

                                          Comment

                                          • LasseKongos
                                            Confirmed User
                                            • Aug 2003
                                            • 4668

                                            #22
                                            "my servers can't handle the loads!"

                                            Then help the servers, just swallow!

                                            Comment

                                            • s9ann0
                                              Confirmed User
                                              • Sep 2001
                                              • 4873

                                              #23
                                              I would turn off keepalive or at least turn the timeout down to 1
                                              strip out all modules you don't need to get the httpd process size down then
                                              rebuild with hard_server_limit 1024 and up maxclients to fit the RAM so it doesn't swap

                                              Comment

                                              • PbG
                                                Confirmed User
                                                • May 2003
                                                • 1025

                                                #24
                                                You reallly should consider fully managed hosting ...

                                                Originally posted by debbieN
                                                OS - Linux Ensim Pro for Red Hat Enterprise

                                                I only upload twice per day to my three servers that handle my TGP gallery posts. This is the only thing these servers do, gallery submissions.

                                                300 users on one server seem small, but I don't know much about this subject.

                                                all I know is how to get traffic.

                                                Uncensored-Hosting | Photography by Gus

                                                Comment

                                                • tungsten
                                                  Too lazy to set a custom title
                                                  • Mar 2004
                                                  • 10579

                                                  #25
                                                  hire a sys admin to look after your server(s)
                                                  • VOYEUR /HOMEMADE, HENTAI / CARTOON, Reality, Amateur, Shemale, Hardcore, Cuckold, Celebrity, Retro/Vintage, ect...ALL OUR SITES >>
                                                  • Unbelievable Ratio | High % of Rebills | Bi-Monthly Payments (also to E-Passporte)
                                                  • Ton's of EXCLUSIVE Free content & FHG's |=> GREAT REVENUE $$$ GUARANTEED!

                                                  Comment

                                                  • venus
                                                    Confirmed User
                                                    • Jan 2003
                                                    • 3112

                                                    #26
                                                    whats th eURL to one of your galleries, your problem may be something else

                                                    Originally posted by debbieN
                                                    Fris - I get a lot of hits. 205,720,166 today so far. Sessions is what I have to deal with 18,057 today so far.
                                                    Muscle/Fitness Adult Affiliate Program
                                                    Since 1997 www.venuscash.com

                                                    Comment

                                                    • Pornwolf
                                                      Drunk and Unruly
                                                      • Jan 2002
                                                      • 22712

                                                      #27
                                                      You shouldn't have problems with just 300 clients. Call Webair mike. See sig.
                                                      I've trusted my sites to them for over a decade...

                                                      Webair, bitches.

                                                      Comment

                                                      • SplitInfinity
                                                        Confirmed User
                                                        • Dec 2002
                                                        • 3047

                                                        #28
                                                        For apaches... pre 2.0...

                                                        Apache Performance Boost
                                                        By: Chris Jester ( [email protected] )

                                                        If you are experincing long delays while "Waiting for reply...." with Apache servers you may try the following hack I use frequently to speed up your systems performance. Apache comes with a limit of 256 Child Processes defined in its hard server limit (in the source code). This can kill apache when it is used for a very very busy site.

                                                        Normally in the httpd.conf file you can only set a maximum of 256 MaxClients. This is not enough for a busy site. To change this limit (which the makers of apache suggest as well), edit src/includes/httpd.h and change the value of HARD_SERVER_LIMIT. Bump it up to 1024, then set your httpd.conf files MaxClients to like 512. That should be ample. Re-compile apache and you are done.

                                                        Note: Linux itself has a "Max Processes" per user limit. Add this to your root .bashrc file:

                                                        ulimit -u unlimited

                                                        You must exit and re-login before starting your new apache! Otherwise you will run into problems. To verify that you are ready to go, make sure that when you type ulimit -a as root, it shows "unlimited" next to max user processes.

                                                        (note: you may also do ulimit -u unlimited at the command prompt before starting httpd instead of adding it to the .bashrc file, but I always forgot, so I just added it in the .bashrc file as a safety net.. Another good place to put ulimit -u unlimited is in the httpd startup file in /etc/rc.d/init.d)

                                                        Comment

                                                        • SplitInfinity
                                                          Confirmed User
                                                          • Dec 2002
                                                          • 3047

                                                          #29
                                                          Here is how you can find out if this might be the problem:

                                                          On the command line, type: ps -aux|grep httpd|wc -l

                                                          It will return a number. If this number is about 300ish or close, but not above,
                                                          then its most likely the problem I solve above.

                                                          For Apache 2.0, its EASY as pie to fix:

                                                          Set these like this:

                                                          Timeout 60
                                                          KeepAlive On (Set this to off if your site is only doing CGI redirection, but on in most all other cases)
                                                          MaxKeepAliveRequests 0
                                                          KeepAliveTimeout 20
                                                          ServerLimit 1000

                                                          <IfModule prefork.c>
                                                          StartServers 100
                                                          MinSpareServers 5
                                                          MaxSpareServers 30
                                                          MaxClients 1000
                                                          MaxRequestsPerChild 0
                                                          </IfModule>

                                                          Note, this is all dependant on RAM and PROCESSOR
                                                          so if your notice your ram is all eaten up, reduce MaxClients to like 700

                                                          (if you didnt know, this is in the file /etc/httpd/conf/httpd.conf)

                                                          Edit that file, then do this:
                                                          service httpd restart

                                                          Comment

                                                          • d00t
                                                            Confirmed User
                                                            • Sep 2002
                                                            • 3766

                                                            #30
                                                            some good free advice from splitinfinity ;)

                                                            Comment

                                                            • SplitInfinity
                                                              Confirmed User
                                                              • Dec 2002
                                                              • 3047

                                                              #31
                                                              Suggestion to all: Dont use .htaccess files.
                                                              Instead, use the httpd.conf file.
                                                              Reason? Performance impact.
                                                              Every file that is served by apache is in a directory tree....
                                                              And the server needs to check EVERY DIRECTORY along the file
                                                              path for an .htaccess file, just to make sure theres none there
                                                              and/or of there IS one there...

                                                              So think of it like this....
                                                              You have something.gif and someone is loading it right now...
                                                              Apache says, oh ok....
                                                              Lets see... the file is in /home/one/two/three/four/five
                                                              Then it says...
                                                              is there and .htaccess file in /home?
                                                              is there and .htaccess file in /one?
                                                              is there and .htaccess file in /two?
                                                              is there and .htaccess file in /three?
                                                              is there and .htaccess file in /four?
                                                              is there and .htaccess file in /five?

                                                              Imagine the disk load and etc if you have like 50 thumbnails on your page?

                                                              Food for thought GFY'ers
                                                              :-)

                                                              Comment

                                                              • Weppel
                                                                Confirmed User
                                                                • Aug 2003
                                                                • 2190

                                                                #32
                                                                Originally posted by SplitInfinity
                                                                Suggestion to all: Dont use .htaccess files.
                                                                Instead, use the httpd.conf file.
                                                                Reason? Performance impact.
                                                                Every file that is served by apache is in a directory tree....
                                                                And the server needs to check EVERY DIRECTORY along the file
                                                                path for an .htaccess file, just to make sure theres none there
                                                                and/or of there IS one there...

                                                                So think of it like this....
                                                                You have something.gif and someone is loading it right now...
                                                                Apache says, oh ok....
                                                                Lets see... the file is in /home/one/two/three/four/five
                                                                Then it says...
                                                                is there and .htaccess file in /home?
                                                                is there and .htaccess file in /one?
                                                                is there and .htaccess file in /two?
                                                                is there and .htaccess file in /three?
                                                                is there and .htaccess file in /four?
                                                                is there and .htaccess file in /five?

                                                                Imagine the disk load and etc if you have like 50 thumbnails on your page?

                                                                Food for thought GFY'ers
                                                                :-)
                                                                How would you for example prevent hotlinking in the httpd.conf file?

                                                                Comment

                                                                • SplitInfinity
                                                                  Confirmed User
                                                                  • Dec 2002
                                                                  • 3047

                                                                  #33
                                                                  The same way you do it in an .htaccess file, but you put it in the Virtualhost directives in your httpd.conf instead and delete your .htaccess file.
                                                                  :-)

                                                                  Comment

                                                                  • SplitInfinity
                                                                    Confirmed User
                                                                    • Dec 2002
                                                                    • 3047

                                                                    #34
                                                                    By doing it that way, apache only has to load them once.... not per hit

                                                                    Comment

                                                                    Working...