GithubHelp home page GithubHelp logo

Comments (4)

tobyxdd avatar tobyxdd commented on May 20, 2024

你是怎么部署的,以及规则什么样?OpenGFW 本身应该不会导致这个问题

from opengfw.

v50-one avatar v50-one commented on May 20, 2024

你是怎么部署的,以及规则什么样?OpenGFW 本身应该不会导致这个问题

我使用的是 screen 运行

config.yaml

io:
  queueSize: 1024
  local: true  # 如果需要在 FORWARD 链上运行 OpenGFW,请设置为 false

workers:
  count: 4
  queueSize: 16
  tcpMaxBufferedPagesTotal: 4096
  tcpMaxBufferedPagesPerConn: 64
  udpMaxStreams: 4096

rules.yaml

- name: block from china shadowsocks
  action: block
  expr: fet != nil && fet.yes && geoip(string(ip.src), "cn")

- name: block from china SOCKS
  action: block
  expr: socks != nil && geoip(string(ip.src), "cn")

markdown把配置文件的-渲染成了点实际配置文件是正常的
我在昨晚上在一台固定IP的服务器(服务器使用incus(lxc虚拟化)部署了多个容器)上面部署了同样的的程序 部署时间为 00:36 服务器断网时间为 02:43
我特意使用debug模式保留了日志
gfw.log

我通过服务商提供的VNC进入服务器后关掉opengfw网络就通了(特别说明其中有个lxc容器分配了独立IPv4 此容器没断网)

from opengfw.

tobyxdd avatar tobyxdd commented on May 20, 2024

日志没看到什么异常。。断网的时候 OpenGFW 进程有什么异常吗?比如内存/cpu占用很高之类的

from opengfw.

tobyxdd avatar tobyxdd commented on May 20, 2024

能够复现,在解决了

from opengfw.

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.