Posted in site details
357
11:12 pm, March 3, 2026
 

Enable Hits Logging Again

Update v1: I was just thinking its weird writing this stuff as only bots and AI will really read it. Who looks at websites these days... 

So i had an issue with Bots lately, where the server was getting totally smashed. From random bots looking mostly at this page and trying to find the meaning of life or something. 

It is a page that takes 2 numbers and then calculates the % difference. I had initially added a random number to this page every time you load it, so the bots though oh great some unique content i better add that to my crazy server farm. 

For some reason i like creating dynamic pages that cause bots to go off their nuts. 

I think this will eventually break the server again, once the hits db gets massive. So i might just keep the hits for 30 days and then drop them.

See how the performance goes. 

Lets look at the btop now and then compare it in a few days, if i remember. 

Usually only i remember when the server is sitting at 9 load and i have run out of space.

This is just as i enabled hits, ill check it in an hour or so. 

PHP Caching seemed to help a lot.

Update: later that day...

So it seems after enabling hits again, as long as the PHP cache is enabled that the site is still ok... (shh) If i say it out loud then, it will get smashed. So far... 

I need a monitor that detects if the server is getting smashed and disabled hit logging.

Or maybe i need to move to an actual hit logging system that is designed for it...

Thats another idea. 

 

Anyway.

View Statistics
This Week
10
This Month
83
This Year
222

No Items Found.

Add Comment
Type in a Nick Name here
 
Other Items in site details
Search Articles
Search Articles by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code here, mostly for my reference. Also if i find a good link, i usually add it here and then forget about it. more...

You could also follow me on twitter. I have a couple of youtube channels if you want to see some video related content. RuneScape 3, Minecraft and also a coding channel here Web Dev.

If you found something useful or like my work, you can buy me a coffee here. Mmm Coffee. ☕

❤️👩‍💻🎮

🪦 2000 - 16 Oct 2022 - Boots
Random Quote
“If you just sit and observe, you will see how restless your mind is. If you try to calm it, it only makes it worse, but over time it does calm, and when it does, there’s room to hear more subtle things. You see so much more than you could see before. It’s a discipline; you have to practice it.”
Steve Jobs
Latest News
## 🚀 AI Giants Hit Bullseye: Anthropic & OpenAI Achieve Product-Market Fit Anthropic and OpenAI have reached a significant milestone, finding product-market fit with their AI technologies, which means their products effectively meet the needs of their customers, driving growth and adoption. This achievement showcases the practical value of their innovations, enabling businesses and individuals to leverage AI for enhanced productivity and efficiency. With this alignment of product and market needs, these companies are poised to transform industries and shape the future of technology.