Train GraphicClick on the map to explore geographics
 
I need help
FAQ
Emergency
About .
Travel & transport from BBC stories as at 09:15 08 Nov 2025
 
- Blame game over Air India crash goes on
- Thousands of US flights cancelled or delayed over government shutdown cuts
- Sixth Met officer sacked after BBC Panorama film
Read about the forum [here].
Register [here] - it's free.
What do I gain from registering? [here]
 13/11/25 - North Somerset bus meeting
16/11/25 - Reading Bus Runabout
26/11/25 - WWRUG - GWR / Integration
28/11/25 - Bath consultation ends

On this day
8th Nov (1962)
Launch of Peel 50 and Moulton bicycle (*)

Train RunningCancelled
08:59 Gatwick Airport to Reading
15:01 Severn Beach to Bristol Temple Meads
15:41 Westbury to Bristol Temple Meads
16:45 Bristol Temple Meads to Westbury
18:33 Salisbury to Portsmouth Harbour
20:23 Portsmouth Harbour to Salisbury
22:35 Salisbury to Portsmouth Harbour
Short Run
08:30 Bristol Temple Meads to London Paddington
08:48 London Paddington to Carmarthen
13:10 Weston-Super-Mare to Severn Beach
14:33 Salisbury to Portsmouth Harbour
20:33 Salisbury to Portsmouth Harbour
Delayed
07:33 Exeter St Davids to London Paddington
PollsThere are no open or recent polls
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
November 08, 2025, 09:20:03 *
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
[159] Tramways and light railways long gone
[57] No reservations on this service
[47] What happens if the alternate sprinter is up to hourly?
[44] North Cotswold line delays and cancellations - 2025
[41] Suggestions from Campaign for Better Transport for the budget
[38] Mid Cornwall Metro - Newquay, St Austell, Truro & Falmouth
 
News: A forum for passengers ... with input from rail professionals welcomed too
 
   Home   Help Search Calendar Login Register  
Pages: 1 [2]
  Print  
Author Topic: Server slow ...  (Read 10873 times)
grahame
Administrator
Hero Member
*****
Posts: 45469



View Profile WWW Email
« Reply #15 on: September 19, 2025, 10:04:09 »

For us armchair viewers you get a sense of the problem and how it is escalating when you see there have been 2497 "users" on line today - and the record since the forum started is 2526 and that was only a fortnight ago.

Adjustments to our algorithms have reduced those numbers in recent days to about a third of what they were when you commented on the peak, BobM.   But it's an ongoing 'game', and care needs to be taken to ensure we don't throw out the baby with the bathwater - or in this case the member with the unwanted automated spiders, some of which are masters of disguise.
Logged

Coffee Shop Admin, Chair of Melksham Rail User Group, TravelWatch SouthWest Board Member
grahame
Administrator
Hero Member
*****
Posts: 45469



View Profile WWW Email
« Reply #16 on: September 22, 2025, 09:32:56 »

For us armchair viewers you get a sense of the problem and how it is escalating when you see there have been 2497 "users" on line today - and the record since the forum started is 2526 and that was only a fortnight ago.

Adjustments to our algorithms have reduced those numbers in recent days to about a third of what they were when you commented on the peak, BobM.   But it's an ongoing 'game', and care needs to be taken to ensure we don't throw out the baby with the bathwater - or in this case the member with the unwanted automated spiders, some of which are masters of disguise.

Some traffic levels up 3000% ... yes, 30 times what they were a week ago ... and no great surprise that the responses have been a bit slow over the weekend.  In fact the surprise, perhaps, is that the server has "toughed it out".   
Logged

Coffee Shop Admin, Chair of Melksham Rail User Group, TravelWatch SouthWest Board Member
GBM
Transport Scholar
Hero Member
******
Posts: 1870


View Profile Email
« Reply #17 on: September 22, 2025, 11:06:39 »

You could perhaps offer your server to the various airlines currently struggling with an attack!  Grin
Logged

Personal opinion only.  Writings not representative of any union, collective, management or employer. (Think that absolves me...........)
grahame
Administrator
Hero Member
*****
Posts: 45469



View Profile WWW Email
« Reply #18 on: September 24, 2025, 10:10:48 »

Positive headine - 4,000 requests in the last 24 hours for pages from UK (United Kingdom) addresses which I can identify as probably being from real people looking at pages on via main server.  That's a fantastic ongoing number - it's actual pages to Coffee Shop content and is in addition to pages served "light" by the receptionist server which I will look to quantify in due course.

