Hi friends
Recently, after a two months of using a thin client as a router, I encountered the problem of 100% processor using, Without any reason. By checking the processes in openwrt, the use of the processor through xray (in passwall app) reaches 100% and as a result the device crashes. I tested with different versions of openwrt, passwall and xray-core, but there was no change. The log file and process screenshot is below.
(The problem occurs only when the Xray is enabled and use it for a few minutes. After that, This trace log is shown and the CPU reaches 100% .)
If you tried OpenWrt versions that were previously working, it might be related to hardware damage (age) as well. Not saying that it is, just raising the possibility.
As a tangential question, what's the WAN speed you're expecting it to handle? I know that the n270 maxes out under 500 MBit/s (before thinking about anything special), but I have no idea how taxing xray and passwall would be to the performance
Yes, I tried OpenWrt versions that were previously worked.
I disabled Wi-Fi and connected the device to the modem through the LAN port, the maximum speed is 20 Mbps.
The problem occurs only when the Xray is enabled and use it for a few minutes. Then, that trace log is shown and use of the processor reaches 100%.
It mentions the network interface's transmit queue timing out. While I'm not sure what this means in practice, maybe try with an external network interface?
It is possible that something in the network chip broke but that is used only under specific conditions. Sorry, can't recommend a device. The stuff i'm using is pretty ancient (less than this eeepc though, hehe) so won't be available off the shelf.
Just checked which network interface is connected (externally) to my Debian server (running on a tablet with a broken display, hehe), it's RTL8153. This physical device is a combo of 4 usb3 ports and ethernet, marketed under "Dodocool" (what a name...). Has been working reliably for years, anyway.
What is xray anyway? Look for loops. There are lots of them in the shell scripts, and would be the first culprit for a runaway process. Some loop that has not found an exit condition.
Create a github issue for this app. ( I don't even know where that would be ... )
I'm not proficient enough with setting up OpenWrt but I suppose you should check which network interfaces are included in your virtual LAN bridge and make sure that wifi is included. Then it should just work (?). Probably you will get more help if asking in the "Installing and using OpenWrt" section of the forum (you are currently in the "For Developers" section).
Xray is a superset of v2ray-core that using it as a VPN server.
but I don't think it's the problem because I never had this problem and I even tested different versions of Xray.