netsupcloud
netsupcloud
> This is what trojan-panel-core does. Its function is to call the api interface of xray or hysteria, such as querying users, querying quotas, and storing the results in MariaDB...
yes it right but its not a good idea when trojan-panel-core can be under pressure when some one will create 200 nodes best schematic: ............................................------------tp-core-runner.py.js.sh.go-------trojan-panel-core ..........................................| tp-core-container--- ..........................................| ............................................------------cores-handler.py.js.sh.go-----------(xray)(xray)(xray)(xray)(xray)(xray)(xray)(hysteria)(trojan-go) and...
and of course you must handle recovery of trojan-panel-core after crash and getting it back to working. you can store last state of (trojan-panel-core) inside (tp-core-runner.py.js.sh.go) if it is necessary...
or if you want avoid using (core-handler.py.js.sh.go) ------------------ you must find a way to run xray cores as non-children of trojan-panel-core and when restart after crash is done at first...
its clear or hard to understand ?
it can be two option in proxies list - URL-TEST-PASSIVE - URL-TEST-ACTIVE
in new version country detection for each proxy is implemented but infact i was mean -local- region detection can be auto in settings
also on ubuntu 20 fails to load library libc.so.6: version 'GLIBC_2.34' not found
also disabling traffic counters and rebuilding nodes didnt fix it: "policy": { "levels": { "0": { "statsUserUplink": false, "statsUserDownlink": false } }, "system": { "statsInboundUplink": false, "statsInboundDownlink": false } }
cd /var/lib/systemd/coredump [root@sys coredump]# ls core.trojan-panel-co.0.6136248ca47b4facb1875bf5f73f88a7.1287219.1705660698000000.lz4 core.trojan-panel-co.0.6136248ca47b4facb1875bf5f73f88a7.1307576.1705661390000000.lz4 core.trojan-panel-co.0.6136248ca47b4facb1875bf5f73f88a7.1662389.1705710699000000.lz4 core.trojan-panel-co.0.6136248ca47b4facb1875bf5f73f88a7.1717215.1705718920000000.lz4 core.trojan-panel-co.0.6136248ca47b4facb1875bf5f73f88a7.2155863.1705769176000000.lz4 core.trojan-panel-co.0.6136248ca47b4facb1875bf5f73f88a7.2482773.1705813579000000.lz4 [root@sys coredump]#