Train GraphicClick on the map to explore geographics
 
I need help
FAQ
Emergency
About .
Travel & transport from BBC stories as at 08:35 04 Dec 2024
 
* Three rail firms to be renationalised next year
- 'Deeply disturbed': South Koreans react to President Yoon's martial law order
Read about the forum [here].
Register [here] - it's free.
What do I gain from registering? [here]
 07/12/24 - Christmas Lights MTUG
15/12/24 - New Timetable Starts
19/12/24 - MTUG Committee Plus meeting
25/12/24 - Westbury Station Closure

On this day
4th Dec (1898)
Theft of Chocolate at Melksham Station (link)

Train RunningCancelled
07:00 Gatwick Airport to Reading
07:59 Gatwick Airport to Reading
08:07 Didcot Parkway to Oxford
08:34 Didcot Parkway to Banbury
20:56 Cardiff Central to Bristol Temple Meads
21:46 Bristol Temple Meads to Severn Beach
22:40 Severn Beach to Bristol Temple Meads
Short Run
07:34 Redhill to Reading
08:23 Portsmouth Harbour to Cardiff Central
13:28 Weymouth to Gloucester
13:50 London Paddington to Great Malvern
16:32 Great Malvern to London Paddington
18:10 Taunton to Cardiff Central
20:24 Exmouth to Cardiff Central
20:52 London Paddington to Great Malvern
21:53 London Paddington to Worcester Shrub Hill
Abbreviation pageAcronymns and abbreviations
Stn ComparatorStation Comparator
Rail newsNews Now - live rail news feed
Site Style 1 2 3 4
Next departures • Bristol Temple MeadsBath SpaChippenhamSwindonDidcot ParkwayReadingLondon PaddingtonMelksham
Exeter St DavidsTauntonWestburyTrowbridgeBristol ParkwayCardiff CentralOxfordCheltenham SpaBirmingham New Street
December 04, 2024, 08:36:48 *
Welcome, Guest. Please login or register.

Login with username, password and session length
Forgotten your username or password? - get a reminder
Most recently liked subjects
[96] Northumberland Line to open on Sun 15 December
[92] Louise Haigh, Transport Secretary until 28 Nov 2024
[82] AQ03 - what do these groups have in common
[80] The Magic Roundabout
[75] Tiger has indigestion - use lion, puma or cheetah instead!
[59] CrossCountry upgrade will see 25% more rail seats
 
News: A forum for passengers ... with input from rail professionals welcomed too
 
   Home   Help Search Calendar Login Register  
Pages: 1 [2]
  Print  
Author Topic: Coffee Shop forum Server load - ongoing issues, being resolved by grahame  (Read 6640 times)
grahame
Administrator
Hero Member
*****
Posts: 42751



View Profile WWW Email
« Reply #15 on: May 31, 2024, 07:48:28 »

Here is where we were a week ago:

Server load (just one of a number of monitors) from last night - ideally it should be at or below 1 job queuing at any time

The hard black line is yesterday ... the coloured lines are previous days

Here we are now:



And I'm much happier with how that has settled.
Logged

Coffee Shop Admin, Acting Chair of Melksham Rail User Group, Option 24/7 Melksham Rep
grahame
Administrator
Hero Member
*****
Posts: 42751



View Profile WWW Email
« Reply #16 on: August 03, 2024, 07:04:37 »

During July, traffic on our web server rocketed. On 30th June there were 263,933 accesses and on 31st July that was up to 597,214.  And the extras were ones that take significant server resource - requests that carry on sessions (my technical choice of measure) up from 93,049 to 492,532.  Our server IS being robust over this at present but there are some slow responses - members just please be aware.  Work underway to characterise the changes more finely and take any necessary follow up actions.
Logged

Coffee Shop Admin, Acting Chair of Melksham Rail User Group, Option 24/7 Melksham Rep
grahame
Administrator
Hero Member
*****
Posts: 42751



View Profile WWW Email
« Reply #17 on: August 19, 2024, 14:44:16 »

The server load is getting silly again with so many guests it's ridiculous ... and there's a lack of commonality in them such that there is no quick and easy solution to identify and block those that are clearly not genuine.  I do have a cunning plan - however it will require some experimentation and may result in some breaks of service and funny (peculiar) results for genuine users from time to time while I tune.   Please don't panic for an hour or two.
Logged

