Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 404.png used by sites using old OpenLayers example #2728

Conversation

Firefishy
Copy link
Member

Add a message in the old OpenLayer 404.png

@Firefishy
Copy link
Member Author

We respond with around 8 million 410 - GONE responses for this 404.png tiles a day. Having the file available and responding with cache headers will hopefully reduce the number of requests.

@tomhughes
Copy link
Member

The requests don't really cost anything, and this certainly doesn't belong here - it's an operational issue for osm.org not an issue for this repo.

@tomhughes tomhughes closed this Jul 22, 2020
@Firefishy
Copy link
Member Author

8 million requests a day / 100 requests a second (>32 million fd stats and >16 million fs reads) does cost and is not insignificant. We already have legacy OpenLayers files in this repo, adding 1 static file will mostly get rid of the OpenLayers DDOS failure request loop that has been hitting us for years.

Would you prefer the 404.png file was dropped by chef?

@Firefishy
Copy link
Member Author

~2.8GB of access.log logs per day just to store the 410 request responses.

@Firefishy
Copy link
Member Author

This PR is now made redundant by updated to openstreetmap/chef#325

@Firefishy Firefishy deleted the add-openlayer-404-warning-tile branch July 22, 2020 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants