Home
last modified time | relevance | path

Searched refs:last_faults (Results 1 – 1 of 1) sorted by relevance

/PHP-7.3/sapi/fpm/fpm/
H A Dfpm_children.c32 static time_t *last_faults; variable
37 free(last_faults); in fpm_children_cleanup()
268 if (last_faults && (WTERMSIG(status) == SIGSEGV || WTERMSIG(status) == SIGBUS)) { in fpm_children_bury()
273 last_faults[fault++] = now; in fpm_children_bury()
280 if (now - last_faults[i] > fpm_global_config.emergency_restart_interval) { in fpm_children_bury()
471 last_faults = malloc(sizeof(time_t) * fpm_global_config.emergency_restart_threshold); in fpm_children_init_main()
473 if (!last_faults) { in fpm_children_init_main()
477 memset(last_faults, 0, sizeof(time_t) * fpm_global_config.emergency_restart_threshold); in fpm_children_init_main()

Completed in 11 milliseconds