# Javascript setInterval leads to "\[HTTP/1.1 508 Loop Detected" on infinityfree?

**URL:** <https://forum.infinityfree.com/t/javascript-setinterval-leads-to-http-1-1-508-loop-detected-on-infinityfree/80437>\
**Category:** Hosting Support\
**Created:** [August 9, 2023, 2:22am UTC](https://forum.infinityfree.com/t/javascript-setinterval-leads-to-http-1-1-508-loop-detected-on-infinityfree/80437 "2023-08-09T02:22:38Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [August 9, 2023, 8:47am UTC](https://forum.infinityfree.com/t/javascript-setinterval-leads-to-http-1-1-508-loop-detected-on-infinityfree/80437/3 "2023-08-09T08:47:48Z")

</div>

The 508 error typically means that you’ve exceeded the limits of your hosting account, which is usually the Entry Process limit. You can learn more about that here:

> [@This site/page has used all available php / apache processes](https://forum.infinityfree.com/t/this-site-page-has-used-all-available-php-apache-processes/49336):
>
> Some people see an error page on their website with the following contents: This site / page has used all avaialble php / apache processes allowed on free hosting. Refreshing the page once the amount of apache / php processes are reduced will cause the site to work We would recommend upgrading your hosting account at IFastNet Premium hosting accounts, premium hosting accounts have MUCH higher resources dedicated to them. This article explains why you may see this page, and what you can do …

You can use `setInterval` on your website if you want. But please make sure you’re not constantly hammering the server in the background to fetch new data. That will run through your account’s limits very quickly, and cause issues such as the one you’re experiencing right now. So you’ll want to make sure that the polling speed is reasonable, and that you’re not doing multiple polling loops for your account.

---

_[View the full topic](https://forum.infinityfree.com/t/javascript-setinterval-leads-to-http-1-1-508-loop-detected-on-infinityfree/80437)._
