There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

slrpnk.net

Rustmilian , (edited ) to linux in My /var/tmp folder is endlessly stacking up on "container_images_storage_xxxxxxxxxx" folders?
@Rustmilian@lemmy.world avatar

In any case, it’s the temporary file directory so it should be fine to delete them manually.
Just make sure that podman isn’t running while you’re deleting them, assuming it is podman.

Sunny OP ,

which is what I am doing, but its constantly being refilled… i delete them now, and they’re back again tomorrow…

FigMcLargeHuge ,

Set up a cron job to run every hour that deletes them if they are older than 60 mins. Eg:
0 * * * * find /var/tmp -type d -mmin +60 -exec rm -rf {} ;

Sunny OP ,

I guess I might do that, considering im not finding the root cause for what is happening.

gomp , to linux in My /var/tmp folder is endlessly stacking up on "container_images_storage_xxxxxxxxxx" folders?

No idea but I found this: github.com/containers/podman/issues/20839

Sunny OP ,

ouh, nice find! when I do podman info i do fine one line that says

imageCopyTmpDir: /var/tmp

so this must be it? I have had one distrobox set up using boxbuddy, could that be it?

atzanteol ,

Give this a go:


<span style="color:#323232;">podman system prune
</span>

See if it frees up any space. But it does seem like you’re running containers (which makes sense given you’re on an immutable distro) so I would expect to be using lots of temporary space for container images.

Sunny OP , (edited )

right so podman system prune does save some space, but not much. I still see the folders popping in right after having used the command. Also podman ps --all doesnt list a single container :<

atzanteol ,

My guess is that you’re using some other form of containers then, there are several. It’s a common practice with immutable distros though I don’t know much about bazzite itself.

Are these files large? Are they causing a problem? Growing without end? Or just “sitting there” and you’re wondering why?

Sunny OP ,

Growing without and end, each file varies in size, one being bigger than the other, as I wrote in the description of the post. They will continue to stack up until it fills my entire 1TB SSD, then KDE will complain i have no storage left.

I dont have docker installed and Podman ps --all says I have no containers… So im kind of lost at sea with this one.

atzanteol ,

Those aren’t the only containers. It could be containrd, lxc, etc.

One thing that might help track it down could be running sudo lsof | grep ‘/var/tmp’. If any of those files are currently opened it should list the process that hold the file handle.

“lsof” is “list open files”. Run without parameters it just lists everything.

Sunny OP ,

Thanks for helping out! the command u gave me, plus opening one of the files gives the following output, I dont really know what to make of it;


<span style="color:#323232;">buzz@fedora:~$ sudo lsof </span><span style="font-weight:bold;color:#a71d5d;">| </span><span style="color:#323232;">grep </span><span style="color:#183691;">'/var/tmp/'
</span><span style="color:#323232;">lsof: WARNING: can</span><span style="color:#183691;">'t stat() fuse.portal file system /run/user/1000/doc
</span><span style="color:#183691;">      Output information may be incomplete.
</span><span style="color:#183691;">podman    10445                            buzz   15w      REG               0,41   867465454    2315172 /var/tmp/container_images_storage1375523811/1
</span><span style="color:#183691;">podman    10445 10446 podman               buzz   15w      REG               0,41   867399918    2315172 /var/tmp/container_images_storage1375523811/1
</span><span style="color:#183691;">podman    10445 10447 podman               buzz   15w      REG               0,41   867399918    2315172 /var/tmp/container_images_storage1375523811/1
</span><span style="color:#183691;">podman    10445 10448 podman               buzz   15w      REG               0,41   867399918    2315172 /var/tmp/container_images_storage1375523811/1
</span><span style="color:#183691;">podman    10445 10449 podman               buzz   15w      REG               0,41   867399918    2315172 /var/tmp/container_images_storage1375523811/1
</span><span style="color:#183691;">podman    10445 10450 podman               buzz   15w      REG               0,41   867416302    2315172 /var/tmp/container_images_storage1375523811/1
</span><span style="color:#183691;">podman    10445 10451 podman               buzz   15w      REG               0,41   867416302    2315172 /var/tmp/container_images_storage1375523811/1
</span><span style="color:#183691;">podman    10445 10452 podman               buzz   15w      REG               0,41   867416302    2315172 /var/tmp/container_images_storage1375523811/1
</span><span style="color:#183691;">podman    10445 10453 podman               buzz   15w      REG               0,41   867432686    2315172 /var/tmp/container_images_storage1375523811/1
</span><span style="color:#183691;">podman    10445 10454 podman               buzz   15w      REG               0,41   867432686    2315172 /var/tmp/container_images_storage1375523811/1
</span><span style="color:#183691;">podman    10445 10455 podman               buzz   15w      REG               0,41   867432686    2315172 /var/tmp/container_images_storage1375523811/1
</span><span style="color:#183691;">
</span><span style="color:#183691;">continues...
</span>
atzanteol ,

