Allow Multiple Encoding Processes at Once
Posted by AJ Hall, Last modified by Mark [Elevated X Support] on 01 May 2014 04:50 PM
|
|
Allow Multiple Encoding Processes at Once To allow multiple encodes to run at the same time have your host edit your existing crontab entry and change it to the following. NOTE - Be sure to change "/path/to/php" to the actual path to php and change ADMINPATH to the actual path to your cms_admin directory. */5 * * * * /path/to/php /ADMINPATH/cms_admin/longqueue.php --thread=1 For performance we do not suggest adding more entries than the number of of processor cores on their server, or else CPU will be maxed out. For example on a quad core server you would want no more than 4 processes. NOTE - If you're going to be encoding using multiple servers, you'll need to make sure the --thread parameter is different across all machines: # Server 1 */5 * * * * /path/to/php /ADMINPATH/cms_admin/longqueue.php --thread=1
# Server 2 */5 * * * * /path/to/php /ADMINPATH/cms_admin/longqueue.php --thread=3
| |
|