1

Topic: Cluster issue

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.84
- Linux/BSD distribution name and version: debian 8 jessie
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  mysql
- Web server (Apache or Nginx): nginx
- Manage mail accounts with iRedAdmin-Pro? no
- Related log if you're reporting an issue:
====
I have some issue with cpu usage
we use separate database server.

1. can I run all these script just one server?
python /opt/www/iredadmin/tools/cleanup_amavisd_db.py
python /opt/iredapd/tools/spf_to_greylist_whitelists.py
python /opt/iredapd/tools/cleanup_db.py
/usr/bin/python /opt/iredapd/tools/spf_to_greylist_whitelists.py

2. I have use 2 core cpu with 16GB of ram. Do cpu is it enough?
3. server alway 100% cpu usage when all these script run at the same time once a day. Any solution to fix this?

Thank you

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Cluster issue

jackavin wrote:

1. can I run all these script just one server?

Yes.

jackavin wrote:

2. I have use 2 core cpu with 16GB of ram. Do cpu is it enough?

Talking about performance without mail traffic info is meaningless. How many emails do your servers need to handle per-day/per-hour?

jackavin wrote:

3. server alway 100% cpu usage when all these script run at the same time once a day. Any solution to fix this?

It doesn't last for a long time, i think it's ok.

3

Re: Cluster issue

Will try to do update db just 1 server and see again is it ok.
Because now the server 100% once a day that's not good.
Maybe config php-fpm too high.

Thank you