Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7892119
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T06:47:22+00:00 2026-06-03T06:47:22+00:00

I am building a website on a free website provider (000webhost) and I am

  • 0

I am building a website on a free website provider (000webhost) and I am currently working on a chat. I have set an interval every 500ms which reads a file and checks if a new message was posted. If there is a new one, i load all messages from a .txt-file into a element in html.
It is nearly finished but after long chatting or just being on the chat-page (3 minutes or more), my site crashes and I have to wait about an hour till i can access it. I am refreshing the chat using javascript and ajax every half second.
Does anybody know what I could have done wrong?
I already searched google for that issue but couldn’t find any help.

Edit:
I changed the interval for refreshing the chat to 2,5 seconds and the website didn’t crash. I think that solved the problem..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T06:47:24+00:00Added an answer on June 3, 2026 at 6:47 am

    Sounds like the host is blocking you, maybe due to excessive requests. One request every 500 milliseconds from the same IP can probably be mistaken for a DOS-attack or similar.

    There are more performant and suitable ways to build a chat – have a look at web sockets or node.js for instance.

    • NodeJS Chat
    • Web Socket chat

    Update

    As Tom points out in his comment, it might be that a free web host doesn’t provide or allow you to setup a Node-server. In that case, I guess you could experiment with an increased request-interval, and see if that helps you, or check with the host if they have such a limit. An increased request interval would probably make the chat feel less responsive, but it is tough to get everything on a free host.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Am building a website which will have articles, policies and laws and text stuffs.
I am building a website to capture data. I have many spreadsheets that are
I am building a website which includes a full width slider; 100% of browser
I am building a website using php and mysql.I have a login that is
I'm currently building a website with Django and want to host user bio style
I am building a small webapp for my website and have included tinyMCE as
I am just building website for our client. It is simple page which lists
Building a website using a PHP based Ecommerce product Magento. The problem I have
I'm building a website which should change the content div with another content div
I am a novice at website building. I downloaded a free css from a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.