Coming across “Error 508. Resource Limit Is Reached” can put you off balance. It’s not a common HTTP error, but it can make both your site and webserver inaccessible.
But fret not. This article will explain what the HTTP Error 508 is, how you can troubleshoot it, and the preventative measures you can take to make sure that it doesn’t occur again.
Let’s get started!
Check out the video version
What Causes the “508 Resource Limit Is Reached” Error?
Most web host accounts have set limits on resources. If this limit is breached, a “508 Resource Limit Is Reached” error is triggered, and your site will be temporarily inaccessible.
This error is triggered at the server level and can be caused due to various factors, including excessive strain on server CPU and RAM resources. It’s also commonly associated with a high demand for concurrent processes, often seen if your site experiences an unusually high traffic volume.
A spike in website traffic could also be the result of an attempted DDoS attack. In this instance, your site will trigger a “508 Resource Limit Is Reached” error once the available resources have been exhausted during the attack. However, you might not have to do anything to fix the issue!
If you consider this surge in web traffic to be a one-off event, then you might choose to wait it out and see if the traffic subsides.
If you’re on a shared server, or you’ve subscribed to an entry-level hosting package, it’s more likely you’ll run into this type of error. If that’s the case, you’ll need to raise the resource limits in the short term to get your site back up and running again.
It might not be common, but when HTTP Error 508 does pop up, it can cause major problems for your site and your webserver. 👀 Learn how to fix it right here ⬇️Click to Tweet
How to Fix the “508 Resource Limit Is Reached” Error
When seeing higher traffic volumes than expected, your site can quickly exceed allocated resources, resulting in your server grinding to a halt.
Check Your Resource Usage
The first thing you can do to fix a resource limit error is to check your resource usage. Be sure to view server activity logs too. That’ll help in identifying the root cause of the problem.
If you’re a Kinsta customer, then you can view resource usage and activity logs quite easily.
Log into your MyKinsta dashboard and select the site you wish to view. You can view the resource usage via the Analytics menu and activity logs via the Activity Log menu.
There are additional tools and methods you can use to supplement this as well.
Bear in mind that the limits you see imposed on your site will be slightly less than the limits required to keep it running.
Why is this?
Let’s say your website is on a shared server, along with many other customers and their sites (bear in mind this wouldn’t be the case with Kinsta). As your site starts to attract more traffic, the server that hosts all these many websites, including yours, is processing more and more requests to accommodate your growing traffic.
If your popularity trend continues, the server will eventually hit its resource limits for every site it’s hosting, including yours. You can spot this trend early to prevent downtime. A good hosting provider keeps a watchful eye on the volume. Your web host should contact you to warn you that your site will go down if it continues to consume resources at a higher rate than your plan permits.
Check Internal Processes Running on Your Site and Third-Party Code
The cause of a “508 Resource Limit Is Reached” error may not always be external. Resources can be excessively consumed by one or more rogue processes running internally on your site, such as:
- Site backups
- Cron jobs
- Long or complex database queries
- A hacked site running a harmful script
- Third-party code
In the case of third-party code, this can often be down to a particular Content Management Solution (CMS) extension. If, for instance, you’re running WordPress and have one or more plugins installed that are regularly consuming more resources than are allocated, then you’ll run into 508 errors sooner or later.
To avoid such a situation, it’s advisable to keep your CMS extensions up to date. With WordPress, this means keeping your themes and plugins updated to the latest versions.
If no update has been available for a particular theme or plugin for a while, then consider discontinuing using it in favor of a similar, more recently updated product or contacting the author to check if a new version is imminent.
Deactivate All Your Site’s Extensions and Enable Them One by One
It could be that one of your CMS extensions is consuming more server resources than it should—in which case you should try disabling them all. If the error vanishes, then your suspicion is confirmed—an extension is a culprit.
Begin by deactivating the site’s extensions.
Once all extensions are deactivated, reactivate them one at a time, retesting your site each time to identify the culprit. Your next course of action should be to contact the extension author to report the issue. If the extension is well maintained, its author should get back to you with a workable solution.
Deactivate Your Child Theme
Finally, if you’re using a WordPress child theme, you should check the changes that have been made to it to see if they could be causing any issues. You can quickly test this by temporarily swapping to the parent theme.
Contact Support
If none of those above ways helped you pinpoint the cause of the increased resource usage, you should contact your web host’s support team and ask them for more detailed information. Kinsta’s support team is available 24/7.
Preventative Measures
It’s a good idea to keep one eye on server resource usage as a preventative measure. It will give you a chance to get ahead of any potential issues that could bring your site down.
Self-maintenance is a sensible approach to helping keep hosting costs under control as your site grows and matures while simultaneously making sure your site’s downtime is minimized. Ideally, you’ll want to stay well below the allocated resource limit to reduce the risk.
Many add-on applications can help you keep track of your site’s usage. An application performance monitoring tool (like Kinsta APM) should be a top consideration when deciding how to keep watch over your site.
If you’re running any promotions or marketing drives, then expect and prepare for increases in site traffic. It can help to understand how your hosting provider counts visits to your site. In most cases, you won’t necessarily see a massive spike in traffic, but it’s still sensible to try and predict whether you’re likely to run close to your limits.
Additionally, make sure that your contact details (phone and email) are always up to date. That way, you won’t miss any resource usage alerts.
For peace of mind, we recommend investing in a dedicated webserver, or—barring that—a higher allocation of initial resources, such as with Kinsta’s disk space add-on. Having this flexibility will cost more, but the chances of your website going down will drop to nearly nothing.
Don’t let an HTTP Error 508 message ruin your day. 😥 With these quick tips you can troubleshoot it and take preventative measures to stop it from happening again👇Click to Tweet
Summary
When your site hits a “508 Resource Limit Is Reached” error, it can be challenging. You’ll want to get things back up and running as soon as possible. To prevent this error from happening again in the future, you should:
- Fix the current issue by checking what’s causing the high resource usage and
- Raise your site’s resources limits to take into account future growth and traffic as well
For more, check out how Kinsta does things differently with Google Cloud infrastructure and isolated software containers for each site.
Get all your applications, databases and WordPress sites online and under one roof. Our feature-packed, high-performance cloud platform includes:
- Easy setup and management in the MyKinsta dashboard
- 24/7 expert support
- The best Google Cloud Platform hardware and network, powered by Kubernetes for maximum scalability
- An enterprise-level Cloudflare integration for speed and security
- Global audience reach with up to 35 data centers and 275 PoPs worldwide
Test it yourself with $20 off your first month of Application Hosting or Database Hosting. Explore our plans or talk to sales to find your best fit.
Coming across “Error 508. Resource Limit Is Reached” can put you off balance. It’s not a common HTTP error, but it can make both your site and webserver inaccessible.
But fret not. This article will explain what the HTTP Error 508 is, how you can troubleshoot it, and the preventative measures you can take to make sure that it doesn’t occur again.
Let’s get started!
Check out the video version
What Causes the “508 Resource Limit Is Reached” Error?
Most web host accounts have set limits on resources. If this limit is breached, a “508 Resource Limit Is Reached” error is triggered, and your site will be temporarily inaccessible.
This error is triggered at the server level and can be caused due to various factors, including excessive strain on server CPU and RAM resources. It’s also commonly associated with a high demand for concurrent processes, often seen if your site experiences an unusually high traffic volume.
A spike in website traffic could also be the result of an attempted DDoS attack. In this instance, your site will trigger a “508 Resource Limit Is Reached” error once the available resources have been exhausted during the attack. However, you might not have to do anything to fix the issue!
If you consider this surge in web traffic to be a one-off event, then you might choose to wait it out and see if the traffic subsides.
If you’re on a shared server, or you’ve subscribed to an entry-level hosting package, it’s more likely you’ll run into this type of error. If that’s the case, you’ll need to raise the resource limits in the short term to get your site back up and running again.
It might not be common, but when HTTP Error 508 does pop up, it can cause major problems for your site and your webserver. 👀 Learn how to fix it right here ⬇️Click to Tweet
How to Fix the “508 Resource Limit Is Reached” Error
When seeing higher traffic volumes than expected, your site can quickly exceed allocated resources, resulting in your server grinding to a halt.
Check Your Resource Usage
The first thing you can do to fix a resource limit error is to check your resource usage. Be sure to view server activity logs too. That’ll help in identifying the root cause of the problem.
If you’re a Kinsta customer, then you can view resource usage and activity logs quite easily.
Log into your MyKinsta dashboard and select the site you wish to view. You can view the resource usage via the Analytics menu and activity logs via the Activity Log menu.
There are additional tools and methods you can use to supplement this as well.
Bear in mind that the limits you see imposed on your site will be slightly less than the limits required to keep it running.
Why is this?
Let’s say your website is on a shared server, along with many other customers and their sites (bear in mind this wouldn’t be the case with Kinsta). As your site starts to attract more traffic, the server that hosts all these many websites, including yours, is processing more and more requests to accommodate your growing traffic.
If your popularity trend continues, the server will eventually hit its resource limits for every site it’s hosting, including yours. You can spot this trend early to prevent downtime. A good hosting provider keeps a watchful eye on the volume. Your web host should contact you to warn you that your site will go down if it continues to consume resources at a higher rate than your plan permits.
Check Internal Processes Running on Your Site and Third-Party Code
The cause of a “508 Resource Limit Is Reached” error may not always be external. Resources can be excessively consumed by one or more rogue processes running internally on your site, such as:
- Site backups
- Cron jobs
- Long or complex database queries
- A hacked site running a harmful script
- Third-party code
In the case of third-party code, this can often be down to a particular Content Management Solution (CMS) extension. If, for instance, you’re running WordPress and have one or more plugins installed that are regularly consuming more resources than are allocated, then you’ll run into 508 errors sooner or later.
To avoid such a situation, it’s advisable to keep your CMS extensions up to date. With WordPress, this means keeping your themes and plugins updated to the latest versions.
If no update has been available for a particular theme or plugin for a while, then consider discontinuing using it in favor of a similar, more recently updated product or contacting the author to check if a new version is imminent.
Deactivate All Your Site’s Extensions and Enable Them One by One
It could be that one of your CMS extensions is consuming more server resources than it should—in which case you should try disabling them all. If the error vanishes, then your suspicion is confirmed—an extension is a culprit.
Begin by deactivating the site’s extensions.
Once all extensions are deactivated, reactivate them one at a time, retesting your site each time to identify the culprit. Your next course of action should be to contact the extension author to report the issue. If the extension is well maintained, its author should get back to you with a workable solution.
Deactivate Your Child Theme
Finally, if you’re using a WordPress child theme, you should check the changes that have been made to it to see if they could be causing any issues. You can quickly test this by temporarily swapping to the parent theme.
Contact Support
If none of those above ways helped you pinpoint the cause of the increased resource usage, you should contact your web host’s support team and ask them for more detailed information. Kinsta’s support team is available 24/7.
Preventative Measures
It’s a good idea to keep one eye on server resource usage as a preventative measure. It will give you a chance to get ahead of any potential issues that could bring your site down.
Self-maintenance is a sensible approach to helping keep hosting costs under control as your site grows and matures while simultaneously making sure your site’s downtime is minimized. Ideally, you’ll want to stay well below the allocated resource limit to reduce the risk.
Many add-on applications can help you keep track of your site’s usage. An application performance monitoring tool (like Kinsta APM) should be a top consideration when deciding how to keep watch over your site.
If you’re running any promotions or marketing drives, then expect and prepare for increases in site traffic. It can help to understand how your hosting provider counts visits to your site. In most cases, you won’t necessarily see a massive spike in traffic, but it’s still sensible to try and predict whether you’re likely to run close to your limits.
Additionally, make sure that your contact details (phone and email) are always up to date. That way, you won’t miss any resource usage alerts.
For peace of mind, we recommend investing in a dedicated webserver, or—barring that—a higher allocation of initial resources, such as with Kinsta’s disk space add-on. Having this flexibility will cost more, but the chances of your website going down will drop to nearly nothing.
Don’t let an HTTP Error 508 message ruin your day. 😥 With these quick tips you can troubleshoot it and take preventative measures to stop it from happening again👇Click to Tweet
Summary
When your site hits a “508 Resource Limit Is Reached” error, it can be challenging. You’ll want to get things back up and running as soon as possible. To prevent this error from happening again in the future, you should:
- Fix the current issue by checking what’s causing the high resource usage and
- Raise your site’s resources limits to take into account future growth and traffic as well
For more, check out how Kinsta does things differently with Google Cloud infrastructure and isolated software containers for each site.
Get all your applications, databases and WordPress sites online and under one roof. Our feature-packed, high-performance cloud platform includes:
- Easy setup and management in the MyKinsta dashboard
- 24/7 expert support
- The best Google Cloud Platform hardware and network, powered by Kubernetes for maximum scalability
- An enterprise-level Cloudflare integration for speed and security
- Global audience reach with up to 35 data centers and 275 PoPs worldwide
Test it yourself with $20 off your first month of Application Hosting or Database Hosting. Explore our plans or talk to sales to find your best fit.
Что делать, если на сайте отображается ошибка 508 (Resource Limit Is Reached)?
Автор: Arnas Damasickis
Обновлено более недели назад
Ошибка 508 (Resource Limit Is Reached) означает, что Ваш сайт превысил один (или несколько) из лимитов выделенных ресурсов. В большинстве случаев основной причиной является количество одновременно запущенных процессов (в том числе Entry Process). Чтобы узнать наверняка, откройте управление Вашим хостинг-аккаунтом, найдите Статистику использования заказа и проверьте графики.
Примечание: графики потребления ресурсов обновляются раз в 15-30 минут, потому если ошибка только-только появилась на сайте, может потребоваться подождать, чтобы увидеть актуальные значения.
Если судя по графикам сайт превышает количество одновременно запущенных процессов, то Вы можете вернуть сайт онлайн уже через пару минут, просто остановив активные процессы. Для этого перейдите на страницу Хостинг → Управление → Сбросить аккаунт и нажмите Остановить запущенные процессы:
После этого начинается самое главное: оптимизация сайта. Тут действует очень просто правило: чем больше оптимизирован сайт, тем меньше ресурсов он тратит для работы и тем быстрее открывается. Звучит неплохо?
Есть множество сервисов, позволяющие проверить, насколько хорошо оптимизирован сайт, например GTMetrix, Google Page Speed и другие. Всё, что нужно для оптимизации, это проанализировать сайт с помощью одного из них, получить персонализированные рекомендации и выполнить их.
Обратите внимание, что иногда сайт может загружаться достаточно быстро, но при этом быть плохо оптимизирован:
Такие сайты тоже нужно оптимизировать.
Если Вы оптимизируете скрипты и потребление ресурсов, то 508 ошибка больше не будет возникать.
Если Вы проверили все варианты, максимально оптимизировали сайт, но он всё ещё потребляет почти все ресурсы, похоже, что Ваш сайт перерос текущий тарифный план. Это абсолютно нормально и закономерно происходит в процессе развития сайта. Всё, что Вам нужно сделать в таком случае, это изменить тариф на более высокий 😊
К слову, как только Вы перейдете на более высокий тарифный план, оставшиеся деньги из предыдущего плана будут пересчитаны и добавлены как дополнительные дни использования хостинга.
- Печать
Страниц: [1] 2 Вниз
Тема: Ошибка 508 — кто виноват? (Прочитано 24803 раз)
Здравствуйте, форумчане!
В последнее время сайт стал все чаще работать с перебоями. Периодически выдает ошибку 508 (Resource Limit Is Reached The website is temporarily unable to service your request as it exceeded resource limit. Please try again later), иногда — 500. Обратилась к хостерам — говорят, что проблема на стороне сайта. Готовы покопаться за определенную сумму (пообновлять скрипты, поискать ошибки), но гарантий никаких не дают… Меня это очень смущает.
Сайт на вордпресс — francissimo.ru
Я же со своей стороны не могу понять — действительно ли нужно искать ошибки внутри сайта или же проблема хостера? Хостеру, естественно, такой вопрос задать не могу.
Поэтому сейчас нахожусь на распутье — заплатить и поменять хостера или заплатить старому хостеру, чтоб поискал ошибки … Сама проблему решить не в силах, увы.
Очень жду мнения экспертов!
Заранее благодарю!
« Последнее редактирование: 01-09-2014, 15:40:57 от galyna »
Записан
Ошибка 508 Resource Limit Is Reached обозначает, что вы превысили выделенные вам лимиты. То есть ваша учетная запись, ваш сайт, потребляет больше ресурсов, чем предусмотрено вашими тарифным планом. Например, лимиты на процессор (CPU), оперативную память (RAM) и т.п.
Надо смотреть логи, что именно превышает лимит. Обычно хостер сам в курсе что вы превысили. А если за выяснение этого хочет денег — гнать такого тапками.
Записан
На этом же хостинге у вас лежать другие сайты?
С трудом представляю, чтобы блог съедал все ресурсы даже минимального тарифного плана.
Записан
На этом же хостинге у вас лежать другие сайты?
У меня всего один сайт
В общем, я так понимаю что нужно менять хостера?
Записан
galyna, не обязательно менять) у вас этот хостинг, как я понимаю — https://allhostings.ru/service/hosting
напишите им в техподдержку, я думаю, что они заинтересованы в решении этой ситуации.
Записан
напишите им в техподдержку, я думаю, что они заинтересованы в решении этой ситуации
Возможно, я не совсем доступно объяснила в первом сообщении. Но с техподдержкой я уже общалась. Предлагают 2 варианта: перейти на САМЫЙ дорогой тариф (мне не по карману и не вижу смысла) или заплатить им 1000 рублей за внутреннюю оптимизацию сайта без каких-либо гарантий что ситуация будет решена… Уже была готова им заплатить за работы на сайте, но терзают сомнения…
В целом техподдержка данного хостинга мне нравится, не раз помогали, но в данном случае все варианты решения — платные…
Записан
galyna, достаточно странная ситуация. В этом случае, я бы сменила хостинг на какой-то более адекватный в плане техподдержки. Только Агаву не берите ни в коем случае.
Записан
Dolphinka, спасибо! Тоже нахожу ситуацию странной. Переезд хуже пожара, но чувствую что по возвращению из отпуска — таки придется занятся этим.
Склоняюсь к бегету (beget.ru) — что скажете?
Записан
galyna, не подскажу, к сожалению, не пользовалась таким((
у меня сайты лежат либо на выделенных серверах (для крупных), либо на мастерхосте. Пока что проблем не было.
Записан
Dolphinka, спасибо! Тоже нахожу ситуацию странной. Переезд хуже пожара, но чувствую что по возвращению из отпуска — таки придется занятся этим.
Склоняюсь к бегету (beget.ru) — что скажете?
ерунда. делов там минут на 15
Записан
- Печать
Страниц: [1] 2 Вверх
Сообщение для владельцев веб-сайтов 508 достигнутых пределов ресурсов, может произойти для общих домохозяйственных клиентов из-за нескольких причин. Эта ошибка, как правило, означает, что может быть время, чтобы продолжать расти свой веб-сайт и обновить до плана бизнес-хостинга бизнеса, чтобы посетители вашего сайта не встречаются с такой ошибкой. В большинстве случаев это связано с ограничениями по использованию памяти и процессах ввода для вашей учетной записи.
Что вызывает ошибку достижения лимита ресурсов 508
Первый шаг: Войдите в свою учетную запись cPanel и просмотрите область использования ЦП и одновременного подключения в своей учетной записи cPanel.
Шаг второй: Его можно найти в разделе «Показатели». Он используется для подтверждения того, что ваш сайт был ограничен в течение последних 24 часов.
Шаг третий: Когда этот экран откроется, вы захотите просмотреть подробности
Шаг четвертый: Эта страница покажет вам текущее использование на основе выбранного временного кадра из раскрывающегося коробки. Это указано в течение последних 24 часов по умолчанию и может быть изменено на другой интервал. Страница деталей включает в себя следующее:
- Использование процессора — Это указывает на то, какой процессор, который использует ваш счет в настоящее время. Когда это достигает 100%, ваша учетная запись использует все доступные процессоры. Любой будет испытывать значительные замедления, поскольку любые новые процессы будут очевидны, чтобы уменьшить этот процент, пока ваши процессы не будут завершены и завершены. До достижения 100% ЦП вызовет временные выходы при получении нового запроса и могут вызвать чрезмерную медлительность.
- Inodes Использование — Это покажет вам количество файлов и папок на вашей учетной записи. Если у вас много inodes, это может указывать на то, что у вас есть много файлов, которые могут привести к большему количеству используемых ресурсов. Вы захотите определить, какая папка содержит большинство файлов и убедиться, что они необходимы для снижения количества inodes, которые вы используете на вашей учетной записи. Всегда возьмите резервную копию локально к вашему компьютеру перед удалением любых файлов.
- Использование ввода / вывода — Ввод / вывод указывает активность диска в вашей учетной записи. В зависимости от того, какой у вас тип сайта и как запрашиваются ваши файлы, каждый раз, когда вы используете сервер, скорость запроса учитывается при использовании ввода-вывода, пока данные передаются в ОЗУ.
- IOPS — Операции ввода / вывода в секунду «- это предел количества операций, которые вы можете прочитать / писать в секунду, пока процессы не будут останавливаться и будет ждать следующей секунды.
- Входные процессы — количество процессов из PHP и других скриптов, которые могут быть выполнены одновременно. После того, как процесс будет завершен из запроса посетителей сайта, процесс завершится. Если этот номер высокий, это хорошо, если посетители вашего сайта просматривают ваш веб-сайт, посещает ваш сайт, или ваш трафик растет. Если этот номер низок, и вы наращиваете свои ограничения ресурсов, вы захотите убедиться, что все ваши приложения, плагины, темы и т. Д., Исправлены на сегодняшний день, и что ваши сценарии оптимизированы для обработки дополнительных запросов страницы. Опять же, прежде чем выполнять какие-либо обслуживания или обновления, важно сделать резервную копию файлов веб-сайта и базы данных.
- Количество процессов — Это количество процессов, которые могут выполняться одновременно перед постановкой в очередь.
- Использование физической памяти — Это указывает на сумму оперативной памяти, которую вы можете использовать на вашей учетной записи.
Шаг пятый: На странице ЦП и одновременное использование вы также увидите Снимок ссылка на сайт. Это может быть полезно, если вы знаете, когда ресурсы вашего сайта были ограничены и хотели бы видеть больше информации о том, что происходит за это время.
Обзор использования ресурсов
Первый шаг: Ваш сайт не было проблем за последние 24 часа — что указывает на то, что у вас не было никаких проблем с вашей учетной записью за последние 24 часа.
Шаг второй: Ваш сайт был ограничен в течение последних 24 часов — если вы получаете сообщение об ошибке или тайм-аут при посещении вашего сайта, хотя бы один предел ресурсов был достигнут за последние 24 часа. Понимание, почему это произошло, важно. Вы можете рассмотреть возможность обновления на бизнес-хостинг-счет, продвигаемой вперед, чтобы у вас было еще много ресурсов для использования, и которые доступны. Наличие растущего сайта фантастически, и Hostwinds здесь, чтобы помочь вам расти и быть успешным.
Шаг третий: Ваш сайт может скоро ударить ограничения ресурсов — если вы приближаетесь к любому из ограничений для вашей учетной записи, быть активным и выявлением того, какой ограничение ресурсов будет подвергаться риску, позволит вам оставаться в преддверии Sette Slowess, Timeouts или сообщения об ошибке.
Если мы можем помочь вам в любом случае, пожалуйста, отправьте билет или присоединяйтесь к нам в IveChat в любое время.Мы доступны 24/7/365, и мы посвящены успеху нашего клиента;Каждый клиент действительно имеет значение для нас.
Написано Hostwinds Team / апреля 6, 2018
Друзья, бодаюсь с хостером. Проблемы как я понимаю две, я хочу, что бы он решил свою первым.
Возможно я не прав. Я далековат от PHP, настройки серверов и прочего, но мне кажется, что чистая установка Joomla не должна отправлять хостинг в 508. Даже не знаю в какую сторону копать начинать..
Итак, все криво, но как есть.
Проблемы начались при смене сервера для переезда на PHP 7.1 в рамках одного хостера.
На новом сервере лимит по ресурсам. И как бы со слов хостера у меня идет перелимит по EP из-за запросов к ./cache/template/gzip.php в первую очередь и сайт периодически выпадает в 508.
Спец сказал, что gzipов действительно много и мы их отключили на время, но… не знаю на сколько, но проблема осталась.
Собственно сайт *******.by (шаблон куплен, SPPB куплен, но от них ничего не зависит)
Так вот дальше:
— если зайти на httpS://*******.by и зажать «ctrl+r» — то примерно на 20 ом цикле получим 508
— а если на http://*******.by — то 508 не получаем (специально отключил ssl в настройках Joomla для теста)
Доп домен на моих же ресурсах с чистой Joomla. GZIP отключен. Специально залил, посмотреть:
— http://*******.by — все хорошо
— httpS://*******.by — понажимай на клавиатуре ctr+r — и ложится всё.
Во время теста (если тыкание в клаву можно так назвать) остальные сайты на хостинге были отключены, что бы исключить влияние нагрузки с других доменов
Чужой сайт *******.by на том же сервере, но не на моих ресурсах
— http://*******.by/ — нет проблем
— https://*******.by/ — ctrl+r — вызывает 508
Причем я так понимаю это не Joomla.
Хостер ссылается на то, что SSL тоже требует ресурсы, и я с этим согласен. НО! неужели там нужно столько ресурсов, что с клавиатуры можно прибить сайт двумя кнопками? Получается пара друзей под пиво будут обновлять страницу моего сайта руками и сайт будет в дауне?
Итог: c GZIP буду разбираться отдельно. Подскажите что делать с SSL? На чьей стороне это проблема? И проблема ли это вообще?
Есть несколько причин для 508 ошибок, таких как;
-
Пики трафика сайта — если ваш сайт испытывает высокие пики во входящем или исходящем трафике, он может превышать выделенные ресурсы. Если это обычное явление, мы рекомендуем рассмотреть возможность обновления до Виртуального выделенного сервера, где такие ограничения отсутствуют.
-
Проблемы в коде. Если на вашем сайте есть страницы, на которых есть проблемы со скоростью, увеличение входящего трафика или одновременных запросов страниц может привести к превышению лимитом ресурсов сайта.
-
Операции с бэкэндом — сложные операции с бэкэндом, такие как импорт и экспорт, могут создавать значительную нагрузку, что в дополнение к обычному трафику может привести к превышению лимитов ресурсов.
-
Web-сканеры делают большое количество запросов в секунду. Вы можете регулировать скорость, с которой, например, Google запрашивает страницы в Инструментах Google для веб-мастеров.
Есть ли другие проблемы могут возникнуть, пожалуйста, сообщите нам. Спасибо
1
Решение
Ошибка 508: Достигнуто ограничение ресурсов
Это означает, что ваш веб-сайт использует один или несколько ограничений виртуальных ресурсов учетной записи хостинга: использование ЦП, использование ОЗУ, использование ввода-вывода или процессы ввода.
Почему появляется ошибка 508?
Сообщение об ошибке появляется, когда учетная запись превышает лимит выделенных ресурсов (использование ЦП, ОЗУ и / или количество одновременных процессов, запущенных под вашей учетной записью cPanel). Вы можете проверить использование ресурсов вашей учетной записи, войдя в cPanel -> Использование ресурсов значок или в режиме реального времени с помощью SSH команда top -c. Если ошибка появляется слишком часто, потребуется оптимизация сценариев или обновление учетной записи до плана с более высокими лимитами ресурсов сервера.
Я даю вам несколько решений, которые могут помочь решить 508 ошибку.
1) включить CloudFlare в Cpanel снизить нагрузку на ваши скрипты на сервере и уровень необходимых ресурсов.
2) Если это постоянная проблема и приведенные выше предложения не помогли, рекомендуется рассмотреть возможность обновления вашего хостинг-плана до пакета с более высокими лимитами ресурсов сервера.
Вы также можете проверить корень документа на ваших сайтах для любого журнал ошибок файлы, если вы найдете журнал ошибок файл, вы должны взглянуть на последние записи и исправить все ошибки, о которых сообщается. Оптимизация таблиц вашей базы данных (если какой-либо из ваших сайтов MySQL через PHPMyAdmin это также хороший способ, чтобы все шло гладко.
Дайте мне знать, если есть какой-либо запрос от этого.
Надеюсь, это поможет вам хорошо!
0
Другие решения
- Проверьте параметр MEMORY_LIMIT из phpinfo (); функция. Если выделяемая память меньше ресурсов вашего сайта, это может быть так, и ее можно легко увеличить, следуя коду, если ваш хостинг-провайдер разрешает переопределение.
ini_set (‘MEMORY_LIMIT’, ‘1024M’);
- Общие файлы верхнего и нижнего колонтитула и другие часто включаемые файлы кода и функций, которые могут использовать больше ресурсов, чем страницы вашего сайта. Там тоже может быть узкое место.
0
Как исправить ошибку 508. В общем, это довольно легко исправить. Как всегда, если вы являетесь пользователем, который получает эту ошибку, мы настоятельно рекомендуем перезагрузить страницу с помощью CTRL / CMD — Shift — R, чтобы обойти кеш, а затем очистить кеш вашего браузера, чтобы убедиться, что что-то не зависает на вашем конец.
В этой спецификации клиент может послать запрос,содержащий декларацию расширения,которая описывает расширение,которое будет использоваться.Если сервер получает такой запрос,но все описанные расширения не поддерживаются для данного запроса,то сервер отвечает кодом состояния 510.
Код состояния ответа 508 Loop Detected протокола передачи гипертекста (HTTP) может быть задан в контексте протокола Web Distributed Authoring and Versioning (WebDAV). Это указывает на то, что сервер завершил операцию, потому что он столкнулся с бесконечным циклом при обработке запроса с «Глубина: бесконечность».
Большинство учетных записей веб-хостинга имеют установленные лимиты ресурсов.Если этот лимит нарушен,возникает ошибка «508 Resource Limit Is Reached»,и ваш сайт становится временно недоступным.Сообщение браузера «Ошибка 508 Resource Limit Is Reached».(Источник)
No one likes seeing error codes pop up on their WordPress website. And if you see an HTTP Error 508, it might be a little harder to diagnose than some others. Not because the error itself is extra troublesome, but because there are two 508 errors loop detected and resource limit reached. there are two 508 errors loop detected and resource limit reached. One being the HTTP error where a loop has been detected in either a resource or URL request and the other being when the server is overtaxed can’t perform the actions. Either way, we’re going to walk you through these error codes so that your site is back up and running as quickly as possible.
Subscribe To Our Youtube Channel
-
1
What is the HTTP Error 508: Loop Detected? -
2
How to Fix a 508 Error -
3
What is the Error 508: Resource Limit Reached?-
3.1
You’re Being DDoS Attacked -
3.2
You Legitimately Get a Ton of Traffic -
3.3
Malware -
3.4
Unknown Scripts, CRON Jobs, and Unused or Outdated Plugins
-
3.1
-
4
Wrapping Up
What is the HTTP Error 508: Loop Detected?
Somewhere on the page, a link or resource is being called, and then that resource calls something else that then calls the original resource. The server doesn’t ever get to actually fulfill the request because the logic is recursive and looping in on itself.
The HTTP error 508 itself is actually pretty rare. In terms of loop errors, you are more likely to run into a “too many redirects” where someone has mishandled 301 and 302 redirects to where either they’re looping in on themselves or simply have too many redirects in a chain that prevents the requested resource or URL from actually rendering.
How to Fix a 508 Error
In general, it’s a pretty easy fix. As always, if you’re a user who gets this error, we highly suggest reloading the page with CTRL/CMD – Shift – R to bypass the cache and then empty your own browser cache to make sure things aren’t hanging up on your end.
If you’re a server admin, you’ve got a couple of solutions that you can work through. The first is pretty simple if you’re using any kind of CDN or WordPress caching plugin.
If you use a plugin like WP Rocket, just go into the settings and find the buttons that let you clear the cache, delete files, and/or regenerate CSS.
And if you have a Cloudflare or other CDN account, you will be able to go into the settings and find the Cache Purge option.
If neither of those solves the redirect issue and your resources are still looping recursively, then you need to check your .htaccess file. This is where URL redirects go (unless you use a 301 Redirect plugin). You will need an FTP client and a code editor. Or access to your site’s web-based file manager.
Go through each link that you have here, especially if you’re using relative links. Make sure that none of them are recursive. It’s actually pretty easy to do, especially if you’re working with a large number of redirects. The same goes for your plugin, too. Make sure that you go into the plugin settings and check that all the URLs the same way.
If none of that helps, and the resources are still looping, it’s time to contact your host. They should be able to help sort out the loop from their end.
What is the Error 508: Resource Limit Reached?
The other 508 error that users and admins have to deal with (and probably the more common one) is the resource limit reached message. And this one is pretty self-explanatory. Your website has reached the top of its allotted resources on the server. There are a number of reasons that this can happen, but the first place you should check is your cPanel (if you have one) or your dashboard otherwise.
Somewhere in your page will be a full list of stats regarding your server. You will see the databases, the number of executions on the server, inodes, etc. The detailed stats will give you the specific scripts and processes that were executed over various timeframes.
If you see something spike in these, or your inodes or space is filling up, that’s a good indication as to what’s up. You just might need to thin things out a bit.
Otherwise, it would be a few things.
You’re Being DDoS Attacked
Your server can absolutely run out of resources and return a 508 if you are under a DDoS attack. A DDoS is a distributed denial of service attack, where someone floods your website with so much traffic that it literally can’t keep up. Usually, this is done via botnet, a large collection of linked computers acting under the command of an individual or group of individuals.
If you get DDoSed and your server crashes, there’s very little you can do immediately. You might not even know you’ve been hit by a DDoS. You just know your server is down. Contact your host and see if there have been surges in traffic that spike particularly high.
If so, you can block the IP ranges that come in from the attack, and your server should recover shortly.
You Legitimately Get a Ton of Traffic
You can also return a 508 if your server gets overwhelmed, and it can’t handle genuine traffic. Maybe you got a lot of traffic from Reddit or an exceptionally well-written Tweet. If your server is down for this and giving a 508, then contact your host and upgrade your plan. That’s about it. Because you want your servers up and running as quickly as possible.
Malware
Remember those botnets we mentioned above? Well, your server might be a part of one, and you don’t know it. If there is malware on your server that you aren’t aware of, it can be sapping resources that should be going to your website into something else. So run a malware scan, adopt a solid WAF and security plugin (Sucuri, WordFence), and make sure that your server is being used for what it’s meant to be: helping your website succeed. Not crashing other people’s.
Additionally, if your site is running more slowly than usual and nothing has changed, consider checking for malware, too. That’s generally a precursor to it running out of resources.
Unknown Scripts, CRON Jobs, and Unused or Outdated Plugins
You should also be well aware of how your website is performing in general. Make sure that you run site checks periodically and that you make use of various debug and error logs that you have available, either through your web host or your site itself. These will show you any CRON jobs that you have running, and any scripts that might be running in the background at different times. In many cases, all of them aren’t necessary.
Plus, you can do a full sweep of your plugins and themes if you’re a WordPress user. These eat up resources over time, and while the amounts are negligible for the most part, all it takes is one security flaw or rogue script to cause a world of problems. Or a 508 error. So make sure that all plugins you’re actively using are up to date, and that all the plugins and themes you’re no longer using are gone. This clears up storage space, memory, and inode usage.
Wrapping Up
In the end, many people will never see an HTTP Error 508. Using redirects effectively and preventing recursive loops in your request and back-end logic is the primary way to keep from seeing it. And if your resources are being overused, your CPU being taxed, and your site going down, there are some easy checks you can run to figure out the culprit and take decisive action.
What have your experiences been with HTTP Error 508?
Article featured image by Pro Symbols / shutterstock.com
Disclosure: If you purchase something after clicking links in the post, we may receive a commission. This helps us keep the free content and great resources flowing. Thank you for the support!