Aha! Looks like it is podman then.

So - there are a few different types of resources podman manages.

  • containers - These are instances of an image and the thing that “runs”. podman container ls
  • images - These are disk images (actually multiple but don’t worry about that) that are used to run a container. podman image ls
  • volumes - These are persistent storage that can be used between runs for containers since they are often ephemeral. podman volume ls

When you do a “prune” it only removes resources that aren’t in use. It could be that you have some container that references a volume that keeps it around. Maybe there’s a process that spins up and runs the container on a schedule, dunno. The above podman commands might help find a name of something that can be helpful.

Sunny OP ,

aha! Found three volumes! had not checked volumes uptil now, frankly never used podman so this is all new to me… Using podman inspect volume gives me this on the first volume;


<span style="color:#62a35c;">[
</span><span style="color:#323232;">     {
</span><span style="color:#323232;">          </span><span style="color:#183691;">"Name"</span><span style="color:#323232;">: </span><span style="color:#183691;">"e22436bd2487a197084decd0383a32a39be8a4fcb1ded6a05721c2a7363f43c8"</span><span style="color:#323232;">,
</span><span style="color:#323232;">          </span><span style="color:#183691;">"Driver"</span><span style="color:#323232;">: </span><span style="color:#183691;">"local"</span><span style="color:#323232;">,
</span><span style="color:#323232;">          </span><span style="color:#183691;">"Mountpoint"</span><span style="color:#323232;">: </span><span style="color:#183691;">"/var/home/buzz/.local/share/containers/storage/volumes/e22436bd2487a197084decd0383a32a39be8a4fcb1ded6a05721c2a7363f43c8/_data"</span><span style="color:#323232;">,
</span><span style="color:#323232;">          </span><span style="color:#183691;">"CreatedAt"</span><span style="color:#323232;">: </span><span style="color:#183691;">"2024-03-15T23:52:10.800764956+01:00"</span><span style="color:#323232;">,
</span><span style="color:#323232;">          </span><span style="color:#183691;">"Labels"</span><span style="color:#323232;">: {},
</span><span style="color:#323232;">          </span><span style="color:#183691;">"Scope"</span><span style="color:#323232;">: </span><span style="color:#183691;">"local"</span><span style="color:#323232;">,
</span><span style="color:#323232;">          </span><span style="color:#183691;">"Options"</span><span style="color:#323232;">: {},
</span><span style="color:#323232;">          </span><span style="color:#183691;">"UID"</span><span style="color:#323232;">: 1,
</span><span style="color:#323232;">          </span><span style="color:#183691;">"GID"</span><span style="color:#323232;">: 1,
</span><span style="color:#323232;">          </span><span style="color:#183691;">"Anonymous"</span><span style="color:#323232;">: true,
</span><span style="color:#323232;">          </span><span style="color:#183691;">"MountCount"</span><span style="color:#323232;">: 0,
</span><span style="color:#323232;">          </span><span style="color:#183691;">"NeedsCopyUp"</span><span style="color:#323232;">: true,
</span><span style="color:#323232;">          </span><span style="color:#183691;">"LockNumber"</span><span style="color:#323232;">: 1
</span><span style="color:#323232;">     }
</span><span style="color:#323232;">]
</span>
atzanteol ,

