256 Kilobytes

Answers in Servers and Networks | By Some Guy


1,733 view, 0 RAMs, and 1 comment

Tags: Errors, Internet, Server, Website

Profile Photo - Some GuySome GuyBasic Subscriber

I have been trying to figure out how to do my own web maintenance, but I am not very well versed in it yet. I keep getting this one error: "Error 503: maximum threads for service reached." How can I fix this?

Download more RAM. 🐏 ⨉ 0Posted by Some Guy 2 years ago 🕓 Posted at 16 December, 2018 09:26 AM PST

This is a debug account.

Profile Photo - August R. GarciaAugust R. GarciaLARPing as a Sysadmi...Portland, ORSite Owner

This is an error that the fastly CDN Varnish throws when a user makes an excessive number of requests, that may cause strain on a website's server. See: 

Error 503 maximum threads for service reached

This error occurs when Varnish detects that a service has exceeded a safety limit on the number of concurrent requests. Typically this indicates that a service is experiencing an unusually high load, that an origin is slow, or that features like request collapsing are being intentionally avoided.

Source:  https://docs.fastly.com/guides/debugging/common-503-errors#error-503-maximum-threads-for-service-reached

The first thing that you should try is slowing down your number of requests. If you're running a web crawler or scraper, it's generally a good practice to wait at least one second between requests; one request per five seconds would be a more conservative approach, especially if you're planning on crawling thousands of pages. Large sites will generally have a page with their best practices/recommendations/requirements for bots; see if the site you're crawling has one.

On a related note, the code in this post (Python) shows some best practices that you can use when crawling/scraping/making bot requests to a site (adding a custom user agent, limiting your request rate, etc).

Download more RAM. 🐏 ⨉ 0Posted by August R. Garcia 2 years ago

Edit History

• [2019-04-07 12:21 PDT] August R. Garcia (2 years ago)
🕓 Posted at 07 April, 2019 12:21 PM PDT

Sir, I can do you a nice SEO.

Post a New Comment

Do you like having a good time?

Register an Account

You can also login to an existing account or reset your password. All use of this site is subject to the terms of service and privacy policy.

Read Quality Articles

Read some quality articles. If you can manage to not get banned for like five minutes, you can even post your own articles.

View Articles →

Argue with People on the Internet

Use your account to explain why people are wrong on the Internet forum.

View Forum →

Vandalize the Wiki

Or don't. I'm not your dad.

View Wiki →

Ask and/or Answer Questions

If someone asks a terrible question, post a LMGTFY link.

View Answers →

Make Some Money

Hire freelancers and/or advertise your goods and/or services. Hire people directly. We're not a middleman or your dad. Manage your own business transactions.

Register an Account

Answers— Read More

Find more related content below!