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: times)
| | | | | \--ngx_localtime
| | | | | \--ngx_sprintf
| | | | | | \--ngx_vslprintf
| | | | | | | \--ngx_sprintf_num
| | | | | | | \--ngx_sprintf_num (total: times)
| | | | | \--ngx_sprintf
| | | | | | \--ngx_vslprintf
| | | | | | | \--ngx_sprintf_num
| | | | | | | \--ngx_sprintf_num (total: times)
| | | | | \--ngx_sprintf
| | | | | | \--ngx_vslprintf
| | | | | | | \--ngx_sprintf_num
| | | | | | | \--ngx_sprintf_num (total: times)
| | | | \--ngx_event_accept
| | | | | \--ngx_get_connection
| | | | | \--ngx_create_pool
| | | | | | \--ngx_memalign
| | | | | \--ngx_palloc
| | | | | \--ngx_palloc (total: times)
| | | | | \--ngx_pnalloc
| | | | | \--ngx_sock_ntop
| | | | | | \--ngx_snprintf
| | | | | | | \--ngx_vslprintf
| | | | | | | | \--ngx_sprintf_num
| | | | | | | | \--ngx_sprintf_num (total: 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: 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: 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: times)
| | | | | | | | | | | | | | | | \--ngx_sprintf
| | | | | | | | | | | | | | | | \--ngx_vslprintf
| | | | | | | | | | | | | | | | \--ngx_sprintf_num
| | | | | | | | | | | | | | | | \--ngx_http_time
| | | | | | | | | | | | | | | | \--ngx_gmtime
| | | | | | | | | | | | | | | | \--ngx_sprintf
| | | | | | | | | | | | | | | | \--ngx_vslprintf
| | | | | | | | | | | | | | | | \--ngx_sprintf_num
| | | | | | | | | | | | | | | | \--ngx_sprintf_num (total: 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: 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
etrace 跟踪 nginx之HTTP请求流程的更多相关文章
- etrace跟踪Nginx代码+ FASTCGI
http://blog.csdn.net/jianqiangchen/article/details/29175285 http://blog.csdn.net/jianqiangchen/artic ...
- django源码分析 请求流程
一.从浏览器发出一个请求,到返回响应内容,这个过程是怎么样的? 1. 浏览器解析输入的url 2. 查找url对应的ip地址 3. 通过ip地址访问我们的服务器 1. 请求进入wsgi服务器(我在这 ...
- 使用反向代理的http的请求流程
此文章主要为刚接触反向代理的小伙伴梳理请求流程,以便更好的理解反向代理是何时工作的 流程 由于浏览器是有缓存的,所以本地的hosts文件的信息也会在浏览器端缓存 当客户端发起一个新的请求(例如:输入的 ...
- HTTP请求流程你了解了么?
我又回来了,先来波推广,最硬的资源来自公众号:前端美食汇,欢迎大家关注公众号获取最新的技术.提示,文末有福利,最硬的文章会首先发布在公众号上喔 预备知识 前文没有描述到传输和协议直接的层级对应关系,大 ...
- django+uWSGI+nginx的工作原理流程与部署过程
django+uWSGI+nginx的工作原理流程与部署过程 一.前言 知识的分享,不应该只是展示出来,还应该解释这样做是为什么... 献给和我一样懵懂中不断汲取知识,进步的人们. 授人与鱼,不如授人 ...
- 万字长文!一次性弄懂 Nginx 处理 HTTP 请求的 11 个阶段
Nginx 处理一个 HTTP 请求的全过程 前面给大家讲了 Nginx 是如何处理 HTTP请求头部的,接下来就到了真正处理 HTTP 请求的阶段了.先看下面这张图,这张图是 Nginx 处理 HT ...
- go http请求流程分析
前言 golang作为常驻进程, 请求第三方服务或者资源(http, mysql, redis等)完毕后, 需要手动关闭连接, 否则连接会一直存在; 连接池是用来管理连接的, 请求之前从连接池里获取连 ...
- Nginx如何处理一个请求
看了下nginx的官方文档,其中nginx如何处理一个请求讲解的很好,现在贴出来分享下.Nginx首先选定由哪一个虚拟主机来处理请求.让我们从一个简单的配置(其中全部3个虚拟主机都在端口*:80上监听 ...
- zookeeper源码分析之五服务端(集群leader)处理请求流程
leader的实现类为LeaderZooKeeperServer,它间接继承自标准ZookeeperServer.它规定了请求到达leader时需要经历的路径: PrepRequestProcesso ...
随机推荐
- MVC OR API的接口
MVC OR WEBAPI的接口安全 当我们开发一款App的时候,App需要跟后台服务进行通信获取或者提交数据.如果我们没有完善的安全机制则很容易被别用心的人伪造请求而篡改数据.所以我们需要使用某种安 ...
- Quartz1.8.5例子(六)
/* * Copyright 2005 - 2009 Terracotta, Inc. * * Licensed under the Apache License, Version 2.0 (the ...
- Microsoft HoloLens 技术解谜(下)
读者提问之“HoloLens 的深度传感器有没有可能是基于 TOF?” 先介绍下背景知识,市面上常见的有三种类型的深度传感器: 结构光,这个技术的代表产品是 Kinect 一代,它的传感器芯片用的是 ...
- CentOS 6.0图解网络安装全过程
转自CentOS 6.0图解网络安装全过程 国内镜像站点(东北大学.网易) 网易镜像站点:http://mirrors.163.com/centos/6.0/isos/ 中科大镜像站点:http:// ...
- 【UVALive - 5131】Chips Challenge(上下界循环费用流)
Description A prominent microprocessor company has enlisted your help to lay out some interchangeabl ...
- Keil 的辅助工具和部份高级技巧
在前面的几讲中我们介绍了工程的建立方法,常用的调试方法,除此之外,Keil 还提供 了一些辅助工具如外围接口.性能分析.变量来源分析.代码作用分析等,帮助我们了解程 的性能.查找程序中的隐藏错误,快速 ...
- JSch - Java实现的SFTP(文件上传详解篇)(转)
JSch是Java Secure Channel的缩写.JSch是一个SSH2的纯Java实现.它允许你连接到一个SSH服务器,并且可以使用端口转发,X11转发,文件传输等,当然你也可以集成它的功能到 ...
- 《深度探索c++对象模型》chapter3 Data语意学
一个空的class:如 class X{} ; sizeof(X)==1; sizeof为什么为1,他有一个隐晦的1 byte,那是被编译器安插进去的一个char,这使得class2的两个object ...
- C#针对DataTable进行分页方法
以下的分页方法是针对数据量不是非常大的数据进行的,是在内存中进行的分页操作. /// <summary> /// DataTable分页 /// </summary> /// ...
- C# 使用Nlog记录日志到数据库 使用LogEventInfo类获取,命名空间名称、类名、方法名
原文地址:http://dotnet.9sssd.com/csbase/art/793 [摘要]Nlog是一个很不错的.NET日志记录组件,它可以将日志输出到控件台,保存到文本,也可以很方便的记录到数 ...