Navigating the various things podman/docker allocate can be a bit annoying. The cli tools don’t make it terribly obvious either.

You can try using docker volume rm name to remove them. It may tell you they’re in use and then you’ll need to find the container using them.

SimplyTadpole ,
@SimplyTadpole@lemmy.dbzer0.com avatar

Does all this also apply to distrobox? I don’t use podman, but I do use distrobox, which I think is a front-end for it, but I don’t know if the commands listed here would be the same.

atzanteol ,

I’m not terribly familiar with distrobox unfortunately. If it’s a front end for podman then you can probably use the podman commands to clean up after it? Not sure if that’s the “correct” way to do it though.

db2 , to linux in My /var/tmp folder is endlessly stacking up on "container_images_storage_xxxxxxxxxx" folders?

If you have enough ram you could make /var/tmp a ramdisk, every reboot will clear it then.

Sunny OP ,

Is this the kind of thing one can do on atmoic based desktops, if yes, then how? I have 32GB of ram :)

db2 ,
Pacmanlives ,

Silly question why do this over zram these days?

db2 ,

Doesn’t zram compress what’s in memory so systems with less ram can work a little better? If you’ve got enough for a ramdisk you don’t need zram.

Para_lyzed ,

From what I understand, zram only works on a small portion of the ram, and it used as essentially a buffer between ram and swap, as swap is very slow. It actually benefits systems with more ram, if anything. The transparent compression takes far less time than swapping data to disk

FooBarrington ,

Don’t, atomic systems aren’t made for these kinds of changes.

Sunny OP ,

Thats what I figured when I started looking into the article. While tempting, it also doesnt fix my main issue.

atzanteol ,

Don’t do this… It’s a stupid idea.

Andonyx , to fediverse in Would Lemmy Benefit from Implementing Polls?

Why is Javascript on Twitter?

Sunny OP ,

This wasn’t taken from Twitter.

Andonyx ,

That was a lame joke about the check mark. 😔

Sunny OP ,

Oh, that was a bit difficult to catch hehe 🙃

boredsquirrel , to linux in My /var/tmp folder is endlessly stacking up on "container_images_storage_xxxxxxxxxx" folders?
@boredsquirrel@slrpnk.net avatar

When using ublue, they have a ujust clean-system that may interest you.

Sunny OP ,

Thanks, did that the other day but they still came back unfortunately

boredsquirrel ,
@boredsquirrel@slrpnk.net avatar

Do you have any containers? Do you use homebrew?

Please report this to ublue as if this is an actual problem, it might be important.

Sunny OP ,

I do not have any containers afaik, docker is not installed and podman ps --all gives zero results. I do use hombrew a little, have the following installed;


<span style="color:#323232;">$ brew list
</span><span style="color:#323232;">berkeley-db@5  exiftool  expat	gdbm  libxcrypt  perl  uchardet
</span>

I have reported this over a week ago, in their help section, but have not gotten a lot of help with it, even though I have tried to document the process as much as possible. If I dont get any more help there, I’ll try to report it to the appropriate ublue channels.

boredsquirrel ,
@boredsquirrel@slrpnk.net avatar

Maybe open a Github issue

github.com/ublue-os/bazzite/issues

I think this is the correct way to report stuff like that.

Instead of showing podman processes, list all containers. There may be some. But I really have the feeling this is homebrew

Sunny OP , (edited )

might well be, I had one Fedora box through toolbox, but deleted that. But they still appear, so thats ruled out too. I dont use homebrew that much, so I could try to remove it to see if that changes anything.

Also, Podman --help states that ps is to list containers:

ps List containers

I have removed all containers and images prior to this as I thought that was the issue, but it seems like it is not.

sin_free_for_00_days , to lemmyshitpost in Self improvement

That sea eagle is watching the fish under the ice just waiting for the Spring thaw.

Track_Shovel OP ,

Probably. Birds of prey are just birds that run cat software

