• Flattr FoI: 
Falkvinge &Co. on Infopolicy
BEFORE-FALKVINGE-IF-ANY FALKVINGE &CO. ON
INFOPOLICY
Falkvinge on Infopolicy - Home
»
ServerMeltage

Server Meltage

11

Nonpirate Notes

Nonpirate Notes

Ok, my server did not stand a snowball’s chance in hell in the onslaught last night. That’s kind of sad since I had prepared for so long — but no use crying over spilled milk.

I topped Slashdot, was under “Hot News” on Digg, the top news item on TorrentFreak and was quite retweeted. The server just grinded to a halt. You might as well have unplugged it. (Which, coincidentally, I had to do to let it cool down. That took about an hour.)

Currently, the server is hanging in there — but just barely. It is working at some 95% of memory capacity, and when it hits 100, a downward spiral of death begins immediately. As it can’t service requests, the present requests take longer to process, and so capacity goes down while the flood stays constant, and so the backlog increases, et cetera.

It hits the memory ceiling a couple times a day and when that happens I need to cool it down for a while. I have ordered more memory, but until it arrives (it’s the holidays…) I need to babysit the server.

Oh, and for those who wonder what “average load 150″ means: it means that the server would have needed, on average, 150 processors to handle the load over the past 15 minutes. The machine has four (!) processors. That conveys an image of just how hopelessly melted it was.

Ping @opassande.

You've read the whole article. Why not subscribe to the RSS flow using your favorite reader, or even have articles delivered by mail?

About The Author: Rick Falkvinge

Rick is the founder of the first Pirate Party and is a political evangelist, traveling around Europe and the world to talk and write about ideas of a sensible information policy. He has a tech entrepreneur background and loves whisky.

Liked This?

By participating in the discussion and posting here, you are placing your contribution in the public domain (CC0). If you are quoting somebody else, credit them.

Contributors take own responsibility for their comments.

11

  1. 1

    Why not just let some webhotel host it?

  2. 2

    I finally succeeded in adding the RSS-feed to my reader.

    If one could be permitted to wish for something: The RSS-”backlog” is now set to 10 messages/postings as well as 10 comments. Please increase that to at least 25?

  3. 3

    If you’re not already using lighttpd, switch to it. A lot faster than apache, and uses a lot less resources. Works pretty well with WordPress too. I run it on http://www.linkdata.se/.

  4. 4
    Magnus

    Well of course. Just take a look at your page code and think for a while. Every user that visit a page on your site triggers quite a lot of processes and quite a lot of files to be served out. Much of this could be simplified without sacrificing any info or even one bit of the layout.

    Just think about all that dynamic content, many of them causing database activity, that dynamic content stands probably alone for the bulk of the load. You have 11 linked scripts and 20 inline, where many probably is written on the fly by the server. Is it good and useful info? Yes. Does it have to be on the fly second fresh info? No. Can it be done in other ways reducing load? Yes. You could have the server update all that dynamic content to some template every second minute or so, even variable depending on current load, not once for every page served. You would get quite a huge gain only on that little stunt and visitors wont even notice it.

  5. 5
    Etu

    I see that the slashdot effect hitted you :)

  6. 7
    Benny L

    Well, as of course you already know, the “load” figure in a unix/linux system really doesn’t mean that you need more processors.

    It means that at any given time (or, as in your case, as an average over the last fifteen minutes) there are X processes in the *run* *queue*. That means, there are X processes with something to do, that for one reason or another waits to get its opportunity to run some userland code.

    And in your case, I’m willing to bet that your disk subsystem is saturated, either by database activity or, more likely, by swapping activity.

    Anyway, having hundreds of processors instead of your four cores wouldn’t have helped you one bit. :-) You would have had a load of 1 but hundreds of processes in an i/o-wait state instead.

    Hur som helst, lycka till med vad än framtiden har att bjuda. :-)

    /B

  7. 8
    Name

    Big on Slashdot, Digg… still not in Swedish parliament. Reality check.

