• etrace 跟踪 nginx之HTTP请求流程


    curl 127.0.0.1   


    | | | --ngx_epoll_process_events | | | | --ngx_time_update | | | | | --ngx_gmtime | | | | | --ngx_sprintf | | | | | | --ngx_vslprintf | | | | | | | --ngx_sprintf_num | | | | | | | --ngx_sprintf_num (total: 5 times) | | | | | --ngx_localtime | | | | | --ngx_sprintf | | | | | | --ngx_vslprintf | | | | | | | --ngx_sprintf_num | | | | | | | --ngx_sprintf_num (total: 6 times) | | | | | --ngx_sprintf | | | | | | --ngx_vslprintf | | | | | | | --ngx_sprintf_num | | | | | | | --ngx_sprintf_num (total: 7 times) | | | | | --ngx_sprintf | | | | | | --ngx_vslprintf | | | | | | | --ngx_sprintf_num | | | | | | | --ngx_sprintf_num (total: 8 times) | | | | --ngx_event_accept | | | | | --ngx_get_connection | | | | | --ngx_create_pool | | | | | | --ngx_memalign | | | | | --ngx_palloc | | | | | --ngx_palloc (total: 2 times) | | | | | --ngx_pnalloc | | | | | --ngx_sock_ntop | | | | | | --ngx_snprintf | | | | | | | --ngx_vslprintf | | | | | | | | --ngx_sprintf_num | | | | | | | | --ngx_sprintf_num (total: 4 times) | | | | | --ngx_http_init_connection | | | | | | --ngx_palloc | | | | | | --ngx_event_add_timer | | | | | | | --ngx_rbtree_insert | | | | | | --ngx_handle_read_event | | | | | | | --ngx_epoll_add_event | | | --ngx_event_expire_timers | | | | --ngx_rbtree_min | | --ngx_process_events_and_timers | | | --ngx_event_find_timer | | | | --ngx_rbtree_min | | | --ngx_epoll_process_events | | | | --ngx_time_update | | | | --ngx_http_init_request | | | | | --ngx_pcalloc | | | | | | --ngx_palloc | | | | | --ngx_pcalloc | | | | | | --ngx_palloc | | | | | | | --ngx_palloc_large | | | | | | | | --ngx_alloc | | | | | | | | --ngx_palloc | | | | | --ngx_create_temp_buf | | | | | | --ngx_pcalloc | | | | | | | --ngx_palloc | | | | | | | | --ngx_palloc_block | | | | | | | | | --ngx_memalign | | | | | | --ngx_palloc | | | | | | | --ngx_palloc_large | | | | | | | | --ngx_alloc | | | | | | | | --ngx_palloc | | | | | --ngx_create_pool | | | | | | --ngx_memalign | | | | | --ngx_list_init | | | | | | --ngx_palloc | | | | | --ngx_pcalloc | | | | | | --ngx_palloc | | | | | --ngx_pcalloc | | | | | | --ngx_palloc | | | | | --ngx_http_process_request_line | | | | | | --ngx_http_read_request_header | | | | | | | --ngx_unix_recv | | | | | | --ngx_http_parse_request_line | | | | | | --ngx_list_init | | | | | | | --ngx_palloc | | | | | | --ngx_array_init | | | | | | | --ngx_palloc | | | | | | --ngx_http_process_request_headers | | | | | | | --ngx_http_read_request_header | | | | | | | --ngx_http_parse_header_line | | | | | | | --ngx_list_push | | | | | | | --ngx_pnalloc | | | | | | | --ngx_hash_find | | | | | | | --ngx_http_process_user_agent | | | | | | | | --ngx_strstrn | | | | | | | | --ngx_strstrn (total: 6 times) | | | | | | | --ngx_http_parse_header_line | | | | | | | --ngx_list_push | | | | | | | --ngx_pnalloc | | | | | | | --ngx_hash_find | | | | | | | --ngx_http_process_host | | | | | | | | --ngx_http_validate_host | | | | | | | --ngx_http_parse_header_line | | | | | | | --ngx_list_push | | | | | | | --ngx_pnalloc | | | | | | | --ngx_hash_find | | | | | | | --ngx_http_parse_header_line | | | | | | | --ngx_http_process_request_header | | | | | | | | --ngx_http_find_virtual_server | | | | | | | --ngx_http_process_request | | | | | | | | --ngx_event_del_timer | | | | | | | | | --ngx_rbtree_delete | | | | | | | | --ngx_http_handler | | | | | | | | | --ngx_http_core_run_phases | | | | | | | | | | --ngx_http_core_rewrite_phase | | | | | | | | | | | --ngx_http_rewrite_handler | | | | | | | | | | --ngx_http_core_find_config_phase | | | | | | | | | | | --ngx_http_core_find_location | | | | | | | | | | | | --ngx_http_core_find_static_location | | | | | | | | | | | | --ngx_http_core_find_location | | | | | | | | | | | | | --ngx_http_core_find_static_location | | | | | | | | | | | --ngx_http_update_location_config | | | | | | | | | | --ngx_http_core_rewrite_phase | | | | | | | | | | | --ngx_http_rewrite_handler | | | | | | | | | | --ngx_http_core_post_rewrite_phase | | | | | | | | | | --ngx_http_core_generic_phase | | | | | | | | | | | --ngx_http_limit_req_handler | | | | | | | | | | --ngx_http_core_generic_phase | | | | | | | | | | | --ngx_http_limit_conn_handler | | | | | | | | | | --ngx_http_core_access_phase | | | | | | | | | | | --ngx_http_access_handler | | | | | | | | | | --ngx_http_core_access_phase | | | | | | | | | | | --ngx_http_auth_basic_handler | | | | | | | | | | --ngx_http_core_post_access_phase | | | | | | | | | | --ngx_http_core_content_phase | | | | | | | | | | | --ngx_http_index_handler | | | | | | | | | | | | --ngx_http_map_uri_to_path | | | | | | | | | | | | | --ngx_pnalloc | | | | | | | | | | | | | --ngx_cpystrn | | | | | | | | | | | | --ngx_http_set_disable_symlinks | | | | | | | | | | | | --ngx_open_cached_file | | | | | | | | | | | | | --ngx_file_info_wrapper | | | | | | | | | | | | --ngx_http_internal_redirect | | | | | | | | | | | | | --ngx_http_set_exten | | | | | | | | | | | | | --ngx_http_update_location_config | | | | | | | | | | | | | --ngx_http_handler | | | | | | | | | | | | | | --ngx_http_core_run_phases | | | | | | | | | | | | | | | --ngx_http_core_rewrite_phase | | | | | | | | | | | | | | | | --ngx_http_rewrite_handler | | | | | | | | | | | | | | | --ngx_http_core_find_config_phase | | | | | | | | | | | | | | | | --ngx_http_core_find_location | | | | | | | | | | | | | | | | --ngx_http_core_find_static_location | | | | | | | | | | | | | | | | --ngx_http_core_find_location | | | | | | | | | | | | | | | | --ngx_http_core_find_static_location | | | | | | | | | | | | | | | | --ngx_http_update_location_config | | | | | | | | | | | | | | | --ngx_http_core_rewrite_phase | | | | | | | | | | | | | | | | --ngx_http_rewrite_handler | | | | | | | | | | | | | | | --ngx_http_core_post_rewrite_phase | | | | | | | | | | | | | | | --ngx_http_core_generic_phase | | | | | | | | | | | | | | | | --ngx_http_limit_req_handler | | | | | | | | | | | | | | | --ngx_http_core_generic_phase | | | | | | | | | | | | | | | | --ngx_http_limit_conn_handler | | | | | | | | | | | | | | | --ngx_http_core_access_phase | | | | | | | | | | | | | | | | --ngx_http_access_handler | | | | | | | | | | | | | | | --ngx_http_core_access_phase | | | | | | | | | | | | | | | | --ngx_http_auth_basic_handler | | | | | | | | | | | | | | | --ngx_http_core_post_access_phase | | | | | | | | | | | | | | | --ngx_http_core_content_phase | | | | | | | | | | | | | | | | --ngx_http_index_handler | | | | | | | | | | | | | | | --ngx_http_core_content_phase | | | | | | | | | | | | | | | | --ngx_http_autoindex_handler | | | | | | | | | | | | | | | --ngx_http_core_content_phase | | | | | | | | | | | | | | | | --ngx_http_static_handler | | | | | | | | | | | | | | | | --ngx_http_map_uri_to_path | | | | | | | | | | | | | | | | --ngx_pnalloc | | | | | | | | | | | | | | | | --ngx_cpystrn | | | | | | | | | | | | | | | | --ngx_http_set_disable_symlinks | | | | | | | | | | | | | | | | --ngx_open_cached_file | | | | | | | | | | | | | | | | --ngx_pool_cleanup_add | | | | | | | | | | | | | | | | --ngx_palloc | | | | | | | | | | | | | | | | --ngx_palloc (total: 2 times) | | | | | | | | | | | | | | | | --ngx_open_and_stat_file | | | | | | | | | | | | | | | | --ngx_open_file_wrapper | | | | | | | | | | | | | | | | --ngx_http_discard_request_body | | | | | | | | | | | | | | | | --ngx_http_test_expect | | | | | | | | | | | | | | | | --ngx_http_set_content_type | | | | | | | | | | | | | | | | --ngx_hash_find | | | | | | | | | | | | | | | | --ngx_pcalloc | | | | | | | | | | | | | | | | --ngx_palloc | | | | | | | | | | | | | | | | --ngx_pcalloc | | | | | | | | | | | | | | | | --ngx_palloc | | | | | | | | | | | | | | | | --ngx_http_send_header | | | | | | | | | | | | | | | | --ngx_http_not_modified_header_filter | | | | | | | | | | | | | | | | --ngx_http_headers_filter | | | | | | | | | | | | | | | | --ngx_http_userid_filter | | | | | | | | | | | | | | | | --ngx_http_charset_header_filter | | | | | | | | | | | | | | | | --ngx_http_destination_charset | | | | | | | | | | | | | | | | --ngx_http_ssi_header_filter | | | | | | | | | | | | | | | | --ngx_http_gzip_header_filter | | | | | | | | | | | | | | | | --ngx_http_range_header_filter | | | | | | | | | | | | | | | | --ngx_list_push | | | | | | | | | | | | | | | | --ngx_http_chunked_header_filter | | | | | | | | | | | | | | | | --ngx_http_header_filter | | | | | | | | | | | | | | | | --ngx_create_temp_buf | | | | | | | | | | | | | | | | --ngx_pcalloc | | | | | | | | | | | | | | | | --ngx_palloc | | | | | | | | | | | | | | | | --ngx_palloc (total: 2 times) | | | | | | | | | | | | | | | | --ngx_sprintf | | | | | | | | | | | | | | | | --ngx_vslprintf | | | | | | | | | | | | | | | | --ngx_sprintf_num | | | | | | | | | | | | | | | | --ngx_http_time | | | | | | | | | | | | | | | | --ngx_gmtime | | | | | | | | | | | | | | | | --ngx_sprintf | | | | | | | | | | | | | | | | --ngx_vslprintf | | | | | | | | | | | | | | | | --ngx_sprintf_num | | | | | | | | | | | | | | | | --ngx_sprintf_num (total: 5 times) | | | | | | | | | | | | | | | | --ngx_http_write_filter | | | | | | | | | | | | | | | | --ngx_alloc_chain_link | | | | | | | | | | | | | | | | --ngx_palloc | | | | | | | | | | | | | | | | --ngx_http_output_filter | | | | | | | | | | | | | | | | --ngx_http_range_body_filter | | | | | | | | | | | | | | | | --ngx_http_copy_filter | | | | | | | | | | | | | | | | --ngx_pcalloc | | | | | | | | | | | | | | | | --ngx_palloc | | | | | | | | | | | | | | | | --ngx_output_chain | | | | | | | | | | | | | | | | --ngx_output_chain_as_is | | | | | | | | | | | | | | | | --ngx_http_charset_body_filter | | | | | | | | | | | | | | | | --ngx_http_ssi_body_filter | | | | | | | | | | | | | | | | --ngx_http_postpone_filter | | | | | | | | | | | | | | | | --ngx_http_gzip_body_filter | | | | | | | | | | | | | | | | --ngx_http_chunked_body_filter | | | | | | | | | | | | | | | | --ngx_http_write_filter | | | | | | | | | | | | | | | | --ngx_alloc_chain_link | | | | | | | | | | | | | | | | --ngx_palloc | | | | | | | | | | | | | | | | --ngx_linux_sendfile_chain | | | | | | | | | | | | | | | | --ngx_array_push | | | | | | | | | | | | | | | | --ngx_http_finalize_request | | | | | | | | | | | | | | | | --ngx_http_post_action | | | | | | | | | | | | | | | | --ngx_http_finalize_connection | | | | | | | | | | | | | | | | --ngx_http_close_request | | | | | | | | | | | --ngx_http_finalize_request | | | | | | | | | | | | --ngx_http_finalize_connection | | | | | | | | | | | | | --ngx_http_set_keepalive | | | | | | | | | | | | | | --ngx_http_free_request | | | | | | | | | | | | | | | --ngx_http_log_request | | | | | | | | | | | | | | | | --ngx_http_log_handler | | | | | | | | | | | | | | | | --ngx_http_script_flush_no_cacheable_variables | | | | | | | | | | | | | | | | --ngx_http_log_variable_getlen | | | | | | | | | | | | | | | | --ngx_http_get_indexed_variable | | | | | | | | | | | | | | | | --ngx_http_variable_remote_addr | | | | | | | | | | | | | | | | --ngx_http_log_escape | | | | | | | | | | | | | | | | --ngx_http_log_variable_getlen | | | | | | | | | | | | | | | | --ngx_http_get_indexed_variable | | | | | | | | | | | | | | | | --ngx_http_variable_remote_user | | | | | | | | | | | | | | | | --ngx_http_auth_basic_user | | | | | | | | | | | | | | | | --ngx_http_log_variable_getlen | | | | | | | | | | | | | | | | --ngx_http_get_indexed_variable | | | | | | | | | | | | | | | | --ngx_http_variable_request_line | | | | | | | | | | | | | | | | --ngx_http_log_escape | | | | | | | | | | | | | | | | --ngx_http_log_variable_getlen | | | | | | | | | | | | | | | | --ngx_http_get_indexed_variable | | | | | | | | | | | | | | | | --ngx_http_variable_header | | | | | | | | | | | | | | | | --ngx_http_log_variable_getlen | | | | | | | | | | | | | | | | --ngx_http_get_indexed_variable | | | | | | | | | | | | | | | | --ngx_http_variable_header | | | | | | | | | | | | | | | | --ngx_http_log_escape | | | | | | | | | | | | | | | | --ngx_pnalloc | | | | | | | | | | | | | | | | --ngx_http_log_variable | | | | | | | | | | | | | | | | --ngx_http_get_indexed_variable | | | | | | | | | | | | | | | | --ngx_http_log_copy_short | | | | | | | | | | | | | | | | --ngx_http_log_variable | | | | | | | | | | | | | | | | --ngx_http_get_indexed_variable | | | | | | | | | | | | | | | | --ngx_http_log_copy_short | | | | | | | | | | | | | | | | --ngx_http_log_time | | | | | | | | | | | | | | | | --ngx_http_log_copy_short | | | | | | | | | | | | | | | | --ngx_http_log_variable | | | | | | | | | | | | | | | | --ngx_http_get_indexed_variable | | | | | | | | | | | | | | | | --ngx_http_log_copy_short | | | | | | | | | | | | | | | | --ngx_http_log_status | | | | | | | | | | | | | | | | --ngx_sprintf | | | | | | | | | | | | | | | | --ngx_vslprintf | | | | | | | | | | | | | | | | --ngx_sprintf_num | | | | | | | | | | | | | | | | --ngx_http_log_copy_short | | | | | | | | | | | | | | | | --ngx_http_log_body_bytes_sent | | | | | | | | | | | | | | | | --ngx_sprintf | | | | | | | | | | | | | | | | --ngx_vslprintf | | | | | | | | | | | | | | | | --ngx_sprintf_num | | | | | | | | | | | | | | | | --ngx_http_log_copy_short | | | | | | | | | | | | | | | | --ngx_http_log_variable | | | | | | | | | | | | | | | | --ngx_http_get_indexed_variable | | | | | | | | | | | | | | | | --ngx_http_log_copy_short | | | | | | | | | | | | | | | | --ngx_http_log_variable | | | | | | | | | | | | | | | | --ngx_http_get_indexed_variable | | | | | | | | | | | | | | | | --ngx_http_log_copy_short | | | | | | | | | | | | | | | | --ngx_http_log_write | | | | | | | | | | | | | | | | --ngx_write_fd | | | | | | | | | | | | | | | --ngx_destroy_pool | | | | | | | | | | | | | | | | --ngx_pool_cleanup_file | | | | | | | | | | | | | | --ngx_event_add_timer | | | | | | | | | | | | | | | --ngx_rbtree_insert | | | | | | | | | | | | | | --ngx_handle_read_event | | | | | | | | | | | | | | --ngx_pfree | | | | | | | | | | | | | | --ngx_pfree (total: 2 times) | | | | | | | | | | | | | | --ngx_reusable_connection | | | | | | | | --ngx_http_run_posted_requests | | | --ngx_event_process_posted | | | | --ngx_http_keepalive_handler | | | | | --ngx_palloc | | | | | | --ngx_palloc_large | | | | | | | --ngx_alloc | | | | | --ngx_unix_recv | | | | | --ngx_handle_read_event | | | | | --ngx_pfree | | --ngx_process_events_and_timers | | | --ngx_event_find_timer | | | | --ngx_rbtree_min | | | --ngx_epoll_process_events | | | | --ngx_time_update | | | | --ngx_http_keepalive_handler | | | | | --ngx_palloc | | | | | | --ngx_palloc_large | | | | | | | --ngx_alloc | | | | | --ngx_unix_recv | | | | | --ngx_http_close_connection | | | | | | --ngx_close_connection | | | | | | | --ngx_event_del_timer | | | | | | | | --ngx_rbtree_delete | | | | | | | --ngx_epoll_del_connection | | | | | | | --ngx_reusable_connection | | | | | | | --ngx_free_connection | | | | | | --ngx_destroy_pool | | | --ngx_event_expire_timers | | --ngx_process_events_and_timers | | | --ngx_event_find_timer
  • 相关阅读:
    MAVEN学习笔记之私服Nexus(2)
    MAVEN学习笔记之基础(1)
    mybatis 高级映射和spring整合之逆向工程(7)
    IPC之共享内存
    IPC之SystemV
    IPC之消息队列
    IPC之信号量
    线程同步
    线程函数
    线程基础
  • 原文地址:https://www.cnblogs.com/zengkefu/p/5572223.html
Copyright © 2020-2023  润新知