Coffee Shop Admin, Acting Chair of Melksham Rail User Group, Option 24/7 Melksham Rep
Chris from Nailsea
Administrator
Hero Member
*****
Posts: 18910


Justice for Cerys Piper, please!


View Profile Email
« Reply #18 on: August 19, 2024, 15:47:50 »

Blimey!  There are apparently Luddites even worse than me, then!   Shocked

Full support to you, grahame, to do whatever is necessary.  Wink
Logged

William Huskisson MP (Member of Parliament) was the first person to be killed by a train while crossing the tracks, in 1830.  Many more have died in the same way since then.  Don't take a chance: stop, look, listen.

"Level crossings are safe, unless they are used in an unsafe manner."  Discuss.
bobm
Administrator
Hero Member
*****
Posts: 10143



View Profile
« Reply #19 on: August 19, 2024, 19:31:22 »

I noticed the other day we clocked up the most ever "visitors" at the same time on the 6th August with 1936 on line.   Shame when things like this skew the real picture.
Logged
grahame
Administrator
Hero Member
*****
Posts: 42751



View Profile WWW Email
« Reply #20 on: August 19, 2024, 23:32:54 »

I noticed the other day we clocked up the most ever "visitors" at the same time on the 6th August with 1936 on line.   Shame when things like this skew the real picture.

I think we're down to around 15% of that

If you're genuinely here and see this occasionally - please let me know as it would mean I have overdone the hard shell protecting us

Logged

Coffee Shop Admin, Acting Chair of Melksham Rail User Group, Option 24/7 Melksham Rep
grahame
Administrator
Hero Member
*****
Posts: 42751



View Profile WWW Email
« Reply #21 on: October 17, 2024, 12:50:39 »

If you're genuinely here and see this occasionally - please let me know as it would mean I have overdone the hard shell protecting us



I have seen the message about in some extreme testing I have done, but had no reports of it occurring for members to the extent that it irritates.  In any case in clears if you retry a few minutes later.

More "sillies" over the past few days, now fixed - sorry if the Coffee Shop had a blocked hot water nozzle for you earlier this week and was spluttering.



It appears that this was not a new problem - simply that a couple of the ongoing denial of service requests interfered with each other and confused our triage nurse code. I have put her straight.

Logged

Coffee Shop Admin, Acting Chair of Melksham Rail User Group, Option 24/7 Melksham Rep
grahame
Administrator
Hero Member
*****
Posts: 42751



View Profile WWW Email
« Reply #22 on: November 17, 2024, 08:22:54 »

There appears to be another DDOS (distributed denial of service) attack underway - some silly spikes on our server load over recent days. I doubt that it's specifically aimed at us but it has given our server a lot more to do that usual and resulted in some sluggish responses to members.

Here is "now" ... with up to 1,000 requests per minute versus under a hundred in a normal minute ... requests arriving in flotillas from various IP addresses ....



Here is what it should look like



Edit to add - I have put in a filter to help identify the requests but won't be able to confirm its operation until the next flotilla of requests arrives.  The requests do not identify themselves as being from a spider or crawler and have a whole range of headers and as such appear to be designed to sneak under the radar.
« Last Edit: November 17, 2024, 08:33:03 by grahame » Logged

Coffee Shop Admin, Acting Chair of Melksham Rail User Group, Option 24/7 Melksham Rep
grahame
Administrator
Hero Member
*****
Posts: 42751



View Profile WWW Email
« Reply #23 on: November 24, 2024, 12:51:17 »

There appears to be another DDOS (distributed denial of service) attack underway - some silly spikes on our server load over recent days. I doubt that it's specifically aimed at us but it has given our server a lot more to do that usual and resulted in some sluggish responses to members.

[snip]

Edit to add - I have put in a filter to help identify the requests but won't be able to confirm its operation until the next flotilla of requests arrives.  The requests do not identify themselves as being from a spider or crawler and have a whole range of headers and as such appear to be designed to sneak under the radar.

Well - that did something  Wink. ...



200 = good request
302 = redirection
403 = forbidden
404 = page not found (hardly any of those)