But that is 4,000 requests out of 200,000 (or out of 350,000 if you add in requests for style sheets, images, Jacascript file etc) and out of 700,000 requests to the receptionist!    I am posting this update on the "server slow" thread because it's all those extra numbers that are or have been flooding out the real responses for our substantial numbers of members and human guests - posting as something of an explanation.

For us armchair viewers you get a sense of the problem and how it is escalating when you see there have been 2497 "users" on line today - and the record since the forum started is 2526 and that was only a fortnight ago.

For the 4,000 requests I guesstimate we should be showing between 50 and 200 users online in that statistic - varying depending on time of day.  We have a few members and guests active in the early hours, and many more during the day.  We do need to add to that the visits from useful indexing crawlers such as the GoogleBot which are vital to us finding new people to look at our data.  Ideally, the numbers showing for "users" would have a running rate of between 350 and 700, and our servers "spec" should allow for - my guess - around 1,000 without serious response degradation.    Currently, numbers have returned to being in that ideal / target range with some filtering added in very recently.
Logged

Coffee Shop Admin, Chair of Melksham Rail User Group, TravelWatch SouthWest Board Member
Witham Bobby
Transport Scholar
Hero Member
******
Posts: 856



View Profile
« Reply #19 on: September 24, 2025, 10:17:43 »

Again, I thank you for all the effort you put in to keep this lively and interesting discussion site going.  Grand job!
Logged
grahame
Administrator
Hero Member
*****
Posts: 45469



View Profile WWW Email
« Reply #20 on: October 04, 2025, 09:00:28 »

Brief update - a few days ago (at the turn of the month) we hit 1 million requests of our receptionist server in a 24 hour period. Of those, over 350,000 were passed on to the worker server.   Requests yesterday were down to 750,000 of the receptionist with just over 250,000 passed on to the worker server.   

By taking requests that are clearly not in our interest to invests heavy resource into answering, and sending back brief responses politely saying "nothing much for you here", we have been able to persuade some of the requesters to limit their asking - hence the drop in traffic levels.   I am not resting on my laurels here and there remain occasions - particularly when the databases are backing up, and when an "overenthusiastic" automata gets going - that still push our worker server's capability to the extreme. 
Logged

Coffee Shop Admin, Chair of Melksham Rail User Group, TravelWatch SouthWest Board Member
matth1j
Sr. Member
****
Posts: 285


View Profile
« Reply #21 on: October 07, 2025, 15:05:20 »

I guess the attached screenshot is a symptom of this sort of problem?
Logged
grahame
Administrator
Hero Member
*****
Posts: 45469



View Profile WWW Email
« Reply #22 on: October 07, 2025, 17:20:14 »

I guess the attached screenshot is a symptom of this sort of problem?

Yes ... some very interesting patterns at present; research ongoing.
Logged

Coffee Shop Admin, Chair of Melksham Rail User Group, TravelWatch SouthWest Board Member
grahame
Administrator
Hero Member
*****
Posts: 45469



View Profile WWW Email
« Reply #23 on: October 23, 2025, 12:11:39 »

I guess the attached screenshot is a symptom of this sort of problem?

Yes ... some very interesting patterns at present; research ongoing.

I have made a number of changes / tweaks over the past fortnight, and symptoms like that should now occur only very, very rarely.  Many of the changes made mean that our front of house receptionist / manager is now picking up loads more casual and repeated enquiries rather than passing them on though to our worker server.  This (Adobe, license, bought!) image is one I'll be using to help explain the various servers into the future.



But, sadly, I have failed to identify what it is that's causing the spikes and ironically because the worker server now has a lower general load the spike can climb further before it cuts off.  You will at times see slow responses.  With the worker so busy during these spikes, it's almost impossible to log in to it and look around, the problem being gone before I can actually have that look around.  There are *some* helpful patterns, but I'll need to shut down some segments of service to help isolate the problem.  Good news for members is that I can do that when the Coffee Shop is quiet - that is during the night - there may be occasions in the early hours in the next week or two when responses will be abnormal.
Logged

Coffee Shop Admin, Chair of Melksham Rail User Group, TravelWatch SouthWest Board Member
CyclingSid
Data Manager
Hero Member
******
Posts: 2219


Hockley viaduct


