I do a two-minute dead cycle (I will jump out in more than two minutes) and add usleep (500000) to the loop; after that, I will get stuck, and the slow log will be recorded; after I get rid of it, I will be fine. Do you want to know why?
this is a slow log
[0x00007f9cd9296868] usleep() /aa/www/Application/Home/Controller/AaController.class.php:174
[0x00007ffd08484540] checkse() unknown:0
[0x00007f9cd9295960] invoke() /aa/www/ThinkPHP/Library/Think/App.class.php:172
[0x00007f9cd9294e18] invokeAction() /aa/www/ThinkPHP/Library/Think/App.class.php:109
[0x00007f9cd9294c40] exec() /aa/www/ThinkPHP/Library/Think/App.class.php:203
[0x00007f9cd9293438] run() /aa/www/ThinkPHP/Library/Think/Think.class.php:120
[0x00007f9cd9291d50] start() /aa/www/ThinkPHP/ThinkPHP.php:97
[0x00007f9cd9291c00] PP+ dump failed
this is the code
$while = true;
while ($while) {
// $while=false;
// usleep(500000);
}