News for hackers. Stuff that matters.
Re:Stephen Hawking's Ph.D. Thesis Crashes Cambridge Site Aft... by maxpert on Monday October 23, 2017 @10:58PM (#15538861)
Ok I am confused, 60k hits in a day? What broght down the website? 72MB of size, network congestion, or 60k hits? Even with authentication for download what can bring the system down? I have handled more traffic on a RPi with 100MBps connection. I really don’t get it.
Re:Stephen Hawking's Ph.D. Thesis Crashes Cambridge Site Aft... by maxpert on Tuesday October 24, 2017 @01:42AM (#15539491)
Here I made a quick copy and a quick domain, almost 10 LoC and it will be more reliable than what Cambridge had http://hawking.sibte.ml/
Re:Stephen Hawking's Ph.D. Thesis Crashes Cambridge Site Aft... by fnwx17 on Tuesday October 24, 2017 @08:56AM (#15541174)
Love the irony on that! Which makes me wonder how much valuable content and research in locked away on technologically ancient servers in Cambridge and Oxford.
Re:Stephen Hawking's Ph.D. Thesis Crashes Cambridge Site Aft... by qurashee on Tuesday October 24, 2017 @09:14AM (#15541252)
More modern and up to date than you'd think :) Some departments here in Oxford have a server life-cycle of 3-5 years. It's just that nobody bothers for higher than expected volume of traffic unfortunately (a practice that can be extrapolated to many things in academia).
Re:Stephen Hawking's Ph.D. Thesis Crashes Cambridge Site Aft... by chauhankiran on Tuesday October 24, 2017 @03:19AM (#15539802)
Wow! Thanks. But, I do not understand the <script> tag in homepage contains lots of ![]+[].
Re:Stephen Hawking's Ph.D. Thesis Crashes Cambridge Site Aft... by alain_gilbert on Tuesday October 24, 2017 @03:24AM (#15539825)
I think it's just a way to document.write his email address, so no bot/crawler can directly see it.

Edit: It evaluate to `document.write('HIS_EMAIL at gmail')`

Re:Stephen Hawking's Ph.D. Thesis Crashes Cambridge Site Aft... by pennaMan on Tuesday October 24, 2017 @07:15AM (#15540740)
If the browser can do it what's stoping a headless browser bot from evaluating it all the same? Is it just to lower the attack surface?
Re:Stephen Hawking's Ph.D. Thesis Crashes Cambridge Site Aft... by poooogles on Tuesday October 24, 2017 @07:53AM (#15540890)
>If the browser can do it what's stoping a headless browser bot from evaluating it all the same?

The vast majority of crawlers aren't that smart, headless browsers used to be painfully slow so no one used them.

Re:Stephen Hawking's Ph.D. Thesis Crashes Cambridge Site Aft... by contravariant on Tuesday October 24, 2017 @09:35AM (#15541386)
Evaluating all javascript to see if it eventually writes an email address is not a good idea.

In fact doing so probably violates the halting problem somehow.

Re:Stephen Hawking's Ph.D. Thesis Crashes Cambridge Site Aft... by mortehu on Tuesday October 24, 2017 @08:23AM (#15541016)
(60000 connections * 72 MB) / (24 hours * 40 Mbps) ~= 10 concurrent connections.

If your server is configured for a low number of concurrent connections, it can easily seem swamped if a small number of people are concurrently downloading a large file slowly. All that's happening is that it's not accept()ing new connections until existing ones finish.

Re:Stephen Hawking's Ph.D. Thesis Crashes Cambridge Site Aft... by gilleain on Tuesday October 24, 2017 @09:39AM (#15541402)
Heh, I don't know what the current hardware is for the CUDL DSpace repository, but having helped upgrade it a few years ago, I can't say the software is the fastest.

It's a java application with XLST in the page rendering pipeline, so not exactly optimised for speed.

Re:Stephen Hawking's Ph.D. Thesis Crashes Cambridge Site Aft... by lstyls on Monday October 23, 2017 @11:15PM (#15538923)
If you're hitting a single box, this seems perfectly possible - especially if the server or the network is poorly configured. This is what CDNs are for.
Re:Stephen Hawking's Ph.D. Thesis Crashes Cambridge Site Aft... by dsfyu404ed on Tuesday October 24, 2017 @09:25AM (#15541328)
This isn't Joe's blog running from a desktop found in a dumpster. It's a university with actual infrastructure. They should be able to handle this. Registration is probably more load.

A 72MB file being served 500,000 times over a 24hr period is 3-4Gb/sec.

The department probably has one or more web servers serving content off a network drive. Your average "rack of network storage" won't even blink at that.

There was probably a gigabit switch somewhere or that was being a bottleneck or the web server was simply misconfigured for this task.

Re:Stephen Hawking's Ph.D. Thesis Crashes Cambridge Site Aft... by lstyls on Wednesday October 25, 2017 @09:40PM (#15555729)
+1, thanks for the correction. Apparently I have a skewed perspective only working on web at big corporate joints.
Re:Stephen Hawking's Ph.D. Thesis Crashes Cambridge Site Aft... by mayank on Tuesday October 24, 2017 @01:51AM (#15539516)
Probably a burst of traffic hitting a single box web server, rather than 60k hits spread out evenly over a day.
Re:Stephen Hawking's Ph.D. Thesis Crashes Cambridge Site Aft... by posterboy on Tuesday October 24, 2017 @03:36AM (#15539873)
With a half time of 3 days of interest and a 100 MBps connection the average download time would be 3 hours. That would indeed seem unusual for today. but 30k page hits spaced out over 60 hours is not too much of a burden on top of that.
Re:Stephen Hawking's Ph.D. Thesis Crashes Cambridge Site Aft... by yreg on Tuesday October 24, 2017 @04:57AM (#15540180)
It hit top of reddit yesterday, I don't think it was a mere 60k hits.
Re:Stephen Hawking's Ph.D. Thesis Crashes Cambridge Site Aft... by Vinnl on Tuesday October 24, 2017 @07:23AM (#15540774)
Re:Stephen Hawking's Ph.D. Thesis Crashes Cambridge Site Aft... by maxpert on Tuesday October 24, 2017 @10:16AM (#15541684)
Tweeted her :P let's see if she is bothered to respond
Re:Stephen Hawking's Ph.D. Thesis Crashes Cambridge Site Aft... by masonic on Tuesday October 24, 2017 @05:17PM (#15545317)

  What brought down the website?
The Greys.