
Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tlug] DDB/CJKV-E Web Host under DDOS attack
- Date: Mon, 14 Mar 2016 04:18:47 +0900
- From: Curt Sampson <cjs@example.com>
- Subject: Re: [tlug] DDB/CJKV-E Web Host under DDOS attack
- References: <55E425B2.3010309@l.u-tokyo.ac.jp> <5684F956.6080103@l.u-tokyo.ac.jp> <56875688.2030409@l.u-tokyo.ac.jp> <8F8F0284-13E6-49E1-992F-B5EDD148BAED@tsukaeru.net> <20160104041200.GC3188@monotonic.cynic.net> <CABHGxq5sz5RakSxtO=XW-obittzdKwnvMd7ZBwp=rNhE09V0jA@mail.gmail.com> <20160106042312.GA24871@monotonic.cynic.net> <CABHGxq5xa_ck+rPtuV-fN2Ho4qeZ3muaGbmsCmJRsr-bZkccSg@mail.gmail.com> <20160308083313.GI5597@telephonic.cynic.net> <CABHGxq4eM8fLQ-9sNke00D=H_kowrVhbbL6q061S210Fyq4+nQ@mail.gmail.com>
- User-agent: Mutt/1.5.21 (2010-09-15)
Well, I had a bunch of commments, but then I came across this:
On 2016-03-10 10:24 +1100 (Thu), Jim Breen wrote:
> A rush of requests has lead to a heap of processes (httpd, etc.) being
> spawned, a sudden runout of RAM and swap, and the system eventually
> thrashes itself to death.
That's your number one issue right there. In general, if you *ever*
allow requests to cause new processes to be spawned, you've set yourself
up to be hurt a lot more by a DDOS than you need to be.
>From your other comments (e.g., about wwjdic being in C and not using
an external DBMS) I can see that the system is rather less typical than
I'd first assumed, so any other advice before I properly understand it
(including my advice in messages before this one) is going to be kind of
hit-or-miss.
That said, I find it hard to think of a situation where, for a site like
yours, if properly written, a DDOS could run you out of CPU or disk
before bandwith on "regular" machines (by which I mean, your typical
cheap i7 things without 10GigE interfaces).
Anyway, I'm happy to kick around further ideas about this any time, but
it probably needs a chat rather than just e-mail.
cjs
--
Curt Sampson <cjs@example.com> +81 90 7737 2974
To iterate is human, to recurse divine.
- L Peter Deutsch
Home |
Main Index |
Thread Index