You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2017-04-12 11:49:32

GoempieK
Member
Registered: 2016-07-01
Posts: 72

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

82b6b9ad2bbc4c2cab49209b1859fb01.png

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
http://forum.glpi-project.org/viewtopic.php?id=156298
http://forum.glpi-project.org/viewtopic.php?id=12475

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"
    upload_max_filesize="100M"
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: root@localhost/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

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

Offline

#2 2017-04-13 06:55:14

eulogy
Member
Registered: 2013-10-11
Posts: 118

Re: Slow ticket creation

GLPI version?

Offline

#3 2017-04-13 09:43:27

GoempieK
Member
Registered: 2016-07-01
Posts: 72

Re: Slow ticket creation

9.1.2

Offline

#4 2017-04-19 09:23:29

GoempieK
Member
Registered: 2016-07-01
Posts: 72

Re: Slow ticket creation

Any ideas on how to make ticket creation faster?

Thanks

Offline

#5 2017-04-19 18:02:42

wanderlei.huttel
Member
Registered: 2017-04-03
Posts: 3

Re: Slow ticket creation

Hello
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
Wanderlei

Offline

#6 2017-04-20 13:22:23

GoempieK
Member
Registered: 2016-07-01
Posts: 72

Re: Slow ticket creation

Ok Thanks

Glpi is Flying again :-)

Offline

Board footer

Powered by FluxBB