nginx_upstream_check_module icon indicating copy to clipboard operation
nginx_upstream_check_module copied to clipboard

单进程模式会崩溃

Open hml1006 opened this issue 5 years ago • 1 comments

代码中不是worker进程,不会执行add timers,但是add timers里面执行了一部分共享内存操作,导致后面有访问共享内存的的行为就会崩溃

    if (ngx_process != NGX_PROCESS_WORKER) {
        return NGX_OK;
    }

hml1006 avatar May 07 '20 08:05 hml1006

帮忙看下这个呢,rise>1时,后端恢复检测不及时

https://github.com/zhouchangxun/ngx_healthcheck_module/issues/28

------------------ 原始邮件 ------------------ 发件人: "hml1006"[email protected]; 发送时间: 2020年5月7日(星期四) 下午4:50 收件人: "yaoweibin/nginx_upstream_check_module"[email protected]; 抄送: "Subscribed"[email protected]; 主题: [yaoweibin/nginx_upstream_check_module] 单进程模式会崩溃 (#225)

代码中不是worker进程,不会执行add timers,但是add timers里面执行了一部分共享内存操作,导致后面有访问共享内存的的行为就会崩溃 if (ngx_process != NGX_PROCESS_WORKER) { return NGX_OK; } — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

wohaiaini avatar May 07 '20 09:05 wohaiaini