View Profile
« Reply #24 on: October 29, 2025, 15:03:56 »

I think I must have done something it didn't like:

Quote
Warning: mysqli_query(): MySQL server has gone away in /home/firstgreatwestern/include/ipfind.inc on line 41

Warning: mysqli_query(): Error reading result set's header in /home/firstgreatwestern/include/ipfind.inc on line 41

Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, boolean given in /home/firstgreatwestern/include/ipfind.inc on line 42

Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, boolean given in /home/firstgreatwestern/include/ipfind.inc on line 89
Connection Problems
Sorry, SMF (Simple Machines Forum - The software we use on this site) was unable to connect to the database. This may be caused by the server being busy. Please try again later.
Logged
grahame
Administrator
Hero Member
*****
Posts: 45469



View Profile WWW Email
« Reply #25 on: October 29, 2025, 17:30:21 »

I think I must have done something it didn't like:

Not you ... heavy loading.  Ongoing experiments looking into the load spikes. In the meantime, I repeat my suggestion that LONG posts are copied before you press "post" or "preview" just in case
Logged

Coffee Shop Admin, Chair of Melksham Rail User Group, TravelWatch SouthWest Board Member
grahame
Administrator
Hero Member
*****
Posts: 45469



View Profile WWW Email
« Reply #26 on: November 06, 2025, 07:07:29 »

I have made a number of changes / tweaks over the past fortnight, and symptoms like that should now occur only very, very rarely.  Many of the changes made mean that our front of house receptionist / manager is now picking up loads more casual and repeated enquiries rather than passing them on though to our worker server. 


But, sadly, I have failed to identify what it is that's causing the spikes and ironically because the worker server now has a lower general load the spike can climb further before it cuts off.  You will at times see slow responses.  With the worker so busy during these spikes, it's almost impossible to log in to it and look around, the problem being gone before I can actually have that look around.  There are *some* helpful patterns ....

I *think* I have now identified what's been causing the problem load spike issue, and in the process also made some other efficiency changes.

Main change / issue: We have 9Gb of archived documents (and that will continue to grow) for our search engine to look through, and over 300,000 individual public posts to check too. And such searches are none-trivial. They are welcome - however, it would appear that at least one well known search engine (not Google) has been making lots of search requests and indeed with terms that are WAY off topic. A couple of lines of code mean that we now send a quick and polite reply when an automata searches for things like (and these are real searches from the hours before I made the change):
* MyFloridaMarketPlace abbreviation
* housing lawyer in penang
* Napoleon Dynamite Live reviews
* melinda breslin townsend louisville ky
* 2m tv documentaire region du sud
* wer ist emilio frazzoli unfall

While I was at it ... I have an image library containing 20,000 plus different images, a handful of which are called up frequently and consistently.  They are managed by our worker server which is the one that loads heavy, but I have now mirrored around 50 of them on the receptionist server to allow that machine to answer queries without reference to the worker.    Yesterday, with that change in place, our receptionist served 3,000 images of which perhaps a third were done without reference to the worker.

Here's the worker loading as of an hour ago - solid black line is today's



There will continue to be spikes, including server management and database backup operations but I don't want to see them going off the scale.
Logged

Coffee Shop Admin, Chair of Melksham Rail User Group, TravelWatch SouthWest Board Member
stuving
Transport Scholar
Hero Member
******
Posts: 7550


View Profile
« Reply #27 on: November 06, 2025, 12:35:18 »

Not just this site, of course. I've mentioned OpenRail before; the landing page there now says:
Quote
Recently the website has suffered from high loads, believed to be due to AI crawlers. Regrettably I have therefore had to restrict access to registered users.

It's a free and open registration, so only for load limiting purposes. Further down, it says:
Quote
Security Advice

Security is mediocre at best on this website. When choosing a username and password, don't select anything you use for other sites.

Which is candid, at least.
Logged
grahame
Administrator
Hero Member
*****
Posts: 45469



View Profile WWW Email
« Reply #28 on: November 06, 2025, 16:49:05 »

Fingers and toes have all been crossed all day - and thus far it looks good.  Some fingers remain crossed into the evening which has been the problem time in recent days

Logged

Coffee Shop Admin, Chair of Melksham Rail User Group, TravelWatch SouthWest Board Member
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 via admin@railcustomer.info. Full legal statement (here).

Jump to top of pageJump to Forum Home Page