Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: one-liner hogs

by Kanji (Parson)
on Feb 01, 2001 at 03:32 UTC ( #55599=note: print w/ replies, xml ) Need Help??


in reply to one-liner hogs

I was always rather fond of perl -e 'fork() while 1'.

    --k.



Comment on Re: one-liner hogs
(jeffa) Re: Re: one-liner hogs
by jeffa (Chancellor) on Feb 01, 2001 at 03:41 UTC
    I guy in my OS class ran something similar to that and logged out of the main CS server without killing it. A short time later, the whole lab wondered why they couldn't save their assignments . . .

    Needless to say he had a lot of explaining to do with the IT staff. And that was the LAST time the OS classes used the main CS server!

    Jeff

    L-LL-L--L-LL-L--L-LL-L--
    -R--R-RR-R--R-RR-R--R-RR
    F--F--F--F--F--F--F--F--
    (the triplet paradiddle)
    
Re: Re: one-liner hogs
by rlk (Pilgrim) on Feb 01, 2001 at 05:04 UTC
Re: Re: one-liner hogs
by Cybercosis (Monk) on Feb 01, 2001 at 11:33 UTC
    Actually, there's a slight problem with the old fork() bomb: most OSes only allow so many running processes and there are a few that go so far as to limit the number of running processes an individual user can have, so you could, possibly, run out of processes before you run out of memory.
    ~Cybercosis
    Update: Actually, it is somewhat required for an OS to limit the number of possible processes, since you can only hold so many TSS templates to be moved into the TSS register in memory. Well, at least with i86 processors. =-)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://55599]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2014-07-14 01:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (253 votes), past polls