fpm_main_overall
2015-11-02 22:22:04 0 举报
fpm_main_overall是一个指标,用于衡量FPM(Fast Process Manager)的整体性能。FPM是一个用于管理PHP进程的工具,它提供了一种高效的方式来运行PHP应用程序。fpm_main_overall指标反映了FPM在处理请求时的性能表现,包括响应时间、吞吐量和错误率等。通过监控和优化fpm_main_overall指标,可以提高PHP应用程序的运行效率和稳定性。
作者其他创作
大纲/内容
/* startup after we get the above ini override se we get things right */ if (cgi_sapi_module.startup(&cgi_sapi_module) == FAILURE) {
zend_signal_globals_ctor(&zend_signal_globals);
is_initialized = 1;
sf-ini_entries = NULL;sapi_module = *sf;
sapi_startup(&cgi_sapi_module);
static int php_cgi_startup(sapi_module_struct *sapi_module)
int fcgi_init(void)
for (x = 0; x pstorage) / sizeof(*zend_signal_globals-pstorage); ++x) { zend_signal_queue_t *queue = &zend_signal_globals-pstorage[x];
SAPI_API void sapi_startup(sapi_module_struct *sf)
sapi_globals_ctor(&sapi_globals);
cgi_sapi_module.php_ini_path_override = NULL; cgi_sapi_module.php_ini_ignore_cwd = 1;
fcgi_init();
zend_signal_startup();
int php_setup_sapi_content_types(TSRMLS_D)
static void zend_signal_globals_ctor(zend_signal_globals_t *zend_signal_globals TSRMLS_DC)
case 'n':cgi_sapi_module.php_ini_ignore = 1;
cgi_sapi_module.additional_functions = additional_functions; cgi_sapi_module.executable_location = argv[0];
sapi_post_entry *p=post_entries;while (p-content_type) { if (sapi_register_post_entry(p TSRMLS_CC) == FAILURE) {
void zend_signal_startup()
case 'c':cgi_sapi_module.php_ini_path_override = strdup(php_optarg);
SAPI_API int sapi_register_post_entries(sapi_post_entry *post_entries TSRMLS_DC)
case 'i': /* php info & quit */php_information = 1;
static void fcgi_setup_signals(void)
php_setup_sapi_content_types(TSRMLS_C);
static void sapi_globals_ctor(sapi_globals_struct *sapi_globals TSRMLS_DC)
if (php_information) {
sapi_register_post_entries(php_post_entries TSRMLS_CC);
php_optind = orig_optind; php_optarg = orig_optarg;
/* No other args are permitted here as there is no interactive mode */ if (argc != php_optind) {
case 'm': /* list compiled in modules */print_modules(TSRMLS_C);print_extensions(TSRMLS_C);
SAPI_API int sapi_register_post_entry(sapi_post_entry *post_entry TSRMLS_DC)
case 'y':fpm_config = php_optarg;
static void fcgi_signal_handler(int signo) if (signo == SIGUSR1 || signo == SIGTERM) { in_shutdown = 1;
0 条评论
回复 删除
下一页