+ Reply to Thread
Results 1 to 4 of 4
Like Tree2Likes
  • 1 Post By masshuu
  • 1 Post By aljo1985

Thread: Urgent Help Please.

  1. #1
    aljo1985 is offline x10Hosting Member aljo1985 is an unknown quantity at this point
    Join Date
    Jul 2009
    Posts
    3

    Angry Urgent Help Please.

    Hey everyone..

    some one has found a something that will just basically shut my website down and cause the server to crash.

    In google chrome he just holds F5 and the web page refreshes fast as hell and will cause the number of apache processes to max out and apache will cut off.

    Won't work any more.

    I did this myself and got the SAME result saw the processes SHOOT up and the whole server go offline.

    I really need some help fixing this..

    I have Centos with webmin and virtualmin

    I really dunno how to stop this.. I tried to install mod_evasive
    Its not working
    Even though its in the apache config.. I even put the DOSSiteCount to 10
    Not working..

    Please can some one help me fix this

    Its really damaging.

    ---------- Post added at 08:23 PM ---------- Previous post was at 06:22 PM ----------

    I been looking how to limit the number of connections per IP address and I tired everything.

    All seems to fail.

    I have tried using IP tables
    http://www.cyberciti.biz/faq/iptable...-limits-howto/

    I tried to install mod_evasive << It doesn't seem to be installed properly.
    I also tried to install ipconnlimit << everything I try seems not to work..

    I am totally missing something on installing these mods..

    I would really appreciate some help on this.

  2. #2
    masshuu's Avatar
    masshuu is offline Head of the Geese masshuu has a spectacular aura about
    Join Date
    Oct 2007
    Location
    Las Colinas, Tx
    Posts
    2,262

    Re: Urgent Help Please.

    Apache doesn't handle allot of requests well. You could tweak the server-pool settings to deal with this.
    Alternatively if you don't need all of apache's functionality, you could switch to another web server(I don't understand why apache became "the" web server), there are others which don't require as much tweaking, but you need to know what your doing

    I use a nginx + fastcgi + acp setup(which the main x10 site and forums use) I benchmarked it, depending on the php page, i can hit 1200 to 5000 requests a second(which will fully saturate my 100mbps port) with little load increase(I could still get in and ban an IP hammering me if need be)
    Additionally i have hit 12,000 hits a second on a static file with no load increase(it in fact went down since it was up slightly from other benchmarks)

    There are several other good webservers out there. Youtube use lighthttpd,
    Last edited by masshuu; 03-02-2011 at 02:57 PM.
    karimirt47 likes this.
    Just leading the flock.
    Livewire
    Masshuu ------ carl6969
    descalzo ------------------- Smith6612
    Bryon--------------------------------- Corey
    If you find any post helpful or useful, duck
    \ / This for that post and rep it up.

  3. #3
    aljo1985 is offline x10Hosting Member aljo1985 is an unknown quantity at this point
    Join Date
    Jul 2009
    Posts
    3

    Re: Urgent Help Please.

    Quote Originally Posted by masshuu View Post
    Apache doesn't handle allot of requests well. You could tweak the server-pool settings to deal with this.
    Alternatively if you don't need all of apache's functionality, you could switch to another web server(I don't understand why apache became "the" web server), there are others which don't require as much tweaking, but you need to know what your doing

    I use a nginx + fastcgi + acp setup(which the main x10 site and forums use) I benchmarked it, depending on the php page, i can hit 1200 to 5000 requests a second(which will fully saturate my 100mbps port) with little load increase(I could still get in and ban an IP hammering me if need be)
    Additionally i have hit 12,000 hits a second on a static file with no load increase(it in fact went down since it was up slightly from other benchmarks)

    There are several other good webservers out there. Youtube use lighthttpd,
    O.k. I understand what you are saying.. But I have no idea how I would actually do this.
    What would it take for someone to teach me.

    At the end of the day.. If I can't stop these attacks then the website is doomed.
    So if I can get a solution I will take it.

    Seriously any help would be worth ALOT!

    ---------- Post added 03-03-2011 at 01:03 AM ---------- Previous post was 03-02-2011 at 09:49 PM ----------

    I been trying to install this mod_evasive properly but I am running into problems..

    I am having trouble installing httpd-devel
    I searched all over the net and still not found an answer.

    Here is the problem I am having with it

    Code:
    # yum install httpd-devel
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * addons: mirror.fdcservers.net
     * base: mirrors.gigenet.com
     * extras: mirror.unl.edu
     * updates: centos.mbni.med.umich.edu
    Setting up Install Process
    Package 1:httpd-devel-2.2.3-43.3.vm.x86_64 already installed and latest version
    Resolving Dependencies
    --> Running transaction check
    ---> Package httpd-devel.i386 0:2.2.3-43.el5.centos.3 set to be updated
    --> Processing Dependency: httpd = 2.2.3-43.el5.centos.3 for package: httpd-devel
    --> Finished Dependency Resolution
    httpd-devel-2.2.3-43.el5.centos.3.i386 from updates has depsolving problems
      --> Missing Dependency: httpd = 2.2.3-43.el5.centos.3 is needed by package httpd-devel-2.2.3-43.el5.centos.3.i386 (updates)
    Error: Missing Dependency: httpd = 2.2.3-43.el5.centos.3 is needed by package httpd-devel-2.2.3-43.el5.centos.3.i386 (updates)
     You could try using --skip-broken to work around the problem
     You could try running: package-cleanup --problems
                            package-cleanup --dupes
                            rpm -Va --nofiles --nodigest
    I dunno how to fix this dependency issue.
    Please could some one help me get this working.
    I have tried the running suggestions nothing is working
    dinomirt96 likes this.

  4. #4
    aljo1985 is offline x10Hosting Member aljo1985 is an unknown quantity at this point
    Join Date
    Jul 2009
    Posts
    3

    Angry Re: Urgent Help Please.

    O.k. I done some more mooching around.
    Experimenting and installing different things

    Now the error and reason its happening I know fully now.
    The error it is throwing in error log for the domain is
    Code:
    [Thu Mar 03 11:33:44 2011] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function
    Which means "The "Software caused connection abort" errors can be safely ignored. Those just mean that the user or bot connecting to your website ended the connection before the webpage was fully loaded. That can happen if the user hit the "Stop" button, or the bot moved onto another website."

    Basically when there holding F5 its sending a new connection before closing it causing loads of them to spawn and max out CPU with tasks

    I installed mod_security
    This seems to put a "you are not allowed access to this / on this server"
    When its performed but still throws the requests.

    I also installed mod_evasive << this seems to do nothing

    Well going back to mod_security
    Its stopped some java script from working when activated
    and also it does PROLONG the time it would take to cut off apache
    but still is not a cure when I say prolong it can just last like 20 seconds longer

    Is there a way to add a rule to this or something I can do in IP tables so that
    If this occurs then drop the IP

    Maybe something can be commanded in mod_security

    I have followed all them steps up there
    Only thing I didn't do was the sql change.
    Which I wont be doing for some time yet.

+ Reply to Thread

Similar Threads

  1. Urgent - email is not working - urgent
    By mylifestyle in forum Free Hosting
    Replies: 0
    Last Post: 10-03-2010, 07:06 AM
  2. Urgent!!!!
    By Coolmaty in forum Free Hosting
    Replies: 1
    Last Post: 07-20-2008, 01:00 PM
  3. Replies: 3
    Last Post: 03-21-2008, 09:02 PM
  4. Need Help! Urgent!
    By bdog13 in forum Free Hosting
    Replies: 4
    Last Post: 01-13-2008, 12:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers