yichya / luci-app-xray

(Almost) full feature Xray client for OpenWrt
Mozilla Public License 2.0
580 stars 433 forks source link

小米ac2100不能运行 #294

Closed lhbdhr closed 1 year ago

lhbdhr commented 1 year ago

系统信息

# cat /etc/os-release
PRETTY_NAME="OpenWrt 22.03.4"
OPENWRT_BOARD="ramips/mt7621"
OPENWRT_ARCH="mipsel_24kc"

结束任务报错

root@2100:/tmp/log# /etc/init.d/xray_fw4 stop
xray[14489]: Resetting dnsmasq and firewall configurations...
xray[14489]: Flushing firewall4 rules...
xray[14489]: Triggering firewall4 restart...
/dev/stdin:1:20-33: Error: No such file or directory
flush set inet fw4 tp_spec_def_gw
                   ^^^^^^^^^^^^^^
/dev/stdin:2:22-35: Error: No such file or directory
add element inet fw4 tp_spec_def_gw { 192.168.31.122 }
                     ^^^^^^^^^^^^^^
transparent-proxy-ipset[14752]: default gateway available at 192.168.31.122

内核日志报错

[ 4453.424717] xray invoked oom-killer: gfp_mask=0x100cca(GFP_HIGHUSER_MOVABLE), order=0, oom_score_adj=0
[ 4453.434311] CPU: 0 PID: 14370 Comm: xray Not tainted 5.10.176 #0
[ 4453.440312] Stack : 00000000 8072f628 809b0000 807cc414 00000000 00000000 00000000 00000000
[ 4453.448707]         00000000 00000000 00000000 00000000 00000000 00000001 83cbdb70 e8077aa2
[ 4453.457108]         83cbdc08 00000000 00000000 83cbda18 00000038 8039e8a4 ffffffea 00000000
[ 4453.465504]         83cbda24 00000c0b 807d4940 ffffffff 83cbdb50 806fe1e4 80000000 80700000
[ 4453.473891]         807cc2f8 00000000 00001000 807cc414 00000018 8040948c 00000000 80990000
[ 4453.482298]         ...
[ 4453.484771] Call Trace:
[ 4453.484799] [<8039e8a4>] 0x8039e8a4
[ 4453.490712] [<8040948c>] 0x8040948c
[ 4453.494210] [<80007b08>] 0x80007b08
[ 4453.497693] [<80007b10>] 0x80007b10
[ 4453.501169] [<803839ac>] 0x803839ac
[ 4453.504649] [<8007ffe4>] 0x8007ffe4
[ 4453.508127] [<80137758>] 0x80137758
[ 4453.511606] [<80137fb8>] 0x80137fb8
[ 4453.515087] [<801389bc>] 0x801389bc
[ 4453.518566] [<801816c8>] 0x801816c8
[ 4453.522061] [<8013403c>] 0x8013403c
[ 4453.525539] [<800184bc>] 0x800184bc
[ 4453.529015] [<80175a00>] 0x80175a00
[ 4453.532531] [<80135f10>] 0x80135f10
[ 4453.536010] [<801316ec>] 0x801316ec
[ 4453.539494] [<80164a64>] 0x80164a64
[ 4453.542974] [<8016a318>] 0x8016a318
[ 4453.546451] [<800639c0>] 0x800639c0
[ 4453.549927] [<80065474>] 0x80065474
[ 4453.553413] [<800189d4>] 0x800189d4
[ 4453.556889] [<800b0e70>] 0x800b0e70
[ 4453.560370] [<8001e008>] 0x8001e008
[ 4453.563861] 
[ 4453.565552] Mem-Info:
[ 4453.568685] active_anon:321 inactive_anon:15648 isolated_anon:0
[ 4453.568685]  active_file:0 inactive_file:185 isolated_file:11
[ 4453.568685]  unevictable:0 dirty:0 writeback:0
[ 4453.568685]  slab_reclaimable:609 slab_unreclaimable:4750
[ 4453.568685]  mapped:35 shmem:304 pagetables:163 bounce:0
[ 4453.568685]  free:4063 free_pcp:76 free_cma:0
[ 4453.599783] Node 0 active_anon:1284kB inactive_anon:62592kB active_file:0kB inactive_file:740kB unevictable:0kB isolated(anon):0kB isolated(file):44kB mapped:140kB dirty:0kB writeback:0kB shmem:1216kB writeback_tmp:0kB kernel_stack:1104kB all_unreclaimable? no
[ 4453.622812] Normal free:16252kB min:16384kB low:20480kB high:24576kB reserved_highatomic:0KB active_anon:1284kB inactive_anon:62592kB active_file:112kB inactive_file:660kB unevictable:0kB writepending:0kB present:131072kB managed:120724kB mlocked:0kB pagetables:652kB bounce:0kB free_pcp:336kB local_pcp:0kB free_cma:0kB
[ 4453.650979] lowmem_reserve[]: 0 0 0
[ 4453.654535] Normal: 180*4kB (UME) 145*8kB (UME) 71*16kB (UME) 35*32kB (UME) 17*64kB (UME) 2*128kB (M) 2*256kB (UM) 2*512kB (ME) 0*1024kB 3*2048kB (UM) 1*4096kB (M) = 17256kB
[ 4453.670198] 477 total pagecache pages
[ 4453.673907] 0 pages in swap cache
[ 4453.677242] Swap cache stats: add 0, delete 0, find 0/0
[ 4453.682515] Free swap  = 0kB
[ 4453.685398] Total swap = 0kB
[ 4453.688281] 32768 pages RAM
[ 4453.691074] 0 pages HighMem/MovableOnly
[ 4453.694940] 2587 pages reserved
[ 4453.698081] Tasks state (memory values in pages):
[ 4453.702813] [  pid  ]   uid  tgid total_vm      rss pgtables_bytes swapents oom_score_adj name
[ 4453.711445] [    687]    81   687      347       28    20480        0             0 ubusd
[ 4453.719662] [    688]     0   688      250        8    20480        0             0 askfirst
[ 4453.728122] [    723]     0   723      279       14    20480        0             0 urngd
[ 4453.736332] [   1050]     0  1050     1054       64    20480        0             0 uhttpd
[ 4453.744618] [   1431]     0  1431      567       78    20480        0             0 rpcd
[ 4453.752730] [   1639]     0  1639      304       12    20480        0             0 dropbear
[ 4453.761158] [   1743]     0  1743      666       14    16384        0             0 hostapd
[ 4453.769519] [   1744]     0  1744      666       13    16384        0             0 wpa_supplicant
[ 4453.778504] [   1764]   101  1764     1129       43    24576        0             0 hostapd
[ 4453.786884] [   1765]   101  1765     1124       36    20480        0             0 wpa_supplicant
[ 4453.795860] [   1808]     0  1808      481       49    20480        0             0 netifd
[ 4453.804155] [   1866]     0  1866      414       30    16384        0             0 odhcpd
[ 4453.812455] [   1930]     0  1930      329       11    16384        0             0 crond
[ 4453.820629] [   2469]     0  2469      666       26    16384        0             0 ntpd
[ 4453.828776] [   2478]   123  2478      328       10    16384        0             0 ntpd
[ 4453.837062] [   3460]     0  3460      328        8    20480        0             0 udhcpc
[ 4453.845516] [   3493]     0  3493      283       14    20480        0             0 odhcp6c
[ 4453.854011] [   3918]     0  3918      351       32    16384        0             0 dropbear
[ 4453.862568] [   3919]     0  3919      332       15    20480        0             0 ash
[ 4453.870668] [  13943]   514 13943      334       15    20480        0             0 logd
[ 4453.878834] [  13944]     0 13944      368       22    20480        0             0 logread
[ 4453.887286] [  14254]     0 14254      666       26    20480        0             0 dnsmasq
[ 4453.895729] [  14271]   453 14271      371       27    16384        0             0 dnsmasq
[ 4453.904118] [  14333]     0 14333   173237    14744   114688        0             0 xray
[ 4453.912240] [  14398]     0 14398      378       62    20480        0             0 dhcpv6.script
[ 4453.921106] [  14404]     0 14404      514       60    16384        0             0 luci
[ 4453.929243] [  14405]     0 14405      333        9    16384        0             0 fw3
[ 4453.937318] [  14406]     0 14406      328        9    20480        0             0 flock
[ 4453.945576] [  14407]     0 14407      495       89    20480        0             0 utpl
[ 4453.953704] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/,task=xray,pid=14333,uid=0
[ 4453.966254] Out of memory: Killed process 14333 (xray) total-vm:692948kB, anon-rss:58976kB, file-rss:0kB, shmem-rss:0kB, UID:0 pgtables:112kB oom_score_adj:0
[ 4506.108311] xray invoked oom-killer: gfp_mask=0x100cca(GFP_HIGHUSER_MOVABLE), order=0, oom_score_adj=0
[ 4506.117746] CPU: 1 PID: 14421 Comm: xray Not tainted 5.10.176 #0
[ 4506.123786] Stack : 00000000 8072f628 809b0000 807cc414 00000000 00000000 00000000 00000000
[ 4506.132216]         00000000 00000000 00000000 00000000 00000000 00000001 87235b70 e8077aa2
[ 4506.140603]         87235c08 00000000 00000000 87235a18 00000038 8039e8a4 ffffffea 00000000
[ 4506.148979]         87235a24 00000c5a 807d4940 ffffffff 87235b50 806fe1e4 80000000 80700000
[ 4506.157360]         80856468 00000056 00001000 807cc414 00000018 8040948c 00000004 80990004
[ 4506.165735]         ...
[ 4506.168182] Call Trace:
[ 4506.168209] [<8039e8a4>] 0x8039e8a4
[ 4506.174118] [<8040948c>] 0x8040948c
[ 4506.177595] [<80007b08>] 0x80007b08
[ 4506.181071] [<80007b10>] 0x80007b10
[ 4506.184550] [<803839ac>] 0x803839ac
[ 4506.188027] [<8007ffe4>] 0x8007ffe4
[ 4506.191506] [<80137758>] 0x80137758
[ 4506.194988] [<80137fb8>] 0x80137fb8
[ 4506.198465] [<801389bc>] 0x801389bc
[ 4506.201949] [<801816c8>] 0x801816c8
[ 4506.205446] [<8013403c>] 0x8013403c
[ 4506.208922] [<800184bc>] 0x800184bc
[ 4506.212401] [<80175a00>] 0x80175a00
[ 4506.215917] [<80135f10>] 0x80135f10
[ 4506.219393] [<8039b878>] 0x8039b878
[ 4506.222874] [<80131348>] 0x80131348
[ 4506.226370] [<80164a64>] 0x80164a64
[ 4506.229850] [<8016a318>] 0x8016a318
[ 4506.233336] [<800639c0>] 0x800639c0
[ 4506.236817] [<80065474>] 0x80065474
[ 4506.240307] [<800189d4>] 0x800189d4
[ 4506.243791] [<8001e008>] 0x8001e008
[ 4506.247286] 
[ 4506.249338] Mem-Info:
[ 4506.251812] active_anon:320 inactive_anon:15793 isolated_anon:0
[ 4506.251812]  active_file:0 inactive_file:13 isolated_file:50
[ 4506.251812]  unevictable:0 dirty:0 writeback:0
[ 4506.251812]  slab_reclaimable:609 slab_unreclaimable:4714
[ 4506.251812]  mapped:15 shmem:304 pagetables:155 bounce:0
[ 4506.251812]  free:4697 free_pcp:86 free_cma:0
[ 4506.282791] Node 0 active_anon:1280kB inactive_anon:63172kB active_file:0kB inactive_file:52kB unevictable:0kB isolated(anon):0kB isolated(file):200kB mapped:60kB dirty:0kB writeback:0kB shmem:1216kB writeback_tmp:0kB kernel_stack:1104kB all_unreclaimable? no
[ 4506.305733] Normal free:18788kB min:16384kB low:20480kB high:24576kB reserved_highatomic:4096KB active_anon:1280kB inactive_anon:63172kB active_file:276kB inactive_file:524kB unevictable:0kB writepending:0kB present:131072kB managed:120724kB mlocked:0kB pagetables:620kB bounce:0kB free_pcp:368kB local_pcp:100kB free_cma:0kB
[ 4506.334344] lowmem_reserve[]: 0 0 0
[ 4506.337883] Normal: 579*4kB (UMEH) 92*8kB (UMEH) 44*16kB (UMEH) 12*32kB (UMEH) 7*64kB (UMEH) 7*128kB (UH) 5*256kB (UMH) 2*512kB (ME) 1*1024kB (M) 1*2048kB (U) 2*4096kB (M) = 19052kB
[ 4506.354195] 375 total pagecache pages
[ 4506.357853] 0 pages in swap cache
[ 4506.361155] Swap cache stats: add 0, delete 0, find 0/0
[ 4506.366386] Free swap  = 0kB
[ 4506.369256] Total swap = 0kB
[ 4506.372150] 32768 pages RAM
[ 4506.374941] 0 pages HighMem/MovableOnly
[ 4506.378757] 2587 pages reserved
[ 4506.381904] Tasks state (memory values in pages):
[ 4506.386592] [  pid  ]   uid  tgid total_vm      rss pgtables_bytes swapents oom_score_adj name
[ 4506.395223] [    687]    81   687      347       27    20480        0             0 ubusd
[ 4506.403392] [    688]     0   688      250        8    20480        0             0 askfirst
[ 4506.411827] [    723]     0   723      279       14    20480        0             0 urngd
[ 4506.419974] [   1050]     0  1050     1054       64    20480        0             0 uhttpd
[ 4506.428226] [   1431]     0  1431      567       78    20480        0             0 rpcd
[ 4506.436350] [   1639]     0  1639      304       12    20480        0             0 dropbear
[ 4506.444811] [   1743]     0  1743      666       14    16384        0             0 hostapd
[ 4506.453160] [   1744]     0  1744      666       13    16384        0             0 wpa_supplicant
[ 4506.462120] [   1764]   101  1764     1156       39    24576        0             0 hostapd
[ 4506.470441] [   1765]   101  1765     1124       38    20480        0             0 wpa_supplicant
[ 4506.479397] [   1808]     0  1808      481       49    20480        0             0 netifd
[ 4506.487653] [   1866]     0  1866      414       30    16384        0             0 odhcpd
[ 4506.495940] [   1930]     0  1930      329       11    16384        0             0 crond
[ 4506.504111] [   2469]     0  2469      666       26    16384        0             0 ntpd
[ 4506.512222] [   2478]   123  2478      328       10    16384        0             0 ntpd
[ 4506.520286] [   3460]     0  3460      328        8    20480        0             0 udhcpc
[ 4506.528537] [   3493]     0  3493      283       13    20480        0             0 odhcp6c
[ 4506.536882] [   3918]     0  3918      351       32    16384        0             0 dropbear
[ 4506.545308] [   3919]     0  3919      332       15    20480        0             0 ash
[ 4506.553316] [  13943]   514 13943      338       26    20480        0             0 logd
[ 4506.561373] [  13944]     0 13944      368       21    20480        0             0 logread
[ 4506.569718] [  14254]     0 14254      666       26    20480        0             0 dnsmasq
[ 4506.578065] [  14271]   453 14271      372       28    16384        0             0 dnsmasq
[ 4506.586408] [  14411]     0 14411   173173    14921   106496        0             0 xray
[ 4506.594487] [  14443]     0 14443      378       63    12288        0             0 dhcpv6.script
[ 4506.603345] [  14449]     0 14449      333        9    20480        0             0 fw3
[ 4506.611316] [  14450]     0 14450      328        9    16384        0             0 flock
[ 4506.619489] [  14451]     0 14451      495       85    20480        0             0 utpl
[ 4506.627569] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/,task=xray,pid=14411,uid=0
[ 4506.640029] Out of memory: Killed process 14411 (xray) total-vm:692692kB, anon-rss:59684kB, file-rss:0kB, shmem-rss:0kB, UID:0 pgtables:104kB oom_score_adj:0