We do appear (last 24 hours) to have had an over-enthusiastic search engine - it has made 7,000 requests since 03:30 this morning and I have asked it to cut the rate.  I have also asked a visitor from Tehran who's looking at ticket flows every 2 seconds and has called up 1000 so far to desist! We'll see how it goes



« Last Edit: November 24, 2024, 12:59:55 by grahame » Logged

Coffee Shop Admin, Acting Chair of Melksham Rail User Group, Option 24/7 Melksham Rep
grahame
Administrator
Hero Member
*****
Posts: 42751



View Profile WWW Email
« Reply #24 on: November 25, 2024, 08:57:06 »

To the charming "person" who is asking for 40 pages a second off our server - 22,000 so far this morning ... please go away.  You are misusing an open source piece of software to try to scrape our website.  I have written an electronic version of this "please go away" message into our configuration file so that the request to go away will be enforced.

To everyone else - good to see how well our server stood up to this brute force onslaught, and to see how our server emailed me to report the unusual activity.
Logged

Coffee Shop Admin, Acting Chair of Melksham Rail User Group, Option 24/7 Melksham Rep
Richard Fairhurst
Global Moderator
Hero Member
*****
Posts: 1253


View Profile Email
« Reply #25 on: November 25, 2024, 14:26:26 »

You've almost certainly thought of this, but if not: have you considered putting Cloudflare in front of the site?

It stops the vast majority of bots, including AI crawlers. It's pretty simple to set up (just a bit of DNS (Domain name service) config) and the Coffee Shop would happily run on its free tier.

(I'm not a massive fan of centralising the internet behind a small number of big American companies, but Cloudflare seem much more benign than Google, and I've kind of made peace with the idea of letting them fight the bots freeing me up to do more productive things.)
Logged
grahame
Administrator
Hero Member
*****
Posts: 42751



View Profile WWW Email
« Reply #26 on: November 25, 2024, 15:07:02 »

You've almost certainly thought of this, but if not: have you considered putting Cloudflare in front of the site?

It may be an interesting solution to certain of the other elements I'm looking at - thanks for the nudge. With some of the other changes I'm working on, a direct change / solution would only be short term and because of that probably not worth the bother.
Logged

Coffee Shop Admin, Acting Chair of Melksham Rail User Group, Option 24/7 Melksham Rep
Chris from Nailsea
Administrator
Hero Member
*****
Posts: 18910


Justice for Cerys Piper, please!


View Profile Email
« Reply #27 on: November 25, 2024, 22:15:46 »

I've now updated the heading of this particular topic, simply to make it less historic date specific - and to record that grahame is continually dealing with these issues.

Thanks, grahame!  Wink

CfN  Smiley
Logged

William Huskisson MP (Member of Parliament) was the first person to be killed by a train while crossing the tracks, in 1830.  Many more have died in the same way since then.  Don't take a chance: stop, look, listen.

"Level crossings are safe, unless they are used in an unsafe manner."  Discuss.
Do you have something you would like to add to this thread, or would you like to raise a new question at the Coffee Shop? Please [register] (it is free) if you have not done so before, or login (at the top of this page) if you already have an account - we would love to read what you have to say!

You can find out more about how this forum works [here] - that will link you to a copy of the forum agreement that you can read before you join, and tell you very much more about how we operate. We are an independent forum, provided and run by customers of Great Western Railway, for customers of Great Western Railway and we welcome railway professionals as members too, in either a personal or official capacity. Views expressed in posts are not necessarily the views of the operators of the forum.

As well as posting messages onto existing threads, and starting new subjects, members can communicate with each other through personal messages if they wish. And once members have made a certain number of posts, they will automatically be admitted to the "frequent posters club", where subjects not-for-public-domain are discussed; anything from the occasional rant to meetups we may be having ...

 
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
This forum is provided by customers of Great Western Railway (formerly First Great Western), and the views expressed are those of the individual posters concerned. Visit www.gwr.com for the official Great Western Railway website. Please contact the administrators of this site if you feel that the content provided by one of our posters contravenes our posting rules (email link to report). Forum hosted by Well House Consultants

Jump to top of pageJump to Forum Home Page