AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only

Performance of nice'd cron jobs

  • 1.  Performance of nice'd cron jobs

    Posted Thu November 24, 2005 06:07 AM

    Originally posted by: klaasvaak


    Hello,

    On an AIX 5.2 system with 1 CPU at maintenance level 4, I am experiencing a strange phenomenon.

    When we run shell scripts from a user crontab, the commands are sometimes started 20-50 seconds after the time specified in crontab, and the script may take between 5 and 250 seconds to complete.

    After changing /usr/lib/cron/queuedefs (adding c.100j0n10w) the script starts within 1-2 seconds of the specified time and takes between 4 and 12 seconds to complete.

    This might be expected if normal-or-high priority processes are hogging the CPU, but the system is usually over 90% idle, also when the 250-second run was executing. Looks like a scheduling problem to me.

    Anyone encountered this before, or has an explanation??

    Regards,
    Klaas Vaak
    The Netherlands
    #AIX-Forum