fpm_main_overall
2015-11-02 22:22:04 0 举报
fpm_main_overall是一个指标,用于衡量整体的FPM(Fast Process Management)性能。FPM是一种用于管理进程的工具,它可以提高系统的性能和稳定性。fpm_main_overall指标通过综合评估FPM的各项功能和性能,提供了一个全面的评估结果。这个指标可以帮助用户了解FPM的整体表现,并根据需要进行调整和优化。通过监测fpm_main_overall指标,用户可以及时发现潜在的问题,并采取相应的措施来提高系统的性能和可靠性。总之,fpm_main_overall是一个重要的指标,对于评估和管理FPM的性能非常有帮助。
作者其他创作
大纲/内容
/* 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;
fpm_php_init_main()
ret = (char *) a-data + a-sz * n; return ret;
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);
c-type = type;c-cleanup = cleanup;c-arg = arg;
php_setup_sapi_content_types(TSRMLS_C);
TSRMLS_FETCH();php_module_shutdown(TSRMLS_C);sapi_shutdown();
if (php_information) {
case 'm': /* list compiled in modules */print_modules(TSRMLS_C);print_extensions(TSRMLS_C);
int fpm_php_init_main()
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;
fpm_globals.argc = argc;fpm_globals.argv = argv;if (config && *config) {fpm_globals.config = strdup(config);} fpm_globals.prefix = prefix;fpm_globals.pid = pid;fpm_globals.run_as_root = run_as_root;fpm_globals.force_stderr = force_stderr;
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 inline void *fpm_array_push(struct fpm_array_s *a)
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;
struct cleanup_s *c;c = fpm_array_push(&cleanups);
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 条评论
回复 删除
下一页