CPU utilization show 100%

Issue #95 resolved
Ravindra Vishwakarma created an issue

Dear Jsuto,

I am using piler-0.1.23.

After installation of Piler it shows in Health monitor- CPU usage 100%. Shows the SMTP status: piler: ERROR

Thanks.

Comments (6)

  1. Janos SUTO repo owner

    please paste the results of the following: crontab -l -u piler | grep mpstat

    Also show me "netstat -antl" and config-site.php (don't include any password!)

  2. Ravindra Vishwakarma reporter

    netstat -antl

    [root@mailarchive ~]# netstat -antl Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 127.0.0.1:10026 0.0.0.0: LISTEN tcp 0 0 0.0.0.0:3306 0.0.0.0: LISTEN tcp 0 0 0.0.0.0:111 0.0.0.0: LISTEN tcp 0 0 0.0.0.0:22 0.0.0.0: LISTEN tcp 0 0 0.0.0.0:25 0.0.0.0: LISTEN tcp 0 0 127.0.0.1:9306 0.0.0.0: LISTEN tcp 0 0 0.0.0.0:51135 0.0.0.0: LISTEN tcp 0 0 127.0.0.1:9312 0.0.0.0: LISTEN tcp 0 52 192.168.50.135:22 192.168.50.144:49384 ESTABLISHED tcp 0 0 :::111 ::: LISTEN tcp 0 0 :::80 ::: LISTEN tcp 0 0 :::22 ::: LISTEN tcp 0 0 :::38086 ::: LISTEN [root@mailarchive ~]#


    config-site.php

    <?php

    $config['SITE_NAME'] = '192.168.50.135'; $config['SITE_URL'] = 'http://192.168.50.135/'; $config['DIR_BASE'] = '/var/www/html/piler/';

    $config['ENABLE_AUDIT'] = 0; $config['MEMCACHED_ENABLED'] = 0; $config['ENABLE_ON_THE_FLY_VERIFICATION'] = 1; $config['ENABLE_SYSLOG'] = 1; $config['PILER_HOST'] = '1.2.3.4'; $config['SMTP_DOMAIN'] = 'sdi.local'; $config['SMTP_FROMADDR'] = 'ravindra.vishwakarma@sditechservices.com'; $config['ADMIN_EMAIL'] = 'ravindra.vishwakarma@sditechservices.com';

    ?>

    crontab -l -u piler | grep mpstat

    no crontab for piler

  3. Janos SUTO repo owner

    please correct $config['PILER_HOST'] to point to the IP-address where piler listens, and it will fix the "SMTP status error" message.

    To fix the "100%" issue, please compare piler's cronjobs (crontab -l -u piler) with piler-0.1.23/etc/cron.jobs, and make sure all mandatory jobs installed.

  4. Emilio Martin Lundgaard Lopez

    Hi Ravindra did you need to do anything else besides correcting $config['PILER_HOST'] to get the SMTP status error to dissapear? I'm running with the same error but changing that conf didn't help. Did you have the message of error for smarthost as well?

    Emilio.

  5. Log in to comment