This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Welcome to Ubuntu 18.04 LTS (GNU/Linux 4.15.0-20-generic x86_64) | |
* Documentation: https://help.ubuntu.com | |
* Management: https://landscape.canonical.com | |
* Support: https://ubuntu.com/advantage | |
Last login: Fri May 18 11:53:38 2018 from 192.168.1.10 | |
agentzh@mubuntu18:~$ wget -qO - https://openresty.org/package/pubkey.gpg | sudo apt-key add - | |
OK | |
agentzh@mubuntu18:~$ sudo apt-get -y install software-properties-common |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
export PATH=/opt/gdb-git/bin:$PATH | |
gdb --version | |
count=200 | |
pidfile=logs/nginx.pid | |
port=8081 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GNU gdb (GDB) 8.1.50.20180512-git | |
Copyright (C) 2018 Free Software Foundation, Inc. | |
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> | |
This is free software: you are free to change and redistribute it. | |
There is NO WARRANTY, to the extent permitted by law. Type "show copying" | |
and "show warranty" for details. | |
This GDB was configured as "x86_64-pc-linux-gnu". | |
Type "show configuration" for configuration details. | |
For bug reporting instructions, please see: | |
<http://www.gnu.org/software/gdb/bugs/>. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GNU gdb (GDB) Fedora 8.0.1-36.fc27 | |
Copyright (C) 2017 Free Software Foundation, Inc. | |
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> | |
This is free software: you are free to change and redistribute it. | |
There is NO WARRANTY, to the extent permitted by law. Type "show copying" | |
and "show warranty" for details. | |
This GDB was configured as "x86_64-redhat-linux-gnu". | |
Type "show configuration" for configuration details. | |
For bug reporting instructions, please see: | |
<http://www.gnu.org/software/gdb/bugs/>. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
worker_processes 1; | |
daemon on; | |
master_process on; | |
error_log /home/agentzh/git/lua-nginx-module/t/servroot/logs/error.log debug; | |
pid /home/agentzh/git/lua-nginx-module/t/servroot/logs/nginx.pid; | |
env MOCKEAGAIN_VERBOSE; | |
env MOCKEAGAIN; | |
env MOCKEAGAIN_WRITE_TIMEOUT_PATTERN; | |
env LD_PRELOAD; | |
env LD_LIBRARY_PATH; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2018/01/17 11:13:41 [debug] 88806#0: bind() 0.0.0.0:1984 #6 | |
2018/01/17 11:13:41 [notice] 88806#0: using the "epoll" event method | |
2018/01/17 11:13:41 [debug] 88806#0: counter: 00007F3DA9B46080, 1 | |
2018/01/17 11:13:41 [notice] 88806#0: nginx/1.13.8 | |
2018/01/17 11:13:41 [notice] 88806#0: built by gcc 7.2.1 20170915 (Red Hat 7.2.1-2) (GCC) | |
2018/01/17 11:13:41 [notice] 88806#0: OS: Linux 4.14.13-300.fc27.x86_64 | |
2018/01/17 11:13:41 [notice] 88806#0: getrlimit(RLIMIT_NOFILE): 1024:4096 | |
2018/01/17 11:13:41 [debug] 88807#0: write: 7, 00007FFC17FE2BA0, 6, 0 | |
2018/01/17 11:13:41 [debug] 88807#0: setproctitle: "nginx: master process nginx -p /home/agentzh/git/lua-nginx-module/t/servroot/ -c /home/agentzh/git/lua-nginx-module/t/servroot/conf/nginx.conf" | |
2018/01/17 11:13:41 [notice] 88807#0: start worker processes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
agentzh@min-ubuntu16:~$ lsb_release -a | |
No LSB modules are available. | |
Distributor ID: Ubuntu | |
Description: Ubuntu 16.04.2 LTS | |
Release: 16.04 | |
Codename: xenial | |
agentzh@min-ubuntu16:~$ sudo apt-get update | |
... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
agentzh@mbp15 ~ $ redis-server --loglevel verbose | |
20219:M 25 Dec 20:18:53.833 * Increased maximum number of open files to 10032 (it was originally set to 256). | |
_._ | |
_.-``__ ''-._ | |
_.-`` `. `_. ''-._ Redis 3.0.2 (00000000/0) 64 bit | |
.-`` .-```. ```\/ _.,_ ''-._ | |
( ' , .-` | `, ) Running in standalone mode | |
|`-._`-...-` __...-.``-._|'` _.-'| Port: 6379 | |
| `-._ `._ / _.-' | PID: 20219 | |
`-._ `-._ `-./ _.-' _.-' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==119636== Invalid read of size 1 | |
==119636== at 0x4227F8: ngx_pfree (ngx_palloc.c:191) | |
==119636== by 0x4FD22E: ngx_http_lua_pcre_free (ngx_http_lua_pcrefix.c:50) | |
==119636== by 0x5C624DD: free_read_only_data (pcre_jit_compile.c:2364) | |
==119636== by 0x5C624DD: _pcre_jit_free (pcre_jit_compile.c:11586) | |
==119636== by 0x5C6435B: pcre_free_study (pcre_study.c:1681) | |
==119636== by 0x4F0165: ngx_http_lua_ffi_destroy_regex (ngx_http_lua_regex.c:2413) | |
==119636== by 0x546D287: lj_vm_ffi_call (in /opt/luajit21sysm/lib/libluajit-5.1.so.2.1.0) | |
==119636== by 0x54B95F0: lj_ccall_func (lj_ccall.c:1161) | |
==119636== by 0x54CDAE0: lj_cf_ffi_meta___call (lib_ffi.c:230) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -x | |
main_if=ens33 | |
ping_count=1 | |
echo 1 > /proc/sys/net/ipv4/ip_forward || exit 1 | |
ip netns del ns1 > /dev/null 2>&1 |