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 ...
随机推荐
- Python 学习之urllib模块---用于发送网络请求,获取数据(2)
接着上一次的内容. 先说明一下关于split()方法:它通过指定分隔符对字符串进行切片,如果参数num 有指定值,则仅分隔 num 个子字符串(把一个字符串分割成很多字符串组成的list列表) 语法: ...
- Python 学习之urllib模块---用于发送网络请求,获取数据
1.urllib urllib是Python标准库的一部分,包含urllib.request,urllib.error,urllib.parse,urlli.robotparser四个子模块. (1) ...
- python基础之元组(Tuple)、字典(Dictionary)详解
元组定义 元组是另一个数据类型,类似于List(列表). 元组用”()”标识.内部元素用逗号隔开.但是元素不能二次赋值,相当于只读列表. 举例: tuple = ( ‘abcd’, 786 , 2.2 ...
- 轻量级表格插件Bootstrap Table。拥有强大的支持固定表头、单/复选、排序、分页、搜索及自定义表头等功能。
Bootstrap Table是轻量级的和功能丰富的以表格的形式显示的数据,支持单选,复选框,排序,分页,显示/隐藏列,固定标题滚动表,响应式设计,Ajax加载JSON数据,点击排序的列,卡片视图等. ...
- gcc/g++编译
1. gcc/g++在执行编译工作的时候,总共需要4步 (1).预处理,生成.i的文件[预处理器cpp] (2).汇编,将预处理后的文件转换成汇编语言,生成文件.s[编译器egcs] (3).编译,将 ...
- 使用SourceTree将bitbucket的远程仓库回滚到某一次提交-b
目的: 使用SourceTree将bitbucket的远程仓库回滚到某一次提交. 原理: 在本地需要回滚的commit上创建一个分支,将该分支合并到远程仓库. 准备: 远程仓库有一个master主分支 ...
- 业界良心:Square开源Viewfinder,25万行代码全公布!
http://www.csdn.net/article/2014-05-06/2819633-square-open-sources-viewfinder https://github.com/vie ...
- INI解析模块的C++实现
INI文件格式是某些平台或软件上的配置文件的非正式标准,以节(section)和键(key)构成,常用于微软Windows操作系统中. 节(section) 节用方括号括起来,单独占一行,例如: [s ...
- http server v0.1_http_server.c
/**************************************************************** filename: http_server.c author: xx ...
- attr
今天用attr的时候忽然不知道html中没有的attribute可以不可以用该方法新增了, 查了appframework的文档,居然木有看出解答. 百度之,js原生的setAttribute当然是可以 ...