PhlubbaDubba , to lemmyshitpost in Boring ass planet

How did it take until 2023 to discern the true color of a planet we’ve known about since before humans found Antarctica?

SnokenKeekaGuard ,
@SnokenKeekaGuard@lemmy.dbzer0.com avatar

According to a study 97% of scientists are color blind!

OutlierBlue ,

How would they even know unless the ones doing the colour-blindness study are part of the 3%

Deconceptualist ,

Serious answer: the sensors in telescopes and probes don’t work exactly like human eyes. They pick up a different range of frequencies than our cone cells in the first place, and don’t have the same sort of overlapping input curves. There’s a lot of tricks and techniques in converting an image into the same sort of thing we’d see with the naked eye. You can sorta think of it like translating Japanese into English; there’s no perfect formula and it requires some creative interpretation no matter what.

The popular images that get published all over are simplistic composites and never really reflect the actual data astronomers rely on, so that was never a hindrance to scientific progress. It suddenly made the news because a research group decided to reevaluate the old data and reinterpret it against calibrations from other equipment (e.g. Voyager probe vs. the Very Large Telescope here on Earth). There’s a general interest factor in “wow that looks so much different than the old pictures”, when the underlying data really hasn’t changed.

Skua ,

To add to this, we apparently always knew. The famous blue image is more or less the correct hue, but the saturation has been absolutely blown out like a clickbait youtube thumbnail in order to show faint features more clearly. Somewhere along the line we stopped mentioning that that had been done. Irwin and co just just re-calculated it to get the most accurate version yet, because we've got a lot more data to work with now than we did back when Voyager 2 did its fly-by

Deconceptualist ,

Sort of? My understanding from reading a handful of articles is that Neptune has a bluish haze layer that’s absent on Uranus, but it’s fairly subtle and the overall color of both is a pretty similar frosty light green. So it’s not just that it got oversaturated but that that particular blue hue got applied to the whole planet and not just a thin layer.

wandermind ,

Furthermore, it’s not that the original scientists failed to produce true-color images. The original published images of Neptune had deliberately enhanced colors to better show some of the features of the cloud surface, and the description text of the images said as much. But that nuance was quickly forgotten and everybody just took the deep blue coloring to reflect the actual color of the planet, which spread to depictions of the planet everywhere.

Stovetop ,

Similar reason why these three photos look like slightly different colors: image sensor type, quality, and postprocessing.

https://lemmy.world/pictrs/image/a138eb87-026c-446a-a101-64b864ced5c3.jpeg

Older images, less accurate. Especially if the type of image a system is capturing is not meant to be consistent with the human eye.

booly ,

not meant to be consistent with the human eye.

Even then, postprocessing is inevitable.

As the white/gold versus blue/black dress debate showed, our perception of color is heavily influenced by context, and is more than just a simple algorithm of which rods and cone cells were activated while viewing an image.

someguy3 , to lemmyshitpost in Risk your life with this one easy trick!

At the end of my geotech class the Prof put up a joke slide that said something along the lines of “now you should know the difference between soil and dirt”. We all looked at each other because no one knew. He didn’t teach us that. He was also a shitty Prof.

Kolanaki , to lemmyshitpost in Boring ass planet
@Kolanaki@yiffit.net avatar

Ursanus is boring to look at.

My anus is not.

We are not the same.

Deconceptualist ,

My anus is not.

NASA-grade pics or STFU

eager_eagle ,
@eager_eagle@lemmy.world avatar

Color-enhanced or bleached?

gravitas_deficiency ,

IR, that way we can easily insert it into the Harkonnen gladiator arena scene

tiefling ,

Because of the prolapse?

HeyThisIsntTheYMCA ,
@HeyThisIsntTheYMCA@lemmy.world avatar

No, purely amateur

lowleveldata ,

Prove it

FozzyOsbourne ,

Ursanus

You had one job!

Steam-Roller , to lemmyshitpost in Risk your life with this one easy trick!

Too true. “Dirt” is a swear word in the ag world 🤣

disguy_ovahea ,

