-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
High CPU usage by tailscaled (top
reports 197%)
#10954
Comments
top
reports 197%)
Hi, Thanks for your report. I've flagged this with the relevant team internally. |
I've just hit what I believe is the same issue: 1600% CPU usage (i.e. every core pegged) with
|
I may have run into this as well. The issue seems to stop when I disable "MagicDNS". I have a local AdGuard DNS server instead of public DNS servers on my network, not sure if that's related. If I don't disable MagicDNS then it just sits at 197% CPU usage for me as well. |
i experience exactly the same behavior. i run tailscale on a qnap 251+ nas and everything works really great. I have deployed several applications via Docker (Container Station) and can access them from anywhere outside the home network via tailscale. To deploy Vaultwarden via https in my tailnet, I ran the following command (i defined 2284 as the host port in the docker compose file of vaultwarden): tailscale serve https:2284 / 127.0.0.1:2284 The CPU load of the entire NAS then increases to 97%. As soon as I stop and restart tailscaled, the service is back to a few percent. i also run a pi.hole in my network, but on a standalone raspberry pi, which is not (yet) in the tailnet. |
That sounds very similar. So this thread has been open for awhile now; any
suggestions on how to make progress?
…On Tue, Apr 16, 2024 at 8:40 AM Lukas ***@***.***> wrote:
i experience exactly the same behavior. i run tailscale on a qnap 251+ nas
and everything works really great. I have deployed several applications via
Docker (Container Station) and can access them from anywhere outside the
home network via tailscale. To deploy Vaultwarden via https in my tailnet,
I ran the following command (i defined 2284 as the host port in the docker
compose file of vaultwarden):
tailscale serve https:2284 / 127.0.0.1:2284
The CPU load of the entire NAS then increases to 97%. As soon as I stop
and restart tailscaled, the service is back to a few percent.
i also run a pi.hole in my network, but on a standalone raspberry pi,
which is not (yet) in the tailnet.
—
Reply to this email directly, view it on GitHub
<#10954 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABVHNR6FMXECD35T4O67KTY5TBVLAVCNFSM6AAAAABCMICVJ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJYGM2DGMZVGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I am having problems with two types of my servers. I run this commands to start tailscale OCI Instance On tailscale web, subnet routes are switched off for all machines |
@colaH16: Can you provide some more information - I'm currently at a loss as far as the information in your post is concerned. How exactly is your tailscale situation related to this problem? addendum to my post: after I executed the serve command, the CPU load increased to almost 100% as usual. I didn't deactivate the serve by "off" afterwards, but stopped the tailscale app on the qnap nas and started it again. Now tailscaled is running with "normal" CPU load (0.5-2%) and the serve is still active. if you want me to provide any logs, please let me know. However, I currently don't know how exactly I can read the tailscale logs on the qnap device. btw: I currently see no effects on the pihole, whose logs I view simultaneously |
@lucollab Pinging between tailscale servers sometimes results in a time out.
|
I have similar issues after using tailscale funnel |
I'm having a similar issue on my VPS (using funnel). Did anyone find a solution? |
no. I just limit cpu by linux systemd service file |
I switched to cloudflare tunnels. It's also free for individuals and besides not having this issue, they have some other advantages. |
This works beautifully, much faster too. Thanks! |
I’m also running into this issue. Maybe it has to do with another device on the tailnet being a subnet router? I couldn’t even connect to the LAN IP of my Qnap until I used the —accept-routes=false flag. |
I am having the same issue when I use
|
I have met this problem, too. I run And few hours later, my device shutted down because tailscale makes a high temprature. When I found it was shutting down, I restarted it and ran |
I think I may meet the same issue on my Debian VPS, the CPU usage gets high once I switch network traffic to Tailscale |
also seeing this on one of my ubuntu vms running in virtualbox is there a way to get this investigated i can provide any logs or details needed. |
I'm also experiencing this on several VMs, including AWS EC2 instances. @catzkorn any updates from the team? |
Happened for me after using tailscale serve |
Similar issue here, I am running Tailscale on pfSense Plus and getting dismal throughput, noticed the application is hogging all the CPU PID USERNAME PRI NICE SIZE RES STATE TIME WCPU COMMAND pfBlocker is off. I out this on the firewall so I could contact IOT devices in my network remotely, so I am using the Gateway setting so local subnets are available. Not sure what to do other than ditch Tailscale (which would be a shame as it has some nice features). |
I had both Tailscale and ZeroTier installed with routing enabled on the same computer. Somehow, both programs were using excessive CPU time. After disabling ZeroTier, Tailscale returned to normal :) |
Running tailscale in Alpine on Proxmox and maybe running into a similar issue. I recently upgraded from
Unsure why that's set...maybe default for Alpine? So I changed that and tried to |
What is the issue?
After briefly using
tailscale serve
(but turning it off) I am seeing CPU in excess of 100% on the Linux server (Google GCP virtual machine running Debian)Steps to reproduce
tailscale serve localhost:2112 tailscale serve localhost:2112 off tailscale serve status mrisher@weaviate:~$ sudo tailscale serve status No serve config
Are there any recent changes that introduced the issue?
Turning serve on and off? I am using this machine as an Exit node, but for minimal traffic (just accessing a web-based code editor, Google Colab)
OS
Linux
OS version
Debian GNU/Linux 11 (bullseye)
Tailscale version
1.58.2 tailscale commit: 6a2a8457f0d62c775bfee3e350d2b34d85eda0f5 other commit: 8c7d4563e46a1856053912ac067fc5036c2d2b3e go version: go1.21.5
Other software
Weaviate 1.23.0 is running on the same server;
top
reports its CPU at 1.3%Bug report
BUG-71075528b847dd4e833cbc922e417037397f623d21ad382a4496771cd49c8bfa-20240126143412Z-034be10ca854edd3
The text was updated successfully, but these errors were encountered: