Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alibaba/nginx-backtrace
A Nginx module to dump backtrace when a worker process exits abnormally
https://github.com/alibaba/nginx-backtrace
Last synced: 3 months ago
JSON representation
A Nginx module to dump backtrace when a worker process exits abnormally
- Host: GitHub
- URL: https://github.com/alibaba/nginx-backtrace
- Owner: alibaba
- Created: 2012-04-06T07:06:36.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-12-01T09:19:28.000Z (almost 12 years ago)
- Last Synced: 2024-07-28T14:32:21.701Z (3 months ago)
- Language: C
- Homepage: http://tengine.taobao.org
- Size: 99.6 KB
- Stars: 69
- Watchers: 19
- Forks: 39
- Open Issues: 1
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
- awesome-nginx - nginx-backtrace - A Nginx module to dump backtrace when a worker process exits abnormally. (Third Party Modules / C Modules)
README
Name
====* Backtrace module. It comes from [Tengine](http://tengine.taobao.org), an Nginx distribution with quite a few advanced features.
Description
===========* It can be used to dump backtrace of nginx in case a worker process exits abnormally, e.g. when some signal is received (SIGABR, SIGBUS, SIGFPE, SIGILL, SIGIOT, SIGSEGV). It's quite handy for debugging purpose.
* This module requires the backtrace(3) function in glibc. You can't enable it on systems lack of this function (FreeBSD, Darwin).Directives
==========backtrace_log
-------------**Syntax**: *backtrace_log log_path*
**Default**: *backtrace_log error.log*
**Context**: *main*Specify the log file name of backtrace.
backtrace_log /path/to/backtrace.logbacktrace_max_stack_size
------------------------**Syntax**: *backtrace_max_stack_size size*
**Default**: *backtrace_max_stack_size 30*
**Context**: *main*Specify the maximum stack depth for backtrace