1

Topic: Issue with Mailgate and cron

Hello all.

I have some issue with mailgate and cron. I found in cron.log that sometimes after mailgate acction starts cron cannot use database (log in cron.log is 'Can't get DB lock'). Mailgate cannot collect mails form mailbox or hangs up.

If someone had similar problem or maybe someone know how to fix it?

2

Re: Issue with Mailgate and cron

Version of GLPI used?
Number of automatic tasks launched in the same time (in GLPI configuration)?
Version of MySQL or MariaDB?

CentOS 6.5 - PHP 5.6 - PHP 7 - MySQL 5.6  + APC + memcached
GLPI 0.90.5 SVN - GLPI 9.1.3 SVN
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

3

Re: Issue with Mailgate and cron

yllen wrote:

Version of GLPI used?
Number of automatic tasks launched in the same time (in GLPI configuration)?
Version of MySQL or MariaDB?

Version 0.90.5
Maximal number of automatic actions (run by CLI) 7
MySQLd server version: 5.6.35-2.el7

4

Re: Issue with Mailgate and cron

When the cron freeze, is your database active?
Can you create an item in GLPI when cron is HS?

CentOS 6.5 - PHP 5.6 - PHP 7 - MySQL 5.6  + APC + memcached
GLPI 0.90.5 SVN - GLPI 9.1.3 SVN
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

5

Re: Issue with Mailgate and cron

Database is on the same machine as GLPI. In logs there is no information about issues with databes.
What is HS for Crone?

6

Re: Issue with Mailgate and cron

Your automatics tasks are in GLPI or LI mode?

CentOS 6.5 - PHP 5.6 - PHP 7 - MySQL 5.6  + APC + memcached
GLPI 0.90.5 SVN - GLPI 9.1.3 SVN
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

7

Re: Issue with Mailgate and cron

CLI mode