• 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

1 + 2 =   

On Facebook

Popular Articles

PyramidCapital
12

Diversity – Zacqary Adam Xeper

Diversity – Zacqary Adam Xeper

Screenshot from Librep-2014-08-10-take1.mp4
7

Civil Liberties

Civil Liberties

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

Librep July 12 frame
32

Civil Liberties

Civil Liberties

Money cut into pieces - Photo by Flickr user Tax Credits
77

Swarm Economy – Zacqary Adam Xeper

Swarm Economy – Zacqary Adam Xeper

colorblindflag
22

United States – Zacqary Adam Xeper

United States – Zacqary Adam Xeper

Adobe the leech - original photo by OakleyOriginals on Flickr
168

Swarm Economy – Zacqary Adam Xeper

Swarm Economy – Zacqary Adam Xeper

peter_sunde_0237
13

Swarm Economy – Lionel Dricot

Swarm Economy – Lionel Dricot

solarroad
15

Swarm Economy – Zacqary Adam Xeper

Swarm Economy – Zacqary Adam Xeper

European Parliament
70

Pirate Parties

Pirate Parties

Burned book
35

Civil Liberties – Henrik Alexandersson

Civil Liberties – Henrik Alexandersson

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

NSA Seal Holding the Heartbleed Logo
40

Infrastructure – Zacqary Adam Xeper

Infrastructure – Zacqary Adam Xeper

Bitcoin concept by Antanacoins. CC-By-SA, Flickr.
42

Cryptocurrency – Charlie Shrem

Cryptocurrency – Charlie Shrem

Bottles of Snake Oil - Photo by Jagrap on Flickr
29

Copyright Monopoly – Zacqary Adam Xeper

Copyright Monopoly – Zacqary Adam Xeper

facebook
12

Swarm Economy – Zacqary Adam Xeper

Swarm Economy – Zacqary Adam Xeper

523377_63619557
4

Infopolicy – Henrik Brändén

Infopolicy – Henrik Brändén

photo_10071_20090418-646x363
71

Copyright Monopoly – David Collier-Brown

Copyright Monopoly – David Collier-Brown

National_Security_Agency_headquarters,_Fort_Meade,_Maryland_public_domain_image
150

Infopolicy – Christian Engström

Infopolicy – Christian Engström

"God Hates Signs" next to "God Hates Fags" protesters
8

Freedom of Speech – Zacqary Adam Xeper

Freedom of Speech – Zacqary Adam Xeper

Many different currencies - CC photo by epSos.de
45

Diversity – Zacqary Adam Xeper

Diversity – Zacqary Adam Xeper

le_tresor_rackham_le_rouge_1280x1024
11

Copyright Monopoly – Lionel Dricot

Copyright Monopoly – Lionel Dricot

Valve mechanism
92

Freedom of Speech

Freedom of Speech

Books before copyright
99

Copyright Monopoly – Johnny Olsson

Copyright Monopoly – Johnny Olsson

Collaborative whiteboard at OuiShare 2012, full of wonderful ideas for venture capitalists to ruin - photo by Natalie Ortiz
15

Swarm Economy – Zacqary Adam Xeper

Swarm Economy – Zacqary Adam Xeper

Border Patrol In Montana
25

Activism – Travis McCrea

Activism – Travis McCrea

Spices - Marrakech 09 Souks
58

Swarm Economy

Swarm Economy

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)