Your Ad Here

Rabu, 10 Februari 2016

Unix Tip: REBOOTING BECAUSE OF FORK BOMBS

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

UNIX GURU UNIVERSE
UNIX HOT TIP

Unix Tip 3289 - February 10, 2016

http://www.ugu.com/sui/ugu/show?tip.today

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


REBOOTING BECAUSE OF FORK BOMBS


There is nothing more frustrating
for an Administrator who has to
reboot system due to fork bomb

(the number of processes in the
system reaches the maximum limit
when a user, even a superuser,
tries to execute some command, the
system will respond with Vfork
failed)

In Solaris under SPARC, this can be
controlled by specifying a line in
/etc/system

set maxuprc=64

And reboot the system. Now a user
can have maximum of 64 processes
under his ownership. By default
the 'maxuprc' value is
16*maxusers - 5 where
'maxusers' is another tunable
parameter in /etc/system

Caution : You should have a backup
of /etc/system file before you make
the changes. So that you can revert
back to old system file using
boot -a option in case of
inconsistent system file.


--------------------------------------------------------------------------
To Subscribe: http://www.ugu.com/sui/ugu/show?tip.subscribe
To Unsubscribe: http://www.ugu.com/sui/ugu/show?tip.unsubscribe
To Submit A Tip: http://www.ugu.com/sui/ugu/show?tip.today

==========================================================================
DISCLAIMER: All UNIX HOT TIPS ARE OWNED BY THE UNIX GURU UNIVERSE AND ARE
NOT TO BE SOLD, PRINTED OR USED WITHOUT THE WRITTEN CONSENT OF THE UNIX
GURU UNIVERSE. ALL TIPS ARE "USE AT YOUR OWN RISK". UGU ADVISES THAT
ALL TIPS BE TESTED IN A NON-PRODUCTION DEVELOPMENT ENVIRONMENT FIRST.

Unix Guru Universe - www.ugu.com - tips@ugu.com - Copyright 1994-2001
==========================================================================

Tidak ada komentar:

Posting Komentar

Your Ad Here
Free Automatic Backlink Free Auto Backlink Free Auto Backlink Free Auto Backlink Free Auto Backlink Free Auto Backlink Free Auto Backlink Free Auto Backlink Free Auto Backlink Free Auto Backlink