It’s scientifically meaningless outside of “unwanted debris.”

HobbitFoot ,

Also in geotechnical engineering.

Kolanaki , to lemmyshitpost in Risk your life with this one easy trick!
@Kolanaki@yiffit.net avatar

How would they feel about the signs you might see driving out in the country here that say “clean dirt for sale?”

How the hell can dirt be clean?

partial_accumen ,

Most of the signs meaning that I see say “Clean fill for sale” meaning fill dirt. They know big AG isn’t one to fuck with.

Dirt can be clean if its not polluted with fuel oil or other industrial contaminants. The last thing you want to put on your yard for ground leveling is a truckload of whatever earth is coming out of the closest EPA superfund site.

Track_Shovel OP ,

This.

They are meaning free of contaminants. Take that sign with a grain of salt, and always soil test, particularly if you intend to grow anything.

thefartographer ,

What if I wanna grow a third arm and tomatoes that scream at the sunrise?

Tar_alcaran ,

It’s more of a “die slowly from heavy metal toxicity” thing.

thefartographer ,

Death by System of a Down, you say???

knowyourmeme.com/…/1666080-you-son-of-a-bitch-im-…

disguy_ovahea , (edited )

Clean fill is also usually free from any large rocks that would make shoveling difficult.

FreshLight , (edited )

Thank you for the clarification.

It’s still funny to me that dirt which is dirty per definition (maybe even the dirtiest substance of them all, one might argue) can be clean.

5C5C5C ,

I feel like this is rapidly approaching the “is water wet?” conundrum.

HobbitFoot ,

You haven’t been around really dirty dirt.

wander1236 , to lemmyshitpost in Risk your life with this one easy trick!
@wander1236@sh.itjust.works avatar

Rub some dirt on it, you’ll be fine

TachyonTele ,

I soiled my pants. Does that count?

thefartographer ,

Can you soil my pants too??

TachyonTele ,

All the cool kids soil each others pants.

thefartographer ,

Miles Davis? Is that you?

Deconceptualist , to lemmyshitpost in Boring ass planet

Yeah so maybe both Neptune and Uranus look hazy and dull green in visible light. So what?! They’re both entire worlds, significantly larger and vastly different in climate and tilt and composition and weather phenomena than our own, and we’re lucky enough to have seen them up close with probes. They have layered structure that can be seen in other wavelengths (e.g. infrared) and so many mysteries we haven’t yet conceived. Plus a ton of moons each that are weird and fascinating in their own right. They’re not the least bit boring to a curious mind.

stembolts ,

Plus they are gas planets. Fart miners are about to be rich with farts.
Your welcome for this contribution of taste and intellect.

Deconceptualist ,

Honestly it’s the shitpost community so kinda fitting. Too bad your miners won’t find much stinky sulfur after their decade+ journey.

remotelove ,
@remotelove@lemmy.ca avatar

Your comment formed a perfect pressure waveform.

https://lemmy.ca/pictrs/image/362217b1-a13d-4b23-9f04-4c9f602924ea.jpeg

Deconceptualist ,

A pip and a peep? You flatter me sir/ma’am.

roguetrick ,

Respiratory therapists only think about one thing and it’s disgusting.

swiftcasty , to lemmyshitpost in Boring ass planet

Great news, the James Webb telescope snapped a pic of Uranus and it's beautiful
https://www.infoterkiniviral.com/2024/05/the-james-webb-space-telescope-releases.html

rickyrigatoni ,

Thanks but I already knew that.

MrJameGumb , to lemmyshitpost in Risk your life with this one easy trick!
@MrJameGumb@lemmy.world avatar

I was watching Top Chef the other day and one of the contestants kept talking about the “chocolate soil” he was making as part of his dish. He must have repeated that phrase “chocolate soil” at least 10 times because he thought it was really clever I guess. All it did was remind me that any time someone uses the word “soil” in the context of food all I can think of is poop. Like a soiled diaper or something.

It ended up really grossing me out

I don’t know why they wouldn’t just call it something else…

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lifeLocal
  • goranko
  • All magazines