High runqueue

We started seeing high runqueue on our AIX 7 lpar2rrd server. Server has been on version 6.02 since 2019-05-27_10:42 and operated without issues until a day or so ago. I've upgraded to 6.10 but the problem persists. Processes in queue are /usr/bin/perl -w /lpar2rrdbin/lpar2rrd-daemon.pl. 49 at present.
Simon

Comments

  • Seems we hit a memory threshold and the lpar started to thrash. I've maxed the memory and while the runqueue is still very high, >70, the waitqueue has dropped to zero, paging has stopped and the load.sh output log is updating at a reasonable rate. Is there a way to cap the number of concurrent lpar2rrd processes to avoid exhausting memory?
    Simon
  • Hi,

    yes, like here to 20 max. Set this parameter in etc/.magic which controlls how many processes can daemon start

    su - lpar2rrd
    cd /home/lpar2rrd/lpar2rrd
    echo "LPAR2RRD_FORK_MAX=20" >> etc/.magic
    echo "export LPAR2RRD_FORK_MAX" >> etc/.magic
    ./load.sh daemon_stop
    ./load.sh daemon


Sign In or Register to comment.