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

  • Some Subforums Restricted for New Discussions
    by eric

    Some of you might notice the "New Topic" button missing in a few of the subforums. This is mostly intentional.

    Five existing forums for MSTS will remain open for new discussions --
    • General Discussion
    • Screenshots
    • Route Design
    • Route Specification
    • Modeling & Physics
    Route Specifications is being promoted to a main forum, and may eventually become a top level forum encompassing both MSTS and ORTS routes.

    All of the remaining subforums beneath General,...
    10-09-2025, 18:34 by eric
  • State of the Site - September 2025
    by eric

    September.... Football has started for real, half the teams fan bases think they are going to the Super Bowl, and some of those teams who clearly won the preseason may already be looking at being eliminated from the playoffs. But that's the fun of the game. Everyone has a chance of winning when they step on the field.

    It's also a somber reminder that we're coming up to the 24th anniversary of 2,958 people going to work and not coming home to their families. With my wife and I both...
    09-08-2025, 20:40 by yellowdog
  • State of the Site - July 2025
    by eric

    Believe it or not, we are halfway thru 2025 already... I hope everyone in North America enjoyed either July 4th or Canada Day, and came away from it with all their fingers and hearing.

    We had quite the celebration here in Tennessee on Saturday, with friends and family each bringing fireworks as their donation to a cookout held where my brother in law is preparing to build his new home. The donations resulted in a show almost as long as what we saw in Oak Ridge on Friday along with 30,000...
    07-09-2025, 19:19 by eric
  • 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-11-2025, 16:15 by solarnet
  • 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
Working...