Add a Comment

On Facebook

More in Nonpirate Notes

Utøya-1
67

Nonpirate Notes

Nonpirate Notes

Maniacally lazy guy working fervently on a laptop
6

Nonpirate Notes

Nonpirate Notes

About The Author

Rick is the founder of the first Pirate Party and is a political evangelist, traveling around Europe and the world to talk and write about ideas of a sensible information policy. He has a tech entrepreneur background and loves whisky.

More On Infopolicy

Pile of postcards
10

Privacy

Privacy

Document Freedom Day logo
1

Infrastructure

Infrastructure

Afghan Voter with purple finger. CC-BY-NC by U.S. Army Garrison - Miami
9

Corruption – Andrew Norton

Corruption – Andrew Norton

Group of college students studying at campus
24

Freedom of Speech – Piotr Czerski

Freedom of Speech – Piotr Czerski

A cableway car running along its cable in the air
1

Copyright Monopoly – Thijs Markus

Copyright Monopoly – Thijs Markus

Statue of Lady Justice holding scales and a sword. Sadly, she does not shoot shurikens, nor lightning.
16

Quality Legislation – Zacqary Adam Green

Quality Legislation – Zacqary Adam Green

Group of teenagers using laptop outdoors
23

Infopolicy – Zacqary Adam Green

Infopolicy – Zacqary Adam Green

A poster of Joe Arpaio proud of being associated with the KKK. CC-BY-NC-ND by katerkate
3

Freedom of Speech – Andrew Norton

Freedom of Speech – Andrew Norton

Dark-skinned, possibly malnourished hand holding a crumpled one-dollar note
5

Infopolicy – Anonymous

Infopolicy – Anonymous

Spirit fingers at Occupy Wall Street - Flickr photo from getdarwin
22

Privacy – Zacqary Adam Green

Privacy – Zacqary Adam Green

A tip jar filled with cash on a bar. I was too lazy to come up with a better idea for a picture.
21

Swarm Economy – Zacqary Adam Green

Swarm Economy – Zacqary Adam Green

lv
7

Copyright Monopoly – Travis McCrea

Copyright Monopoly – Travis McCrea

Stenciled spraypaint on wall saying "The Writing On The Wall". Photo by duncan at Flickr, CC-BY-NC.
4

Reflections – Johanna Drott

Reflections – Johanna Drott

Blond hair businesswoman with katana sword
18

Freedom of Speech

Freedom of Speech

Keyboard with a "buy" button
4

Infrastructure – Emma Opassande

Infrastructure – Emma Opassande

Colosseum, illustrating fights to the death.
6

Copyright Monopoly

Copyright Monopoly

Are you a Warrior? Or a Wimp?
3

Copyright Monopoly – Andrew Norton

Copyright Monopoly – Andrew Norton

The city from Blade Runner. It's cool for about five minutes, and then you realize it actually kinda sucks to live there.
9

Swarm Economy – Zacqary Adam Green

Swarm Economy – Zacqary Adam Green

Pirate Party Pumpkin and Tripod. [Image CC-BY K`Tetch]
3

Infopolicy – Andrew Norton

Infopolicy – Andrew Norton

OnAir
15

Copyright Monopoly

Copyright Monopoly

Pirates learning place
11

Copyright Monopoly – David Xanatos

Copyright Monopoly – David Xanatos

A man kissing his piles of money
19

Copyright Monopoly

Copyright Monopoly

Photo from Wroclaw, Poland
1

Copyright Monopoly

Copyright Monopoly

This publication is protected under the Constitution of the Kingdom of Sweden. Any problem you have with this publication remains exclusively yours. Accountable publisher: Rick Falkvinge.
All text on this site is Public Domain / CC0 unless specifically noted and credited otherwise. Copy, remix, and inspire. (Troll policy.)
Log in | Original theme design by Gabfire themes (heavily modified)