Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Setting 'nice ' level for specific binary

Setting 'nice ' level for specific binary

2005-08-23       - By Chris

 Back
Reply:     1     2     3     4     5  

Is there a way to globally force a lower priority ('nice' level) on a
specific binary executable, that technically can be called from any cgi-bin
directory on a single server, where each copy is owned by a different
hosting user?  The filename is unique so we can assume any requests to this
same filename are for the same binary file.  I'd like to experiment with
re-nicing a particular hosted application that at times creates such
incredibly high CPU loads that everything else stops responding (httpd,
sshd, etc) and you can't even log on to kill these processes.  This
typically requires a hard reboot to get things working again.  Because of
that I implemented scripts that monitor server load and when things get
hairy (server loads exceeding 100+) they stop certain services to give this
particular app a chance to exit gracefully, which works for the most part.
But it can still take 60-120+ seconds at this type of loads to do anything.
Would be nice to run this particular app, many copies of it that is, at
lower nice level so we can at least SSH to the server when the load gets
this high.  I'd rather have my scripts send me an SMS message when things
get hairy but be able to log on via SSH and at least manually control this
app at that point, rather than mucking with other services to free up
resources.

Thank you,

Chris


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

Earn $52 per hosting referral at Lunarpages.