The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

how to break big websites?

Discussion in 'General Discussion' started by konrath, Aug 20, 2009.

  1. konrath

    konrath Well-Known Member

    Joined:
    May 3, 2005
    Messages:
    367
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Brasil
    Hello

    how to break big websites?

    Generate apache errors and mysql errors only to websites with large volumes of
    visits.

    Any suggestions for my.cnf and httpd.conf?

    Thank you
    Konrath
     
  2. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
    You can try to comment the below lines in your httpd.conf for the particular domain:

    CustomLog /usr/local/apache/domlogs/domain.com combined
    CustomLog /usr/local/apache/domlogs/domain.com-bytes_log

    Once you comment the above two lines in your httpd.conf file, do not forget to restart apache.
     
  3. konrath

    konrath Well-Known Member

    Joined:
    May 3, 2005
    Messages:
    367
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Brasil
    Hello

    This makes only the statistics do not work.

    I want break heavy Web sites.

    i.e.
    MYSQL lose connectivity only to heavy Web sites.


    Thank you
    Konrath
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,478
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Break the website? Not sure I understand. Edit the config file for the website and change the MySQL password, that'll break it.

    Call up pages that don't exist, that'll show up in the logs.
     
  5. konrath

    konrath Well-Known Member

    Joined:
    May 3, 2005
    Messages:
    367
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Brasil
    Hello

    I want break the operation of heavy Web sites. Generating problems
    for heavy Web sites to reduce server load.

    i.e.
    Do not allow heavy sites consume much MYSQL and HTTP.

    -------------------------


    i.e.

    This option in my.cnf is for each site individually. Correct?

    max_user_connections=20

    This means that each site can be only 20 simultaneous accesses in MYSQL. Correct?

    If it exceeds 20 then the site can not access MySQL.


    Thank you
    Konrath
     
    #5 konrath, Aug 20, 2009
    Last edited: Aug 20, 2009
  6. d_t

    d_t Well-Known Member

    Joined:
    Sep 20, 2003
    Messages:
    243
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Bucharest
    If you want to limit the number of concurent mysql connections for an user, you can use watchmysql script from here cPlicensing: cPanel Scripts

    (if break mens limit)
     
  7. konrath

    konrath Well-Known Member

    Joined:
    May 3, 2005
    Messages:
    367
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Brasil

    Thank you
    Konrath
     
Loading...

Share This Page