setpriority(0, 0, 20);

This is for Perl, of course.

Benny Amorsen wrote:
"RS" == Roger Schreiter <[EMAIL PROTECTED]> writes:

RS> Is there any mean to let AGI scripts run in a lower priority
RS> (except starting a new shell from the a short initial AGI script)?

You can start the script with renice 15 $$, or whichever value you
prefer. If the hickup happens because of the process startup, this
will not help, but at least it is easy to try out.


/Benny


_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to