Twitter Weekly Updates for 2010-11-28
- Waarom worden kolencentrales eigenlijk nog gesubsidieerd? http://bit.ly/bctq22 #kolen #energie #subsidie #
- On the couch, reading. Enjoying my more or less solitary weekend. Although being in Brasil with gf would be much better of course. #
- @Dankjewelske gnucash in reply to Dankjewelske #
- @Dankjewelske eekbook schijnt ook goed te zijn, maar nog nooit gebruikt. in reply to Dankjewelske #
- Bah, just missed my train :( #
- @Dankjewelske uh ja, eekboek geloof ik. in reply to Dankjewelske #
- @Dankjewelske Nooit gebruikt, gebruik al jaren gnucash. Das goed genoeg voor mij privé. in reply to Dankjewelske #
- Does anyone know if the #Linux #kernel swaps out block cache? Seems unlikely, but no idea what else is being swapped here… #
- @baseonmars That would actually be illegal here, afaik in reply to baseonmars #
- *gaap* #
- Hele straat stond vanochtend te krabben voor de eerste keer dit jaar. Behalve ik natuurlijk. Lang leve mijn standkachel! #
- Sending out fake twitter messages is enough to get you branded a hacker these days? Twitter isn't that hard, people… #
- @Dankjewelske ik heb daar ook iedere winter last van :( in reply to Dankjewelske #
- @Dankjewelske nadeel van rubberen zolen en in jouw geval prob ook je lange haar.kdenk iedere winter serieus over mezelf permanent aarden :s in reply to Dankjewelske #
- @Dankjewelske Mijn dank is enorm!! Morgen kijken of ze die hier hebben. in reply to Dankjewelske #
- Today I found a tin can full with old (handwritten) letters to me from several friends around 1996-1998 on dad's attic. Been reading them. #
Powered by Twitter Tools
Tags: allocated memory, linux, max mem, memory, overcommit_ratio, per-process-memory, vm
Comments Off
Maximum allocated memory per process
A process in Linux can allocate memory without actually using it. This can create situations in which you have far more memory allocated than you have physically in the machine. We had one process that kept allocating memory without using it, until it ran into a barrier. Look at this munin graph to see what happened there:

Now I was puzzled by the 250GB limit. A 2.6 kernel should be able to allocate 1TB of memory on a machine, if it’s available. So why would it run out of allocatable space at 250GB? Took me a little while, but after a tip from jtopper on IRC, I looked at the vm sysctl documentation and found the overcommit_ratio setting. Which happened to be 50. And the machine just happened to have about 5GB of RAM. Well look there, 5×50 is 250GB… We found the reason why the graph stops increasing at about 250GB!
Twitter Weekly Updates for 2010-11-21
- Lopen net de bios uit, De Sint gezien. Grappig, maar niet erg speciaal. Hadden ze denk ik wel meer van kunnen maken. #
- Autoruitje ingeslagen van mijn Kangoo :( #
- Aangifte via internet gaat *standaard* niet over SSL. Foei @politie. #
- @dankjewelske Ben in Rotterdam :S #
- @domfarr Because nobody considers the EU their own government. in reply to domfarr #
- Trein ge-MIST. #mist #stom #klaagklaag #
- Been working on a genetic algo implementation in python to "solve" binary state diagrams. Didn't notice the time… Did I have supper? #nerd #
- @Dankjewelske Dat weet Rutger toch zeker wel? in reply to Dankjewelske #
- @iivvoo I do not remember paying $302k for setting up my businesses… in reply to iivvoo #
- Bah… Appie vindt dat ik geen internetverbinding heb om mijn aankopen te bekijken, maar de bonusaanbiedingen krijg ik wel! #ah #fail #
- @Dankjewelske Ow ok, dus het ligt niet aan mij! #prutsers bij #ah dus. Dat ze hun serverbeheer eens uitbesteden aan echte experts! in reply to Dankjewelske #
- @ripienaar Probably not what you're looking for, but we use GPG encrypted files in subversion. With per-person cryptokeys, of course. in reply to ripienaar #
- @ripienaar Same cryptokeys that Kees showed for hard disk encryption on Ubuntu at #tdose in reply to ripienaar #
- @_masterzen_ Not entirely sure what you want to know about? It's just GnuPG, really. in reply to _masterzen_ #
Powered by Twitter Tools
Comments Off
Twitter Weekly Updates for 2010-11-14
- Finally on my way to #tdose Eta 11.45u. #
- @KrisBuytaert Life, friends and pets. Always something with me and timeliness… in reply to KrisBuytaert #
- In Eindhoven, walking to #tdose .. where was it again? #
- I have arrived. Let the coffee stinking commence! #
- At the selinux track… I think. #tdose #
- @ripienaar I got the feeling they toned it down some, selinux? Was a bit interested but not anymore. #tdose in reply to ripienaar #
- Updated by @ripienaar about mcollective dev. Tomcat integration! Very interesting! #tdose #
- Just finished Cherie Priest's "Boneshaker". Steampunk is really a much nicer read than I expected. Or Cherie Priest is a very visual writer. #
- RT @bartcortooms Building the Simple Enterprise: http://goo.gl/WkuFG #
- One train later than anticipated… Hope Aagje didn't give me a 'present' for that… #
- @KrisBuytaert svn down? in reply to KrisBuytaert #
- @kartar What was that about #puppet and #python #allears in reply to kartar #
- @kartar Damn, got my hopes up for a minute there :( #
- @davecoveney Could you fix the typo in my comment before allowing it on your blog, please? Silly typo, there's no PHPm! ;-) in reply to davecoveney #
- @ArjenNL Echte mannen gebruiken python 3.1! :P in reply to ArjenNL #
- @ArjenNL apt-get install python3.1 ;) in reply to ArjenNL #
- Pfff the day you are alone at the (virtual) office is usually the day you get the most emails and phone calls *sigh* #
- @Dankjewelske Nee, maar twas ook wel fijn geweest als ik ergens tussendoor een beetje tijd had om te lunchen of zo :S in reply to Dankjewelske #
- hm… my macbook's recent update to 10.6.5 seems to indicate the smartcard issue I had with .4 is fixed… Now for my desktop. #
- Chaos on the train tracks again. I don't get it, what's so hard about getting *enough* wagons on the tracks? #ns #fail #
- @Dankjewelske Viaduct had vast en zeker niet goed uitgekeken toen het over stak. in reply to Dankjewelske #
Powered by Twitter Tools
[Ubuntu] Right-click on Intel Macbook
Finally found out how I can right-click on my Intel Macbook in Ubuntu via the touchpad. And it’s very simple, too, just double-tap the touchpad and it’s a right-click. Probably needs the pommed service from the MacTel Support PPA, but there you have it. A simple Google search gave me the answer, though. No idea why I didn’t just search for it before.
Puppet Tips&Tricks: Running apt-get update only when needed
A small example on how you can make apt-get update only run if a) the machine rebooted and b) something changed in /etc/apt. We use cron-apt to run an update every night, to keep the machine up-to-date, so this is really all we need. If you need to add a repository before you can install a package (say, you want to install a package from the Kumina Debian Repository), you can now do it in one puppet run, if you make sure your package resource depends on apt-get update. This is the code:
# Run apt-get update when anything beneath /etc/apt/ changes
exec { "apt-get update":
command => "/usr/bin/apt-get update && touch /tmp/apt.update",
onlyif => "/bin/sh -c '[ ! -f /tmp/apt.update ] || /usr/bin/find /etc/apt -cnewer /tmp/apt.update | /bin/grep . > /dev/null'",
}
Comments Off
Twitter Weekly Updates for 2010-11-07
- Spotify is already awesome… http://open.spotify.com/track/2Kzmo8bvRMymREkiGsW8Ov Anouk – I Alone (2 Meter Sessie Version) #
- Die vorige is dus Anouk samen met Sarah Bettens die I Alone van LiVE zingen… #
- @ripienaar Not really that big, but I've liked them since Throwing Copper, so kind of a fan. People know them here though. in reply to ripienaar #
- @SintNicolaas Mag "wereldvrede" wel? in reply to SintNicolaas #
- @SintNicolaas Op het verlanglijstje bedoel ik dan. in reply to SintNicolaas #
- @baseonmars Laurie says hi :) #
- @baseonmars It's a small world after all… ;-) He's on IRC in a channel I frequent. Just found out he just left last.fm. in reply to baseonmars #
- Very interesting discussion about monitoring, trending and config management in ##infra-talk on freenode irc. #
- @channtalle Zonder het artikel gelezen te hebben, ik zou oppassen bij de interpretatie van een journalist van statistische informatie. in reply to channtalle #
- @channtalle Zou liegen als ik het tegendeel zou bewijzen! Maar ben blij dat je dat inziet, je wilt niet weten hoe vaak ik dat moet uitleggen in reply to channtalle #
- @channtalle Je zou het wel verwachten ja, maar helaas……… #peopleshouldknowbetter in reply to channtalle #
- Very happy with the new guy at #kumina #
- Waah! Ducky (from NCIS) on screen in… The A-Team! :D #
Powered by Twitter Tools