Yay, an award!
Ironically in the week that we redesign it for spring summer '09 www.bench.co.uk is NMA's (New Media Age) site of the week:
- ► 2010 (20)
- ► 2009 (59)
- ▼ December (3)
- ► 2007 (174)
Monday, December 22, 2008
Yay, an award!
Wednesday, December 17, 2008
Much like many others of you we run servers which accept http connections on one eth and make db connections on another. In this case eth0 faces out and eth1 faces in to the db zone.
Sounds reasonable? In fact I suggest that you should put them the other way round.
We get alerts when web requests fail because of a lack of db connection, its meant to let us know when the db connections are running out.
But today colleague x executed a graceful restart of the networking on a busy web server, you can tell whats coming can't you...
Yes... eth0 starts first, processes try to connect through eth1 before its up, hundreds of errors LoL!
So in future, eth0 shall face in-the-way, so that the route to the db is available before we open the front door to the hordes of christmas shoppers.
So remember, at xmas the rule is:- eth0 lan eth1 internet
'Tis the season to be jolly, or jolly busy as we are in the waccy world of online retail.
In fact thats 99.99% of the reason i've been so quite recently.
But naturally, at this time of year, our thoughts turn to such questions as "how many MaxClients should I have?" and "are keepalives better or worse for overall performance?" but the question exercising our minds today has been "what *are* all those ip_conntrack entries?".
Rewind a little... a) I turned keepalives off, and reduced MaxClients, things seemed to be more controlled without all those idle processes ready to receive requests with no warning.
b) We'd always had a low but persistent number of "can't connect", or "no html" errors reported by external beacons, and when we applied test loads this went through the roof.
So today, dmesg says.. ip_conntrack: table full, dropping packet.
Which brings me to the point of this post, we increased the size of the table in line with the unverified facts, lies, and dodgy misinformation prevelant on the web ;-)
That helped, but now we want to know whats in the ip_conntrack?
Enter the victor of the command of the week award..
Knowedge is power, have an award Patrick Schaaf. :-)
It’s the night before I #RunSurfCity and I’m thinking about Sam Dweck, the friend we lost last Sunday. Closing my eyes I can see her smiling, no matter how intense our November Project workouts. fb.com/NovemberProjectSF/photos/fp.214611.1234260440/556426371160527 https://scontent-b-lax.xx.fbcdn.net/hphotos-xpa1/v/t1.0-9/10347644_556426371160527_1581628575812443453_n.jpg?oh=cb8b0323ad19344ce384868ee5708672&oe=556EB6C5&ext=.jpg That’s her with her signature backwards trucker cap, grinning and doing tricep dips while I’m concentrating intensely on something, probably breathing. In addition to NPSF (November Project San Francisco), I got to know Sam during our TrackTuesday workouts which brought out a different kind of intensity. http://instagram.com/p/sNaCAIg1Qg/ http://photos-g.ak.instagram.com/hphotos-ak-xpa1/t51.2885-15/927143_679420362133574_1556234502_n.jpg Sam was always there, always smiling, always kind, always encouraging. Tomorrow I’m running the Surf City Half Marathon in Huntington Beach, my 5th overall, first of 2015, second with my dad, first with my good friend Nicole, and first race with November Project LAX friends as well. I’m grateful I get to race with friends & family. I’ll be keeping Sam Dweck in mind the entire time, and honoring her memory by going as fast as I can (even if not quite as #FastAsSam), and smile doing it. That’s what she would have done.12 hours ago
I know nothing, I'm not a fortune teller, and you'd be insane to think that I am. This disclaimer was cribbed from an email footer I once received. It is so ridiculous I had to have it for myself.
Statements in this blog that are not purely historical are forward-looking statements including, without limitation, statements regarding my expectations, objectives, anticipations, plans, hopes, beliefs, intentions or strategies regarding the future. Factors that could cause actual results to differ materially from the forward looking statements include risks and uncertainties such as any unforeseen event or any unforeseen system failures, and other risks. It is important to note that actual outcomes could differ materially from those in such forward-looking statements.
Danny Angus Copyright © 2006-2013 (OMG that's seven years of this nonsense)