memorysafety / river

This repository is the home of the River reverse proxy application, based on the pingora library from Cloudflare.
https://www.memorysafety.org/initiative/reverse-proxy/
Apache License 2.0
1.72k stars 101 forks source link

Consultation on issues with version 0.5.0 #81

Open meguoe opened 5 days ago

meguoe commented 5 days ago

This is the content of my configuration file.

system {
    threads-per-service 24
    daemonize true
    pid-file "/tmp/river.pid"
    upgrade-socket "/tmp/river.sock"
}
services {
    Server {
        listeners {
            "0.0.0.0:80"
        }
        connectors {
            "192.168.110.110:7003"
        }
    }
}

1、Is it normal that repeating the startup command three times creates three processes without any conflicts? river --config-kdl config.kdl --pidfile="/tmp/river.pid" --upgrade-socket="/tmp/river.sock" --threads-per-service=24 --daemonize image

2、Not creating the upgrade-socket file. image

3、An error is prompted when specifying --upgrade for hot loading. image