小弟我写了一个程序,但是访问一会,就会把apache卡死,只有重起才会好
我写了一个程序,但是访问一会,就会把apache卡死,只有重起才会好。
我想问问,这个是什么原因引起的哟?
我怎么调试呢,找出问题呢?
------解决方案--------------------
至少需要这样:
设一全局变量 ok 令
ok = 1;
.....
if( s ok = 0;
$.getJSON(getDataUrl,{start:start,end:end,id:typeId},function(e){
scrollData = e;
...
scrollData='';
ok = 1;
}
其意义在于:当ajax数据没有返回时,不进行下一轮请求

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics











Solution to docker start failure: 1. Check the running status, and then release the occupied memory through the "echo 3 > /proc/sys/vm/drop_caches" command; 2. Use "$netstat -nltp|grep .. ." command to check whether the port has been occupied. If it is found to be occupied after going online, change it to an available port and restart.

Solution to node start error: 1. Execute "node xx.js" directly in the terminal; 2. Add start startup item "scripts": {"test": "echo \"Error: no test specified\" && exit 1 ","start":"node service.js"}"; 3. Re-execute "npm start".

What is AMP Coin? The AMP token was created by the Synereo team in 2015 as the main trading currency of the Synereo platform. AMP token aims to provide users with a better digital economic experience through multiple functions and uses. Purpose of AMP Token The AMP Token has multiple roles and functions in the Synereo platform. First, as part of the platform’s cryptocurrency reward system, users are able to earn AMP rewards by sharing and promoting content, a mechanism that encourages users to participate more actively in the platform’s activities. AMP tokens can also be used to promote and distribute content on the Synereo platform. Users can increase the visibility of their content on the platform by using AMP tokens to attract more viewers to view and share

The top 10 Bitcoin trading platforms in 2025 are: Binance: Industry-leading trading volume, a wide range of crypto asset choices. OKX: Strong liquidity, low trading fees, advanced contract trading. Gate.io: Extensive crypto asset selection, low transaction fees, and support for international payments. Kraken: Highly secure, highly liquid, and provides fiat currency pairs. Gemini: Super secure, regulated in the United States, professional services for institutional investors. Bitstamp: an old trading platform, regulated, and highly liquid.

Recommended top ten cryptocurrency trading platforms: 1. OKX, 2. Binance, 3. Gate.io, 4. Huobi Global, 5. Kraken, 6. Coinbase, 7. KuCoin, 8. Bitfinex, 9. Crypto.com, 10. Gemini, these exchanges have their own characteristics, and users can choose the platform that suits them based on factors such as security, fees, currency selection, user interface and customer support.

Top 10 Cryptocurrency Exchange Applications (2025): Binance: The maximum liquidity and asset options are wide. OKX: The first choice for cryptocurrency derivatives trading. Gate.io: specializes in spot trading and has a wide range of asset classes. Bitget: A choice for innovation in social trading and automated strategy.

Recommended safe and reliable bitcoin exchanges include Binance, OKX, Gate.io, Coinbase, Kraken and Huobi. 1. Binance supports more than 600 cryptocurrencies and provides multiple trading functions. 2. OKX is suitable for professional investors and provides a variety of trading methods. 3.Gate.io supports 1,400 cryptocurrencies and is highly secure. 4.Coinbase is suitable for beginners and has a user-friendly interface. 5.Kraken is known for its security and is suitable for institutional investors. 6.Huobi performed well in the Asian market.

If you have logged out of your virtual currency account but still need to query your transaction history, you can follow the following guide: First, check whether there is an option to restore your account. Usually, a certain time window is provided when you log out of an account, allowing the user to recover. If the recovery period is missed, you can contact the platform customer service for help. If the platform cannot restore the account, the transaction history cannot be checked.
