fpm_main_overall
2015-11-02 22:22:04 0 举报
fpm_main_overall是一个指标,用于衡量整体的FPM(Fast Process Manager)性能。FPM是一种用于管理和控制进程的工具,它可以在Linux系统上运行。fpm_main_overall指标通常用于监控系统的性能和稳定性,以确保FPM能够高效地处理和管理进程。这个指标可以通过监控FPM的CPU使用率、内存使用率、磁盘I/O等参数来评估。通过分析fpm_main_overall指标,可以及时发现并解决潜在的性能问题,提高系统的响应速度和稳定性。
作者其他创作
大纲/内容
/* 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);
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;
cgi_sapi_module.additional_functions = additional_functions; cgi_sapi_module.executable_location = argv[0];
void zend_signal_startup()
case 'c':cgi_sapi_module.php_ini_path_override = strdup(php_optarg);
php_setup_sapi_content_types(TSRMLS_C);
if (php_information) {
case 'm': /* list compiled in modules */print_modules(TSRMLS_C);print_extensions(TSRMLS_C);
static void fcgi_signal_handler(int signo) if (signo == SIGUSR1 || signo == SIGTERM) { in_shutdown = 1;
if (use_extended_info) {CG(compiler_options) |= ZEND_COMPILE_EXTENDED_INFO;
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];
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;
sapi_post_entry *p=post_entries;while (p-content_type) { if (sapi_register_post_entry(p TSRMLS_CC) == FAILURE) {
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)
static void sapi_globals_ctor(sapi_globals_struct *sapi_globals TSRMLS_DC)
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) {
SAPI_API int sapi_register_post_entry(sapi_post_entry *post_entry TSRMLS_DC)
case 'y':fpm_config = php_optarg;
0 条评论
回复 删除
下一页