RSS

Stalling MySQL under DDoS

01 Oct

In the most recent DDoS attack on my servers I’ve noticed that my provider was blocking all malicious pockets, but was causing the network latency big enough for MySQL connections to time out.

After increasing the connection time and net read timeout limits the problem was gone.

connect_timeout=30
net_read_timeout=45

The pages seem sluggish, but they do open up within 5-7 seconds.

Advertisements
 
Leave a comment

Posted by on October 1, 2012 in MySQL

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: