1 (edited by GoempieK 2017-04-12 11:50:23)

Topic: Slow ticket creation

When a user post a new ticket this goes verry slow.

I allready found that the problem is with the notifications.
When i dissable notification creating a ticket goes verry fast.

Now the notification email adres is set with mailprotocol: smtp
When i change this to php glpi is not able to send mails

Our mails work through office365 but for glpi is stil using our local exchange server.

Settings that do work


When i change this to php it doesn't work

But with snmp it does work but sending a mail takes 30 to 40 sec.

Would it work faster with php?
And if so how can i configure glpi so that php can send mails?

In these related post they say they solved it with postfix but i have no idea how to start with this?

Related posts

My config:

Operating system: Linux svnocs01 4.2.0-27-generic #32~14.04.1-Ubuntu SMP Fri Jan 22 15:32:26 UTC 2016 x86_64
PHP 5.5.9-1ubuntu4.21 apache2handler (Core, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, apache2handler, apc, apcu,
    bcmath, bz2, calendar, ctype, curl, date, dba, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap,
    json, ldap, libxml, mbstring, mcrypt, mhash, mysql, mysqli, openssl, pcre, pdo_mysql, posix, readline, session, shmop, snmp,
    soap, sockets, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlwriter, zip, zlib)
Setup: max_execution_time="30" memory_limit="128M" post_max_size="100M" safe_mode="" session.save_handler="files"
Software: Apache/2.4.7 (Ubuntu) (Apache/2.4.7 (Ubuntu) Server at glpi.clarebout.com Port 80)
    Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36
Server Software: (Ubuntu)
    Server Version: 5.5.49-0ubuntu0.14.04.1
    Server SQL Mode:
    Parameters: [email protected]/glpi
    Host info: Localhost via UNIX socket
OK/usr/share/glpi/config : OK
OK/usr/share/glpi/files : OK
OK/usr/share/glpi/files/_dumps : OK
OK/usr/share/glpi/files/_sessions : OK
OK/usr/share/glpi/files/_cron : OK
OK/usr/share/glpi/files/_graphs : OK
OK/usr/share/glpi/files/_lock : OK
OK/usr/share/glpi/files/_plugins : OK
OK/usr/share/glpi/files/_tmp : OK
OK/usr/share/glpi/files/_rss : OK
OK/usr/share/glpi/files/_uploads : OK
OK/usr/share/glpi/files/_pictures : OK
OK/usr/share/glpi/files/_log : OK
Web access to files directory is protectedWeb access to files directory is protected : OK


Re: Slow ticket creation

GLPI version?


Re: Slow ticket creation



Re: Slow ticket creation

Any ideas on how to make ticket creation faster?



Re: Slow ticket creation

In Administration -> Entities -> Notifications there's a field "Delay to send email notifications". Change to 1 or 2 minutes and check if the problem will be solved.

Best Regards


Re: Slow ticket creation

Ok Thanks

Glpi is Flying again :-)