Limiting CPU on some processes on web server

opendaddy at hushmail.com opendaddy at hushmail.com
Thu Mar 12 01:32:09 UTC 2015


Hi,

On 11. mars 2015 at 7:37 PM, "Roland Smith" <rsmith at xs4all.nl> wrote:
>
>*How* does the web app actually start those programs?

Unfortunately I'm getting the same 100% if I run ImageMagick / ffmpeg separately.

>Have you verified with `ps -l` (or `ps -xal`) that the ffmeg and 
>convert processes are actually running at a lower priority?

No, but isn't this whole nice thing a dead end? Often times when ImageMagick / ffmpeg run there are no competing processes (ie. no visitors). But then if a visitor appears while ImageMagick / ffmpeg is running, it is already too late.

>Run you web app stack with a higher priority.

I'll look into it.

A lot of great advice here, thanks a lot!

O.D.

>
>Roland
>-- 
>R.F.Smith                                   
>http://rsmith.home.xs4all.nl/
>[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much 
>appreciated]
>pgp: 5753 3324 1661 B0FE 8D93  FCED 40F6 D5DC A38A 33E0 (keyID: 
>A38A33E0)



More information about the freebsd-questions mailing list