Code Monkey home page Code Monkey logo

Comments (6)

springzfx avatar springzfx commented on June 8, 2024

archlinux下cgproxy-git没有复现这个问题

from cgproxy.

sixg0000d avatar sixg0000d commented on June 8, 2024

找到问题根源了,Qv2ray 在连接节点时共会调用3次 v2ray 程序,其中第一次基本等同于命令 v2ray --version
所以我测试了,在完全不使用任何 v2ray / Qv2ray 进程的情况下,反复执行命令 v2ray --version ,从第二次开始,能够 100% 复现该报错。
当然,既然是 v2ray --version 才会产生,所以这个 error 绝对不会影响任何正常使用。

同样地,我将其他有快速输出版本号的命令的程序写入不代理程序,例如

{
    "program_noproxy": ["v2ray", "qv2ray", "/usr/lib64/firefox/firefox"]
}

执行 firefox -v 命令,亦能复现该报错。

目测是因为进程结束太快,导致 execsnoop 没有捕捉到进程产生的。(也就是和cgproxy没太大关系了)
不太清楚该 PID 是由 cgproxy 或者 execsnoop 负责捕捉?
而且目前只有我的 Fedora 能够复现该错误。

from cgproxy.

sixg0000d avatar sixg0000d commented on June 8, 2024

我觉得这个错误可能不仅仅是会影响日志这么简单,因为刚才我试了能够瞬时产生输出并结束的 curl 命令亦能复现该错误。
头疼的是目测 Archlinux 不会有该错误而目前只有我的 Fedora 能够复现该错误。

from cgproxy.

springzfx avatar springzfx commented on June 8, 2024

其实就是进程生命周期太短了,在移动cgroup时,它已经退出了

from cgproxy.

springzfx avatar springzfx commented on June 8, 2024

b2d49eb 忽略了这类错误,不过仍会存在很小的概率会出现,这是正常现象

from cgproxy.

sixg0000d avatar sixg0000d commented on June 8, 2024

在最新版,我测试的几种使用场景已不会触发该错误

from cgproxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.