@Shadow@lemmy.ca
@Shadow@lemmy.ca avatar

Shadow

@Shadow@lemmy.ca

Infrastructure nerd, gamer, and Lemmy.ca maintainer

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Auto kill memory leaking processes before swap death loop

I’m using linux mint 21.3, and a process (brave aka chrome) sometimes memory leaking, so eats all the RAM, and then linux goes into swap death loop, when everything freezes (sometimes the mouse cursor is moving), and nothing can’t be done, i can just see the HDD led blinking, and do a reset. Is there a way to make the system...

Shadow,
@Shadow@lemmy.ca avatar

Just turn off swap? You don’t really need it, and the kernel wiil just oom kill without it.

Shadow,
@Shadow@lemmy.ca avatar

Well that’s technically correct, but if you’re so dependent on disk cache for system performance that you can’t live without it then you really need to look at doing an upgrade.

When a box swap deaths, it usually struggles to actually fill swap enough to have the kernel still OOM kill it at any point. Generally the massive performance impact of swapping just slows the app down to the point of being useless, along with the entire rest of the box. Disk cache should not be a concern during these abnormal events.

Shadow,
@Shadow@lemmy.ca avatar

Self hosting email is even more of a pain.

Shadow,
@Shadow@lemmy.ca avatar

What’s racist about that? en.wikipedia.org/wiki/Ace_of_spades doesn’t mention anything obvious about racist connotations. It just seems like they legit thought it was that song?

Shadow,
@Shadow@lemmy.ca avatar

It takes a bit of effort to find these two pages talking about that:

Even urban dictionary says it’s not really used today, meanwhile there’s a very famous classic rock song called Ace of Spades.

I would encourage you to consider that OP didn’t have any malicious intent and was likely completely unaware of the derogatory meaning of the word, they also don’t seem to have any other troublesome posts in their comment history. Banning them seems like an overreaction and likely not conducive to fostering a community here, but it’s your call.

Shadow,
@Shadow@lemmy.ca avatar

A lot of reasonably competent geeks just never get deep into networking, and VPNs can be overwhelming. It doesn’t really help that for a long time it was all IPSec which basically you need to learn voodoo to manage. Thankfully we have much better tools now, but it’s still just a tech layer that many people don’t touch frequently.

Shadow,
@Shadow@lemmy.ca avatar

If you haven’t seen this commercial from an eon ago: youtu.be/Z8yW5cyXXRc

Shadow,
@Shadow@lemmy.ca avatar

Did you enable the route in the admin web ui?

Shadow,
@Shadow@lemmy.ca avatar

That should be all that’s required. Are you using ACLs? If so you need to provide access to the subnet router as well as a rule to the IP behind it

Shadow,
@Shadow@lemmy.ca avatar

Can your nodes ping each other on the tailscale ips? Check tailscale status and make sure the nodes see each other listed there.

Try tailscale ping 1.2.3.4 with the internal IP addresses and see what message it gives you.

tailscale debug netmap is useful to make sure your clients are seeing the routes that headscale pushes.

Shadow,
@Shadow@lemmy.ca avatar

Relay “ams” means you’re using tailscales DERP node in amsterdam, this is expected if you don’t have direct connectivity through your firewall. Since you opened the ports that’s unusual and worth looking into, but I’d worry about that after you get basic connectivity.

So to confirm your behavior, you can tailscale ping each other fine and tailscale ping to the internal network. You cannot however ping from the OS to the remote internal network?

Have you checked your routing tables to make sure the tailscale client added the route properly?

Also have you checked your firewall rules? If you’re using ipfw or something, try just turning off iptables briefly and see if that lets you ping through.

Shadow,
@Shadow@lemmy.ca avatar

How do I do this?

Run ip route show table all

I would expect to see a line like:


<span style="color:#323232;">192.168.178.0/24 dev tailscale0 table 52
</span>

Out of curiosity on a remote node do tcpdump -i tailscale0 -n icmp and then do a ping from the other side, does tcpdump see the icmp packets come in?

Shadow,
@Shadow@lemmy.ca avatar

The tailscale client should have created an interface, but I’ve never used it on a box also running wg. You don’t have a tailscale specific interface in ip addr show at all? That’s… odd.

Do you have a device at /dev/net/tun?

Shadow,
@Shadow@lemmy.ca avatar

That’s not really correct…

  1. Yes some phones only support frequencies, but modern phones pretty much support everything. You need to validate the carrier and phone you choose are compatible, but odds are they will be. It’s not a region lock, it’s just a limit on the radio frequencies they support.
  2. This is carrier locking, not region locking. A phone bought on a discount from carrier X will be locked so you can’t stop paying them and just move to carrier Y.
  3. This is done at the play store / apple store level for specifics apps that are banned or not available in a location. The code for this is not on your device, and you can sideload to get around it.

Tldr: make sure the phone supports the frequency of the carrier that you plan to use, and that its not been carrier locked. If it is, you can probably buy an unlock code online. Then you’re golden.

5 seconds on Google answered your question though op. New phones from Samsung are region locked until you make a 5 minute phone call in the source country. That way people can’t buy phones in cheap countries and mail them out. This seems fairly new, I’d never heard of it until now and I’ve imported phones in the past.

Shadow,
@Shadow@lemmy.ca avatar

Why Bluetooth?

I’d do something with zigbee and home assistant. Plenty of cheap zigbee buttons can be found on aliexpress

Shadow,
@Shadow@lemmy.ca avatar

I live near one of the major station projects and I can definitely understand all the criticism from the local businesses, foot traffic is heavily impacted.

Still worth it in the long run though.

Shadow,
@Shadow@lemmy.ca avatar

I almost quit the show when she was initially stabbed.

Moderator question

I’m the original mod and creator of this ‘sub lemmy’ lemmy.ca/c/leaf_nation. The other mod requested approval from Lemmy.ca admins to take over the account in the past. However, he hasn’t been active for at least 3 months in this instance, and he/she even added a bot to the account. I’m applying to have him removed as...

Shadow,
@Shadow@lemmy.ca avatar

Request granted!

If anyone has any specific concerns about this that aren’t related to the users political views, please feel free to reach out.

Shadow,
@Shadow@lemmy.ca avatar

I don’t agree with them, but I don’t think lemmy.ca should be in the business of deciding who and who can contribute here based on their political views. Plus it’s an NHL community they’re requesting, not a political one.

Shadow,
@Shadow@lemmy.ca avatar

Unfortunately lemmy doesn’t really give us a lot of tools to figure this out. It doesn’t log any IPs, and we purposefully don’t go above and beyond on logging from the server side.

Shadow,
@Shadow@lemmy.ca avatar

FYI we’re not accepting donations yet, but it’s coming very soon! The balls are in motion to get that going, but probably not by the end of this month. Following for sure.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines