Server Instability

Collapse
X
Collapse
  •  

  • Server Instability

    Click image for larger versionName:	rrworkers.jpgViews:	0Size:	81.6 KBID:	2326632 I'm sure you've probably noticed some server instability over the last couple days.

    There's no clear smoking gun, but what I did discover digging around is that we saw a huge jump in site access starting on Saturday. By Monday, there was 20 times as much activity...

    I suspect the real issue was the access logs. When you have increased activity, logs grow accordingly.... As a log file size increases, the amount of time needed to insert each new transaction also increases, and the transactions start to stack up. That latency continues to snowball until the system is taking 20-30 seconds to respond.

    I took a couple steps on Monday which I'd hoped would work, but apparently didn't.

    Click image for larger version  Name:	chainsaw-rack.jpg Views:	3 Size:	136.9 KB ID:	2326633 Today, I took out the chainsaw and implemented a few more changes to curb that type of unwanted activity.

    First off, I have banned a dozen IP ranges that were accounting for over 90% of the traffic, which all appeared to be crawling each and every topic, image, and attachment on the site.

    That caused some immediate relief, but as has happened in the past, they'll just move on to a new set of IP addresses.

    The second step I took was to implement a "velocity check" which will temporarily ban the IP address for anyone trying to access more than ten different pages in a ten second timeframe.

    If you're a fast clicker, you might wind up getting locked out for a few minutes. My advice... slow down and enjoy the ride a bit.

    Some other steps I've taken are to limit what Guest users (i.e. not logged in) are able to access. I want to balance out the common good access that the site offers to new users who haven't quite committed to creating a user account here, but at the same time, this same guest access is how the Bots are hitting and scraping the site. I may have to come up with an alternative way of letting guests browse the forum.

    Hopefully the combination of steps will turn down the heat a bit and let everyone enjoy the site as expected.

    If you're a FastPass or First Class subscriber, I've extended the expiration date by five days (assuming I did the math correctly....) to help make up for anyone who didn't get the level of uptime and server responses they expected. Please PM me if that extension didn't get applied to your account.

    If you are finding it difficult to access the site because of a "forbidden" message, let me know or use the Trainsim.com Discord page as an alternate way to contact me.


    Last edited by eric; 04-29-2025, 22:23.

    • DirtyRam
      #1
      DirtyRam commented
      Editing a comment
      Hey Eric, much better this morning. Thanks, Mike
    Posting comments is disabled.

article_tags

Collapse

Latest Articles

Collapse

  • Price Increase in July
    by eric

    During the time I've been managing the site, I've tried to be as transparent as possible regarding its operational and financial stability. Like it or not, there are aspects that need to be managed like a business, mainly making sure costs are covered adequately by donations and memberships.

    As mentioned on a few occasions, the price of the First Class Membership has remained at $29.95 since 2012, even though the costs of running the site have changed. Some (particularly storage) have...
    06-06-2025, 02:19 by niknak
  • The Bots are Back... Logins now required to view content
    by eric

    Sorry Folks, but it's getting out of control again. I've had to lock down "Guest" access.

    If you're a legitimate user who doesn't want to create an account just to browse, you can try logging in with Ghostuser as the user and password.

    Older members, queue up Thin Lizzy: https://youtu.be/X5SrvSeYe9k?t=22

    Younger members... here's the modern AI generated version:

    Guess...
    05-27-2025, 06:19 by eric
  • State of the Site - April/May 2025
    by eric

    Yep, it's May. And I skipped the April monthly site update entirely.

    To be more accurate, I wrote an update, and then the bot attacks hit (all remedied....), so I scrapped it. And then, well....... as I've found out a few times in life, God has a sense of humor.

    As some might recall, my wife and I bought land in Tennessee last year, with the plan to move sometime in late 2026. In early April, our plans got moved up with very little notice, and we put our house up for sale....
    05-14-2025, 17:49 by eric
  • Server Instability
    by eric

    I'm sure you've probably noticed some server instability over the last couple days.

    There's no clear smoking gun, but what I did discover digging around is that we saw a huge jump in site access starting on Saturday. By Monday, there was 20 times as much activity...

    I suspect the real issue was the access logs. When you have increased activity, logs grow accordingly.... As a log file size increases, the amount of time needed to insert each new transaction also increases,...
    04-29-2025, 19:51 by eric
  • State of the Site - March 2025
    by eric

    Geez, time flies. I just realized what week it was.... I really hate forgetting things like an anniversary, and here I just did that.

    As of March 12th, we've been a fully independent site for two years. I couldn't be happier with how the community has responded since "The Split", and how you've all continued to help make this site a fun place to stop by.

    Thanks to the moderators and others who help keep the forums moving along, those who contribute to the library,...
    Today, 02:17 by
  • New Run8 Route - CSX Savannah Subdivision
    by eric

    HyRail Simulations and Run8Studios are out with a new route expansion to their Jacksonville Region -- the CSX Savannah Sub.

    The new route starts about 50 miles north of Savannah, and continues south another 40 miles, where it joins with the CSX Waycross Sub and ultimately to the A-Line Sub.

    There are two major yards in Savannah, two smaller yards, and some 20 industries along the way. CSX also hosts eight Amtrak movements a day across this line, including the AutoTrain,...
    02-13-2025, 15:11 by eric
Working...