how to best config for synflood setup in csf but web response still fast
Posted
by
Binh Nguyen
on Server Fault
See other posts from Server Fault
or by Binh Nguyen
Published on 2012-10-02T03:37:45Z
Indexed on
2012/10/02
3:40 UTC
Read the original article
Hit count: 528
my server down random every day 4-5 time cause get high load very quick..
I have install csf and with some config server now stable.. load around 5.
BUT the big isuse is : the real user very hard to access website specially from IE browser you can test at xaluan.com
the flowing is config using in csf:
SYNFLOOD = "1"
SYNFLOOD_RATE = "100/s"
SYNFLOOD_BURST = "10"
CONNLIMIT = "80;30"
PORTFLOOD = "80;tcp;70;5"
CT_LIMIT = "29"
# other config may same as default
i playing around with this config for a week but still not work around..
If increase the rate SYNFLOOD_RATE = "140/s" or more.. the website response very fast.. be side have bad effect of server load increase so fast normal 20 and may be up to few hundred in peck time ..
my need is response time fast but load still low.. please help
thanks
ps: server runing nginx frontend, apache, mysql, php ,, the home page has around 70 elements which will cached in browser in fist time access..
© Server Fault or respective owner