Beta
×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

Erlang Getting Too-Big-To-Fail Process Flag

Unknown Lamer posted about a year and a half ago | from the c-processes-don't-deserve-that-memory-anyway dept.

Programming 35

From Joe Armstrong comes news that Erlang will soon feature a new process flag for those processes that just really need memory, or else: "Too big to fail processes behave like regular processes until they get too big and memory congestion occurs. If a memory allocation error is triggered when a too_big_to_fail process needs more memory, then a random smaller process is killed, and the system reattempts memory allocation for the too_big_to_fail process. An interesting situation can occur if the too big to fail process has killed all other processes and still cannot get enough memory. In this case the node running the process tries to memory steal from other nodes." Read below for your FREE logged-in-reader's-eye view of the special rot-39 version!

Sebz Wbr Nezfgebat pbzrf arjf gung Reynat jvyy fbba srngher n arj cebprff synt sbe gubfr cebprffrf gung whfg ernyyl arrq zrzbel, be ryfr: "Gbb ovt gb snvy cebprffrf orunir yvxr erthyne cebprffrf hagvy gurl trg gbb ovt naq zrzbel pbatrfgvba bpphef. Vs n zrzbel nyybpngvba reebe vf gevttrerq jura n gbb_ovt_gb_snvy cebprff arrqf zber zrzbel, gura n enaqbz fznyyre cebprff vf xvyyrq, naq gur flfgrz ernggrzcgf zrzbel nyybpngvba sbe gur gbb_ovt_gb_snvy cebprff. Na vagrerfgvat fvghngvba pna bpphe vs gur gbb ovt gb snvy cebprff unf xvyyrq nyy bgure cebprffrf naq fgvyy pnaabg trg rabhtu zrzbel. Va guvf pnfr gur abqr ehaavat gur cebprff gevrf gb zrzbel fgrny sebz bgure abqrf."

cancel ×

35 comments

Sorry! There are no comments related to the filter you selected.

Damn it (4, Funny)