系统日志

ed Apr 19 13:59:57 2023 daemon.info xray[14411]: Xray 1.8.0 (Xray, Penetrates Everything.) OpenWrt (go1.19.8 linux/mipsle)
Wed Apr 19 13:59:57 2023 daemon.info xray[14411]: A unified platform for anti-censorship.
Wed Apr 19 13:59:57 2023 daemon.err xray[14411]: 2023/04/19 05:59:57 Using confdir from arg: /var/etc/xray
Wed Apr 19 13:59:57 2023 daemon.info xray[14411]: 2023/04/19 05:59:57 [Info] infra/conf/serial: Reading config: /var/etc/xray/config.json
Wed Apr 19 14:00:10 2023 daemon.info xray[14411]: 2023/04/19 06:00:09 [Debug] app/log: Logger started
Wed Apr 19 14:00:12 2023 daemon.info xray[14411]: 2023/04/19 06:00:12 [Info] app/dns: DNS: created UDP client initialized for 114.114.114.114:53
Wed Apr 19 14:00:13 2023 daemon.info xray[14411]: 2023/04/19 06:00:13 [Info] app/dns: DNS: created UDP client initialized for 8.8.8.8:53
Wed Apr 19 14:00:14 2023 daemon.info xray[14411]: 2023/04/19 06:00:14 [Info] app/dns: DNS: created UDP client initialized for 1.1.1.1:53
Wed Apr 19 14:00:19 2023 daemon.info xray[14411]: 2023/04/19 06:00:19 [Debug] app/router: MphDomainMatcher is enabled for 65511 domain rule(s)
Wed Apr 19 14:00:19 2023 daemon.info xray[14411]: 2023/04/19 06:00:19 [Debug] app/router: MphDomainMatcher is enabled for 644 domain rule(s)
Wed Apr 19 14:00:21 2023 daemon.info xray[14411]: 2023/04/19 06:00:21 [Debug] app/router: MphDomainMatcher is enabled for 34141 domain rule(s)
Wed Apr 19 14:00:22 2023 daemon.info xray[14411]: 2023/04/19 06:00:22 [Debug] app/router: MphDomainMatcher is enabled for 34141 domain rule(s)
Wed Apr 19 14:00:28 2023 daemon.info xray[14411]: 2023/04/19 06:00:28 [Debug] app/stats: create new counter inbound>>>http_inbound>>>traffic>>>uplink
Wed Apr 19 14:00:31 2023 daemon.info xray[14411]: 2023/04/19 06:00:30 [Debug] app/stats: create new counter inbound>>>http_inbound>>>traffic>>>downlink
Wed Apr 19 14:00:34 2023 daemon.info xray[14411]: 2023/04/19 06:00:32 [Debug] app/proxyman/inbound: creating stream worker on 0.0.0.0:1083
Wed Apr 19 14:00:37 2023 daemon.info xray[14411]: 2023/04/19 06:00:37 [Debug] app/stats: create new counter inbound>>>tproxy_tcp_inbound>>>traffic>>>uplink
Wed Apr 19 14:00:37 2023 daemon.info xray[14411]: 2023/04/19 06:00:37 [Debug] app/stats: create new counter inbound>>>tproxy_tcp_inbound>>>traffic>>>downlink
Wed Apr 19 14:00:39 2023 daemon.info xray[14411]: 2023/04/19 06:00:39 [Debug] app/proxyman/inbound: creating stream worker on 0.0.0.0:1080
Wed Apr 19 14:00:42 2023 daemon.info xray[14411]: 2023/04/19 06:00:42 [Debug] app/stats: create new counter inbound>>>tproxy_udp_inbound>>>traffic>>>uplink
Wed Apr 19 14:00:44 2023 kern.warn kernel: [ 4506.108311] xray invoked oom-killer: gfp_mask=0x100cca(GFP_HIGHUSER_MOVABLE), order=0, oom_score_adj=0
Wed Apr 19 14:00:44 2023 kern.warn kernel: [ 4506.117746] CPU: 1 PID: 14421 Comm: xray Not tainted 5.10.176 #0
Wed Apr 19 14:00:44 2023 kern.info kernel: [ 4506.586408] [  14411]     0 14411   173173    14921   106496        0             0 xray
Wed Apr 19 14:00:44 2023 kern.info kernel: [ 4506.627569] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/,task=xray,pid=14411,uid=0
Wed Apr 19 14:00:44 2023 kern.err kernel: [ 4506.640029] Out of memory: Killed process 14411 (xray) total-vm:692692kB, anon-rss:59684kB, file-rss:0kB, shmem-rss:0kB, UID:0 pgtables:104kB oom_score_adj:0
Wed Apr 19 14:00:49 2023 daemon.info xray[14452]: Xray 1.8.0 (Xray, Penetrates Everything.) OpenWrt (go1.19.8 linux/mipsle)
Wed Apr 19 14:00:49 2023 daemon.info xray[14452]: A unified platform for anti-censorship.
Wed Apr 19 14:00:49 2023 daemon.err xray[14452]: 2023/04/19 06:00:49 Using confdir from arg: /var/etc/xray
Wed Apr 19 14:00:49 2023 daemon.info xray[14452]: 2023/04/19 06:00:49 [Info] infra/conf/serial: Reading config: /var/etc/xray/config.json
Wed Apr 19 14:01:02 2023 daemon.info xray[14452]: 2023/04/19 06:01:02 [Debug] app/log: Logger started
Wed Apr 19 14:01:05 2023 daemon.info xray[14452]: 2023/04/19 06:01:05 [Info] app/dns: DNS: created UDP client initialized for 114.114.114.114:53
Wed Apr 19 14:01:06 2023 daemon.info xray[14452]: 2023/04/19 06:01:06 [Info] app/dns: DNS: created UDP client initialized for 8.8.8.8:53
Wed Apr 19 14:01:07 2023 daemon.info xray[14452]: 2023/04/19 06:01:07 [Info] app/dns: DNS: created UDP client initialized for 1.1.1.1:53
Wed Apr 19 14:01:13 2023 daemon.info xray[14452]: 2023/04/19 06:01:13 [Debug] app/router: MphDomainMatcher is enabled for 65511 domain rule(s)
Wed Apr 19 14:01:13 2023 daemon.info xray[14452]: 2023/04/19 06:01:13 [Debug] app/router: MphDomainMatcher is enabled for 644 domain rule(s)
Wed Apr 19 14:01:24 2023 daemon.info xray[14452]: 2023/04/19 06:01:24 [Debug] app/router: MphDomainMatcher is enabled for 34141 domain rule(s)
Wed Apr 19 14:01:32 2023 daemon.info xray[14452]: 2023/04/19 06:01:29 [Debug] app/router: MphDomainMatcher is enabled for 34141 domain rule(s)
Wed Apr 19 14:01:37 2023 user.warn xray[14489]: Resetting dnsmasq and firewall configurations...
Wed Apr 19 14:01:38 2023 daemon.info xray[14452]: 2023/04/19 06:01:38 [Debug] app/stats: create new counter inbound>>>http_inbound>>>traffic>>>uplink
Wed Apr 19 14:01:38 2023 daemon.info xray[14452]: 2023/04/19 06:01:38 [Debug] app/stats: create new counter inbound>>>http_inbound>>>traffic>>>downlink
Wed Apr 19 14:01:38 2023 daemon.info xray[14452]: 2023/04/19 06:01:38 [Debug] app/proxyman/inbound: creating stream worker on 0.0.0.0:1083
Wed Apr 19 14:01:41 2023 daemon.info xray[14452]: 2023/04/19 06:01:40 [Debug] app/stats: create new counter inbound>>>tproxy_tcp_inbound>>>traffic>>>uplink
Wed Apr 19 14:01:41 2023 daemon.info xray[14452]: 2023/04/19 06:01:40 [Debug] app/stats: create new counter inbound>>>tproxy_tcp_inbound>>>traffic>>>downlink
Wed Apr 19 14:01:41 2023 daemon.info xray[14452]: 2023/04/19 06:01:40 [Debug] app/proxyman/inbound: creating stream worker on 0.0.0.0:1080
Wed Apr 19 14:01:41 2023 daemon.info xray[14452]: 2023/04/19 06:01:40 [Debug] app/stats: create new counter inbound>>>tproxy_udp_inbound>>>traffic>>>uplink
Wed Apr 19 14:01:41 2023 daemon.info xray[14452]: 2023/04/19 06:01:40 [Debug] app/stats: create new counter inbound>>>tproxy_udp_inbound>>>traffic>>>downlink
Wed Apr 19 14:01:41 2023 daemon.info xray[14452]: 2023/04/19 06:01:40 [Debug] app/stats: create new counter inbound>>>socks_inbound>>>traffic>>>uplink
Wed Apr 19 14:01:41 2023 daemon.info xray[14452]: 2023/04/19 06:01:40 [Debug] app/stats: create new counter inbound>>>socks_inbound>>>traffic>>>downlink
Wed Apr 19 14:01:41 2023 daemon.info xray[14452]: 2023/04/19 06:01:40 [Debug] app/proxyman/inbound: creating stream worker on 0.0.0.0:1082
Wed Apr 19 14:01:42 2023 daemon.info xray[14452]: 2023/04/19 06:01:42 [Debug] app/stats: create new counter inbound>>>dns_server_inbound_5300>>>traffic>>>uplink
Wed Apr 19 14:01:42 2023 daemon.info xray[14452]: 2023/04/19 06:01:42 [Debug] app/stats: create new counter inbound>>>dns_server_inbound_5300>>>traffic>>>downlink
Wed Apr 19 14:01:44 2023 daemon.info xray[14452]: 2023/04/19 06:01:43 [Debug] app/proxyman/inbound: creating stream worker on 0.0.0.0:5300
Wed Apr 19 14:01:46 2023 daemon.info xray[14452]: 2023/04/19 06:01:45 [Debug] app/stats: create new counter inbound>>>dns_server_inbound_5301>>>traffic>>>uplink
Wed Apr 19 14:01:46 2023 daemon.info xray[14452]: 2023/04/19 06:01:46 [Debug] app/stats: create new counter inbound>>>dns_server_inbound_5301>>>traffic>>>downlink
Wed Apr 19 14:01:47 2023 daemon.info xray[14452]: 2023/04/19 06:01:47 [Debug] app/proxyman/inbound: creating stream worker on 0.0.0.0:5301
Wed Apr 19 14:01:49 2023 daemon.info xray[14452]: 2023/04/19 06:01:49 [Debug] app/stats: create new counter inbound>>>dns_server_inbound_5302>>>traffic>>>uplink
Wed Apr 19 14:01:49 2023 daemon.info xray[14452]: 2023/04/19 06:01:49 [Debug] app/stats: create new counter inbound>>>dns_server_inbound_5302>>>traffic>>>downlink
Wed Apr 19 14:01:49 2023 daemon.info xray[14452]: 2023/04/19 06:01:49 [Debug] app/proxyman/inbound: creating stream worker on 0.0.0.0:5302
Wed Apr 19 14:01:49 2023 daemon.info xray[14452]: 2023/04/19 06:01:49 [Debug] app/stats: create new counter inbound>>>dns_server_inbound_5303>>>traffic>>>uplink
Wed Apr 19 14:01:49 2023 daemon.info xray[14452]: 2023/04/19 06:01:49 [Debug] app/stats: create new counter inbound>>>dns_server_inbound_5303>>>traffic>>>downlink
Wed Apr 19 14:01:49 2023 daemon.info xray[14452]: 2023/04/19 06:01:49 [Debug] app/proxyman/inbound: creating stream worker on 0.0.0.0:5303
Wed Apr 19 14:01:49 2023 daemon.info xray[14452]: 2023/04/19 06:01:49 [Debug] app/stats: create new counter inbound>>>api>>>traffic>>>uplink
Wed Apr 19 14:01:49 2023 daemon.info xray[14452]: 2023/04/19 06:01:49 [Debug] app/stats: create new counter inbound>>>api>>>traffic>>>downlink
Wed Apr 19 14:01:49 2023 daemon.info xray[14452]: 2023/04/19 06:01:49 [Debug] app/proxyman/inbound: creating stream worker on 127.0.0.1:8080
Wed Apr 19 14:01:49 2023 daemon.info xray[14452]: 2023/04/19 06:01:49 [Debug] app/stats: create new counter outbound>>>direct>>>traffic>>>uplink
Wed Apr 19 14:01:49 2023 daemon.info xray[14452]: 2023/04/19 06:01:49 [Debug] app/stats: create new counter outbound>>>direct>>>traffic>>>downlink
Wed Apr 19 14:01:50 2023 daemon.info xray[14452]: 2023/04/19 06:01:50 [Debug] app/stats: create new counter outbound>>>dns_server_outbound>>>traffic>>>uplink
Wed Apr 19 14:01:50 2023 daemon.info xray[14452]: 2023/04/19 06:01:50 [Debug] app/stats: create new counter outbound>>>dns_server_outbound>>>traffic>>>downlink
Wed Apr 19 14:01:50 2023 daemon.info xray[14452]: 2023/04/19 06:01:50 [Debug] app/stats: create new counter outbound>>>blackhole_outbound>>>traffic>>>uplink
Wed Apr 19 14:01:50 2023 daemon.info xray[14452]: 2023/04/19 06:01:50 [Debug] app/stats: create new counter outbound>>>blackhole_outbound>>>traffic>>>downlink
Wed Apr 19 14:01:50 2023 daemon.info xray[14452]: 2023/04/19 06:01:50 [Debug] app/stats: create new counter outbound>>>tcp_outbound>>>traffic>>>uplink
Wed Apr 19 14:01:50 2023 daemon.info xray[14452]: 2023/04/19 06:01:50 [Debug] app/stats: create new counter outbound>>>tcp_outbound>>>traffic>>>downlink
Wed Apr 19 14:01:50 2023 daemon.info xray[14452]: 2023/04/19 06:01:50 [Debug] app/stats: create new counter outbound>>>udp_outbound>>>traffic>>>uplink
Wed Apr 19 14:01:50 2023 daemon.info xray[14452]: 2023/04/19 06:01:50 [Debug] app/stats: create new counter outbound>>>udp_outbound>>>traffic>>>downlink
Wed Apr 19 14:01:50 2023 daemon.info xray[14452]: 2023/04/19 06:01:50 [Info] transport/internet/tcp: listening TCP on 127.0.0.1:8080
Wed Apr 19 14:01:50 2023 daemon.info xray[14452]: 2023/04/19 06:01:50 [Info] transport/internet/tcp: listening TCP on 0.0.0.0:1080
Wed Apr 19 14:01:50 2023 daemon.info xray[14452]: 2023/04/19 06:01:50 [Info] transport/internet/tcp: listening TCP on 0.0.0.0:5300
Wed Apr 19 14:01:50 2023 daemon.info xray[14452]: 2023/04/19 06:01:50 [Info] transport/internet/udp: listening UDP on 0.0.0.0:5300
Wed Apr 19 14:01:50 2023 daemon.info xray[14452]: 2023/04/19 06:01:50 [Info] transport/internet/tcp: listening TCP on 0.0.0.0:5302
Wed Apr 19 14:01:50 2023 daemon.info xray[14452]: 2023/04/19 06:01:50 [Info] transport/internet/udp: listening UDP on 0.0.0.0:5302
Wed Apr 19 14:01:50 2023 daemon.info xray[14452]: 2023/04/19 06:01:50 [Info] transport/internet/tcp: listening TCP on 0.0.0.0:5301
Wed Apr 19 14:01:50 2023 daemon.info xray[14452]: 2023/04/19 06:01:50 [Info] transport/internet/udp: listening UDP on 0.0.0.0:5301
Wed Apr 19 14:01:50 2023 daemon.info xray[14452]: 2023/04/19 06:01:50 [Info] transport/internet/tcp: listening TCP on 0.0.0.0:5303
Wed Apr 19 14:01:50 2023 daemon.info xray[14452]: 2023/04/19 06:01:50 [Info] transport/internet/udp: listening UDP on 0.0.0.0:5303
Wed Apr 19 14:01:50 2023 daemon.info xray[14452]: 2023/04/19 06:01:50 [Info] transport/internet/tcp: listening TCP on 0.0.0.0:1083
Wed Apr 19 14:01:50 2023 daemon.info xray[14452]: 2023/04/19 06:01:50 [Info] transport/internet/udp: listening UDP on 0.0.0.0:1081
Wed Apr 19 14:01:50 2023 daemon.info xray[14452]: 2023/04/19 06:01:50 [Info] transport/internet/tcp: listening TCP on 0.0.0.0:1082
Wed Apr 19 14:01:50 2023 daemon.info xray[14452]: 2023/04/19 06:01:50 [Info] transport/internet/udp: listening UDP on 0.0.0.0:1082
Wed Apr 19 14:01:58 2023 kern.warn kernel: [ 4579.286931] xray invoked oom-killer: gfp_mask=0x100cca(GFP_HIGHUSER_MOVABLE), order=0, oom_score_adj=0
Wed Apr 19 14:01:58 2023 kern.warn kernel: [ 4579.296285] CPU: 2 PID: 14456 Comm: xray Not tainted 5.10.176 #0
Wed Apr 19 14:01:58 2023 kern.info kernel: [ 4579.748896] [  14452]     0 14452   173173    14642   106496        0             0 xray
Wed Apr 19 14:01:58 2023 kern.info kernel: [ 4579.757089] [  14489]     0 14489      382       65    20480        0             0 xray_fw4
Wed Apr 19 14:01:58 2023 kern.info kernel: [ 4579.790656] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/,task=xray,pid=14452,uid=0
Wed Apr 19 14:01:58 2023 kern.err kernel: [ 4579.803171] Out of memory: Killed process 14452 (xray) total-vm:692692kB, anon-rss:58568kB, file-rss:0kB, shmem-rss:0kB, UID:0 pgtables:104kB oom_score_adj:0
Wed Apr 19 14:02:00 2023 user.warn xray[14489]: Flushing firewall4 rules...
Wed Apr 19 14:02:00 2023 user.warn xray[14489]: Triggering firewall4 restart...

问题

我自己提炼到两句重点,是因为超出内存了吗?

CPU: 0 PID: 14370 Comm: xray Not tainted 5.10.176 #0
Out of memory: Killed process 14333 (xray) total-vm:692948kB, anon-rss:58976kB, file-rss:0kB, shmem-rss:0kB, UID:0 pgtables:112kB oom_score_adj:0
yichya commented 1 year ago

我自己提炼到两句重点,是因为超出内存了吗?

是的,oom kill 了。128MB 内存想跑 Xray 的话,不是做不到,但确实会比较困难。。。

lhbdhr commented 1 year ago

好的,感谢回复。