Little brother I wrote a program, but access for a while, will be the Apache card to die, only the restart will be good

Source: Internet
Author: User
I wrote a program, but for a while, the Apache card will be dead, only the restart will be good.
I would like to ask, what is this cause of yo?
How can I debug it and find out the problem?

------Solution--------------------
At least this is required:
Set a global variable OK order
OK = 1;
.....
if (S <= 1.5 && times < 3 && OK) {
OK = 0;
$.getjson (Getdataurl,{start:start,end:end,id:typeid},function (e) {
Scrolldata = e;
...
Scrolldata= ";
OK = 1;
}

The implication is that when Ajax data is not returned, the next round of requests is not made
  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.