phantomfive (622387) | about a year and a half ago | (#43334149)

Slashdot keeps making me log in to see ROT13. This April Fool's thing has gone too far. I want my normal ROT13 fare!

I hate April 1 (0)

Anonymous Coward | about a year and a half ago | (#43334715)

every year... same crap... I don't know why I bother... as bad as this place is normally... it just gets worse when geeks try to be funny...

remember folks... we here at the FBI have no sense of humor we are aware of...

leave the humor to the professionals... like bush or obama...

rant about something real damn it...

Re:Damn it (1)

bryan1945 (301828) | about a year and a half ago | (#43339813)

I remember when the jokes were clever.

Decryption (1)

DarkHorseman (1150085) | about a year and a half ago | (#43334151)

It doesn't work on this story...

ROT-39, Just in the nick o' time! (1)

girlinatrainingbra (2738457) | about a year and a half ago | (#43334157)

Hey, they rolled out the special ROT-26 and bonus ROT-39 editions for the last minute before midnight Zulu-time April Fool's Day Edition!
.
Yipee-kai-yay, mother-fokkers! Srsly, what took you so long? What? The day's over alreadY? ... :>(

Great! (2)

The MAZZTer (911996) | about a year and a half ago | (#43334163)

I assume developers will have to pay extra for use of this feature, ensuring ll the large companies get to slap it on all their processes and no one else does.

I mean, ensuring the feature is used responsibly and not abused.

Re:Great! (3, Insightful)

wierd_w (1375923) | about a year and a half ago | (#43334189)

So, this gets to be used by all those bank and loan institutions who use trade bots to manipulate the global stock market?

Question: what happens if 2 such processes re running concurrently on the same node, and actively try to outperform the other by proactivally allocating all available free memory?

Re:Great! (0)

Anonymous Coward | about a year and a half ago | (#43334421)

Obviously the first process to try allocating all available free memory will succeed, while the second will kill the first and then succeed. Didn't you read the summary?

Re:Great! (1)

wierd_w (1375923) | about a year and a half ago | (#43342353)

But that would imply that a too_big_to_fail process can indeed fail! Allowing the contention to kill the first process, instead of jumping instantly to the allocator of last resort breaks the model!

Re:Great! (1)

aix tom (902140) | about a year and a half ago | (#43343181)

It's kinda like the "things that can not break" in mechanics, I guess.

There the difference between "things that can break" and "things that never ever possibly can break" is: Every time a thing that never ever possibly can break breaks, it's impossible to get at and repair.

Re:Great! (0)

Anonymous Coward | about a year and a half ago | (#43335151)

I can see Apple or Microsoft offering "priority" CPU, GPU, and Memory access for "premium" apps.

Re:Great! (1)

gl4ss (559668) | about a year and a half ago | (#43342599)

I can see Apple or Microsoft offering "priority" CPU, GPU, and Memory access for "premium" apps.

they already do. see windows rt, windows phone and iOS. approved api access(including killing other processes) for "partners" and whoever the fuck is in fashion this week at the middle manager level.

ahhh, now I can divide by zero (1)

swschrad (312009) | about a year and a half ago | (#43336533)

and I don't have to have error checking on my compilers any more. time to get back into programming!

If this had been the only joke... (4, Insightful)

istartedi (132515) | about a year and a half ago | (#43334167)

If this had been the only joke today, I think it would have worked.

Re:If this had been the only joke... (1)

phantomfive (622387) | about a year and a half ago | (#43334263)

The point of Slashdot on April fool's day is to collect the jokes from around the web. Not much original content here ever.

Re:If this had been the only joke... (0)

Anonymous Coward | about a year and a half ago | (#43334461)

They're all shit though. Shouldn't they be collecting the good jokes?

Re:If this had been the only joke... (0)

Anonymous Coward | about a year and a half ago | (#43335449)

Yeah this one's quite funny.

this fools bs is tiresome (-1)

Anonymous Coward | about a year and a half ago | (#43334191)

if stil encrypted tomorrow i'll change home page.. its been 10 years but so be it.

Hope /. learnt its lesson. (2, Insightful)

140Mandak262Jamuna (970587) | about a year and a half ago | (#43334199)

None of the discussions today broke 3 digits on comments. Try something like this again, I am not coming back. Stupid rot13 trick. Whoever came up with the idea of running it this long should be fired summarily.

Re:Hope /. learnt its lesson. (4, Insightful)

ultranova (717540) | about a year and a half ago | (#43334415)

Stupid rot13 trick. Whoever came up with the idea of running it this long should be fired summarily.

Workplaces where people are fired sumarily for mistakes are ones where no one ever does anything except cover their ass and search for any other employer. The quality and amount of work that gets done reflects this.

Re:Hope /. learnt its lesson. (0)

Anonymous Coward | about a year and a half ago | (#43335215)

It's kind of hard for the quality of slashdot to get any lower than what it was today.

Re:Hope /. learnt its lesson. (1)

Pieroxy (222434) | about a year and a half ago | (#43341239)

It can always be worse. Always.

Re:Hope /. learnt its lesson. (0)

Anonymous Coward | about a year and a half ago | (#43335235)

Except that this "workplace" is long dead. I mean come-on... Everyone is gone! Slashdot died years ago!

I still remember when the Slashdot effect was real, and brought even huge sites down. I still remember regularly seeing over 1000 comments on stories. I still remember 30 stories a day being the *minimum*.

Nobody here gives a shit anymore. Most of us just come here out of habit. And we always ask: Why did we have to come here again? What's the point? To read a fifth of the interesting stories on certain subreddits a second time? Come *on*....!

Re:Hope /. learnt its lesson. (1)

TeknoHog (164938) | about a year and a half ago | (#43335625)

Workplaces where people are fired sumarily for mistakes

Ding! You're out!

Re:Hope /. learnt its lesson. (1)

LWATCDR (28044) | about a year and a half ago | (#43336355)

true but April Fools is done. It is no longer clever or funny. So Slashdot needs to move on.

Re:Hope /. ... (0)

Anonymous Coward | about a year and a half ago | (#43334423)

Hope you get..

  • .. a grip
  • .. some sense of humour
  • .. not hit by the door on your way out

Re:Hope /. learnt its lesson. (0)

Anonymous Coward | about a year and a half ago | (#43334427)

Chill out. It always amazes me how many angry posts there are from mouth-breathing dorks that cant take a break, even one day, from their steady stream of CPU news and what Linus had for breakfast. I always enjoy the April 1st shenanigans, personally. They do this every year so I guess plan on not coming back in ~365 days. We will try to manage without you, somehow...

Re:Hope /. learnt its lesson. (0)

Anonymous Coward | about a year and a half ago | (#43335137)

I agree!

Re:Hope /. learnt its lesson. (1)

Ksevio (865461) | about a year and a half ago | (#43334501)

That's not actually true...The dinosaur [slashdot.org] , Commodore 64 [slashdot.org] , and Linus Win9 [slashdot.org] articles all got into triple digits, not to mention a couple plain text ones.

Though I admit I avoided slashdot today because it didn't have real articles and was too much work to read the fake ones.

Re:Hope /. learnt its lesson. (0)

Anonymous Coward | about a year and a half ago | (#43334775)

" should be fired summarily."

I read that as " should be fried summarily"

Resistance certain. (1)

EricTheGreen (223110) | about a year and a half ago | (#43334277)

Angry developers, seeing this as little more than a back-door raid on their precious computing resources, are banding together in newly-formed TCP Parties, determined to resist meddling compiler makers and nebulous language specification agencies answerable to no one....

Vigil - A More Elegant Solution (1)

Anonymous Coward | about a year and a half ago | (#43334937)

Improper utilization of limited resources is a symptom of incorrect code.

Vigil already has a much more elegant solution to the general problem of incorrect code:
https://github.com/munificent/vigil

Rather than punish other programs, it simply deletes the offending code.

All Vigil programs are guaranteed to run without error, eventually.

Re:Vigil - A More Elegant Solution (0)

Anonymous Coward | about a year and a half ago | (#43335267)

If the code is gone, it doesn't perform tasks it was asked to do. Tasks that were perhaps... you know... *NECESSARY*!
What's the point of code that has no errors because it *does nothing*!?
I'm sorry, but that, in and on itself, is an error.

Re:Vigil - A More Elegant Solution (0)

Anonymous Coward | about a year and a half ago | (#43341257)

Try adding "import sense_of_humor" at the top of your script, and see if it works any better.

Inspired by OOM killer? (1)

sheepweevil (1036936) | about a year and a half ago | (#43338281)

This sounds a lot like the Linux OOM killer. You can set the oomadj value to protect certain processes against the OOM killer, making it almost the same as these too-big-to-fail processes. I guess the only difference is stealing memory from other nodes.
Check for New Comments
Slashdot Login

Need an Account?

Forgot your password?