[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: 14.jpg (172 KB, 578x626)
172 KB
172 KB JPG
previous: >>108399208

#define __NR_getrlimit            97
#define __NR_setrlimit 160
#define __NR_prlimit64 302

https://man7.org/linux/man-pages/man2/getrlimit.2.html

tl;dr:
manage process resource limits

i wasn't gonna include the prlimit one in this thread, but the manpage grouped them all together, so i figured i would include it too.
lots of bugs in the history of these syscalls. i guess it's a relatively complicated system.
the concept of soft limits and hard limits is pretty interesting. it makes me curious as to the history behind this design decision. i'm sure someone out there knows it. maybe that one anon who posts a lot of cool history tidbits?
which resource do you most often find yourself modifying, anon? some are definitely going to be a lot more common than others, but i'm curious to hear what you all have to say

relevant resources:
man man

man syscalls

https://man7.org/linux/man-pages/
https://linux.die.net/man/
https://elixir.bootlin.com/linux/
https://elixir.bootlin.com/musl/
https://elixir.bootlin.com/glibc/
>>
bampu
>>
passionate hugs from behind with OP
>>
>>108406971
Thank you syscanon, I appreciate you listening to my advice regarding initial pictures
>>
>>108406971
anime thread, DNI
>>
>>108406971
I'm getting the vibe that there's a syscall bloat problem... We need a simplification with an optional translation layer.
>>
>>108407472
uwah!
>>108407942
if you want to know the truth, i generally just search my gallery for a relevant word, and then pick the image that comes up which i like the most
so for example this time i searched "limit" and that was one of the images that came up
there are some other good ones, e.g.
>>
File: IMG_2949.png (458 KB, 828x410)
458 KB
458 KB PNG
>>108407942
>>108409093
this is another one that came up. i don't really know the logic behind whatever AI is working on the query
>>
File: 1752922870846196.png (498 KB, 963x720)
498 KB
498 KB PNG
>>108409093
>hard limit on how many elseif statements
>>
File: file.png (1.6 MB, 1409x2000)
1.6 MB
1.6 MB PNG
>>108406971
(Shuuki Reitaisai 4) [Lapiz Lazuli Kouseki (Kuroha Rapid)] Bonnou no Matenrou | A Skyscraper of Passion (Touhou Project) [English] [cutegyaruTL]
>>
is this what's used for containers?
>>
>>108409890
Thank you anon
>>
>>108409093
> tags:
> fingering yuri big_breasts full_censorship multi-work_series bondage femdom females_only
yep anon i see
i bet you have a lot of interesting pics in your gallery
>>
>>108409984
it's actually really vanilla
>>
>>108409996
i know
>>
>>108410027
so you just wanted to make a joke huh? even though it didn't really make sense?
i can't say i've never done that, carry on
>>
>>108410041
nah i just wanted to say i appreciate your choice of pictures
>>
>>108410074
i'm not OP. i just saw touhou and figured i'd share the sauce
but it's indeed a nice picture
>>
File: file.png (650 KB, 860x971)
650 KB
650 KB PNG
>>108406971
>pic
syscall autist anon, that's just a funny pic you chose for OP, right? You're doing just fine and dandy? Because I dunno if you get the appreciation you need for your particular kind of autismo bightening up the catalog amidst the shilling wars and aisloppa generals.
>>
File: file.png (1024 KB, 900x900)
1024 KB
1024 KB PNG
>>108409093
>>108409117
There are only two codes I can imagine hitting this limit and one of them is isEven.
>>
I think the only limits that regularly trip me up with cryptic error messages every other year are the user process limit, file descriptor count and coredump size.

>>108409101
what tool are you using to find images via ai/multimodal models? I'm aware that you can use something like CLIP to generate embeddings and then do a distance search to find similar things but I haven't really looked too much into it if there's some simple existing solutions that can handle a lot of files somewhat efficiently.
>>
>>108406971
>RLIMIT_NOFILE defaults to 1024
>can't be raised because of all the legacy code using select
>select
This is why retards shouldn't be allowed near kernel interfaces. We'll be paying the price of these for centuries, and all because one tard once thought
>1024 will be enough for anybody
>>
>>108409897
in what regard?
>>108409984
i like femdom, what can i say? and bondage
>>108410166
aww, thanks for the concern anon. that's really sweet of you. i'm doing pretty well these days, all things considered. it's always really nice to hear from people who appreciate my threads, though. i worry sometimes that i am wasting my time making them, so replies like yours mean a lot to me
>>108410178
lol
>>108410386
i just use samsung's stock gallery app lol. a few years back they added some fuzzy search tool, and it works decently well (certainly isn't perfect, though). but it's good for stuff like this
>>
>>108410656
>what regard
resource limits? I mean for k8s and other orchastrators
>>
>>108406971
So, poor man's cgroups?



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.