This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

admin-reporter.pl script spikes cpu for hours

I recently upgraded from Astaro 7.011 to 7.100. With 7.100, there is a Perl script, admin-reporter.pl, that runs for hours at a time, maxing out my processor.

UID        PID  PPID  C STIME TTY          TIME CMD

root      9653  2701 88 14:45 ?        02:12:32 /usr/bin/perl /usr/local/bin/reporter/admin-reporter.pl


What is this script???

How can its behavior be better managed?

I have also attached an image showing how this script runs for hours and what it does to my CPU load. Keep in mind that I have a dual core box, so 50%+ usage is nominally 100% on one core.

When Astaro is "wasting" one core running this script (for anywhere from 2 hours to 20 hours), it makes the Astaro response time very sluggish depending on what else is going on.

Any ideas????


This thread was automatically locked due to age.
Parents
  • Has the new version been up and running for 24hours at least?

    If not, wait 24 hours and try again.  If it has, I assume you have rebooted?
  • It's been well over 24 hours. Rebooting did not change anything. This process most recently has been running almost 5 hours. You can see the process id is the same as my previous post.

    UID        PID  PPID  C STIME TTY          TIME CMD
    
    root      9653  2701 93 14:45 ?        04:57:10 /usr/bin/perl /usr/local/bin/reporter/admin-reporter.pl


    I do not know what this process does, but Astaro runs it repeatedly. I have attached an image of my weekly CPU load. Every time the load spike is due to this Perl script.

    Unless there is a fix for this quickly forthcoming, it is time to reinstall 7.011.

    It looks like this script is some sort of syslog analyzer. When I look at the system log (which is over 12MB), it is full of messages like this:

    2007:12:09-00:00:05 (none) syslog-ng[2701]: Error accepting AF_UNIX connection, opened connections: 100, max: 100


    The live log shows a continual stream of these messages.

    This would lead me to believe, as I previously suspected, that Astaro is configured/compiled with an insufficient number of connections to run both a busy SOCKS5 proxy and the HTTP proxy.

    In any case, it would be nice to know what sort of limit of 100 connections is being hit and why.

    Lastly, I will add that my inspection of the open connections in Astaro leads me to believe that there is a lot of socket activity going on that the administrator is not made aware of. This worries me. I may have to get some port mirroring going and run a packet sniffer to see what Astaro is really doing. Something just doesn't add up.
  • Looks like your reporting daemon has locked / gone nuts.
    Suggest do a backup, then reinstall clean and restore.
Reply Children
No Data