• 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

+ 5 = 7  

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

Other Recent Headlines

tsa
7

Activism – Travis McCrea

Activism – Travis McCrea

email security
24

Activism – Andrew "K`Tetch" Norton

Activism – Andrew "K`Tetch" Norton

Chris Dodd is not amused
10

Pirate Parties – Zacqary Adam Green

Pirate Parties – Zacqary Adam Green

file0001685183687
26

Reflections

Reflections

Dandelion seed
11

Freedom of Speech – Christian Engström

Freedom of Speech – Christian Engström

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

Buskers - CC image by blueroy on Flickr
11

Reflections – Zacqary Adam Green

Reflections – Zacqary Adam Green

Beggar - CC photo by Flickr user jmennens
9

Reflections – Zacqary Adam Green

Reflections – Zacqary Adam Green

Taboo game cards - CC photo by Flickr user Geekyteacher
11

Reflections – Zacqary Adam Green

Reflections – Zacqary Adam Green

Gento Penguins on Falklands/Malvinas Islands. Photo by chrispearson72 at FlickR
16

Argentina – Juan Manuel Santos

Argentina – Juan Manuel Santos

Pen and ink
19

Infopolicy – Lionel Dricot

Infopolicy – Lionel Dricot

"Monopoly" board game, dice in foreground
15

Patent Monopolies – Christian Engström

Patent Monopolies – Christian Engström

Vague concept of code
20

Reflections

Reflections

LHC's ATLAS detector, with Alpha Geek | Copyright Maximilien Brice, CERN
9

Activism – Andrew "K`Tetch" Norton

Activism – Andrew "K`Tetch" Norton

Dr. Evil doing that thing he does with his pinky finger
44

Lobby Efforts – Zacqary Adam Green

Lobby Efforts – Zacqary Adam Green

Private Property sign on a tree
6

Copyright Monopoly – Christian Engström

Copyright Monopoly – Christian Engström

3D printer making some kind of…turtle? I guess?
15

Activism – Zacqary Adam Green

Activism – Zacqary Adam Green

J.S. Bach, BWV 605, Der Tag, der ist so freudenreich. (score)
25

Copyright Monopoly – Karl Fogel

Copyright Monopoly – Karl Fogel

Reading room at the New York Public Library
90

Infopolicy – Zacqary Adam Green

Infopolicy – Zacqary Adam Green

Trying, unsuccessfully, to reinvent the cuddly toy business model
25

Copyright Monopoly – Jack Zeal

Copyright Monopoly – Jack Zeal

A musical group busking in a public square
23

Copyright Monopoly – Zacqary Adam Green

Copyright Monopoly – Zacqary Adam Green

Fences on a lawn, private residence in background, signifying dividers and privacy.
6

Privacy – Henrik Alexandersson

Privacy – Henrik Alexandersson

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)