Setting 'nice' level for specific binary

From: Chris (redhat-list_at_dotcomdesigners.com)
Date: 08/24/05

  • Next message: Karl Latiss: "Re: Setting 'nice' level for specific binary"
    To: <redhat-list@redhat.com>
    Date: Tue, 23 Aug 2005 19:58:03 -0700
    
    

    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@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Karl Latiss: "Re: Setting 'nice' level for specific binary"

    Relevant Pages

    • Re: Slow start up times...
      ... I turned off all user fonts and now the app stopped optimizing the ... After the app loads, it then hangs for a good 10 secs. ... together it takes Excel 15 seconds to boot and 24 secs for Word!!! ...
      (microsoft.public.mac.office)
    • Re: How to set up order on boot?
      ... Manager to monitor the CPU Usage percentage, after each app loads the ... app and adjust the spacing accordingly. ... You may find AutoRuns useful in that it will show you what loads during ... the most notable Internet Explorer, ...
      (microsoft.public.windowsxp.basics)
    • Re: How to set up order on boot?
      ... adjusting the timing will keep me busy for a while... ... It may help by spacing the start of each app by a given ... You may find AutoRuns useful in that it will show you what loads during ... Internet Explorer, could not connect. ...
      (microsoft.public.windowsxp.basics)
    • Re: How to set up order on boot?
      ... It may help by spacing the start of each app by a given ... You may find AutoRuns useful in that it will show you what loads during ... Internet Explorer, could not connect. ... Ilya Zeldes ...
      (microsoft.public.windowsxp.basics)
    • Re: Toolbars, ImageLists, and Manifest Resources
      ... loads a form via the timer, as can be seen by looking at the radio buttons ... Rebuild your app. ... The downside to this method is that you must add the manifest resource every ... > Loader load = new Loader; ...
      (microsoft.public.dotnet.languages.csharp)