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 2012-03-01 12:44:01

strojniak
Member
Registered: 2010-03-10
Posts: 19

Why save new ticket etc. takes so long ?

Why some basic operations like saveing new ticket, assign technician, change requester takes so long (about 1 min.) in my case ? Very often I got mail notification with new ticket / update ticket message  then webpage refresh.

Any suggestions ? MySQL configuration tips ?

OS ubuntu 10.04 LTS server
2GB RAM
 
GLPI  0.83 ( => /var/www/helpdesk)

 
Server 
 
Operating system : Linux helpdesk02 2.6.32-37-server #81-Ubuntu SMP Fri Dec 2 20:49:12 UTC 2011 x86_64
PHP 5.3.2-1ubuntu4.14 (Core, PDO, Phar, Reflection, SPL, SimpleXML, apache2handler, bcmath, bz2, calendar, ctype, curl, date,
    dba, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imap, json, ldap, libxml, mbstring, mcrypt, mhash, mysql,
    mysqli, openssl, pcre, pdo_mysql, posix, session, shmop, soap, sockets, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx,
    xml, xmlreader, xmlwriter, zip, zlib)
Setup: memory_limit="128M" max_execution_time="30" safe_mode="" session.save_handler="files" post_max_size="8M"
    upload_max_filesize="2M" 
Software: Apache/2.2.14 (Ubuntu) (Apache/2.2.14 (Ubuntu) Server at helpdesk.spsk4.lublin.pl Port 80)
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; InfoPath.3; .NET4.0C; .NET4.0E)
MySQL: 5.1.41-3ubuntu12.10 (helpdesk@localhost/helpdesk)

../config : OK
../files : OK
../files/_dumps : OK
../files/_sessions : OK
../files/_cron : OK
../files/_cache/ : OK
../files/_graphs : OK
../files/_log : OK

 
LDAP directories 
 
Server: '[cut]', Connection filter:
        '(&(objectclass=user)(objectcategory=person))', rootdn (for non anonymous binds): 'CN=glpi[cut]', Use TLS: '0'

 
 Mysql replicate 
 
Active : No

 
Notifications / Mails Receiver 
 
Way of sending emails: SMTP (helpdesk@[domain])
Mails Receiver

 
OCS Inventory NG 
 
Host for the OCSNG database : 'localhost', Connection to the OCSNG database failed, Use the OCSNG software dictionary : 0 

Plugins list 
 

Offline

#2 2012-03-01 12:45:53

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: Why save new ticket etc. takes so long ?

Probably notification delay.

Best practivce : install a local smtp relay


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#3 2012-03-01 13:10:24

strojniak
Member
Registered: 2010-03-10
Posts: 19

Re: Why save new ticket etc. takes so long ?

remi wrote:

Probably notification delay.

Best practivce : install a local smtp relay

And then should I change email notification configuration ? Which way ?

Offline

#4 2012-03-01 13:16:56

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: Why save new ticket etc. takes so long ?

1/ disable notification to check the issue is smtp related

2/ use "localhost" as the smtp relay (must be installed / configured and running)


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#5 2012-03-01 13:29:03

strojniak
Member
Registered: 2010-03-10
Posts: 19

Re: Why save new ticket etc. takes so long ?

remi wrote:

1/ disable notification to check the issue is smtp related

2/ use "localhost" as the smtp relay (must be installed / configured and running)

Ad 1. Yes, that's it.
Ad 2 You mean (just to make sure):

Way of sending emails: SMTP
SMTP Host: localhost
SMTP login / pass: none

is it correct ?

Offline

#6 2012-03-01 13:52:46

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: Why save new ticket etc. takes so long ?

Yes.

But as I already said, you must check that "localhost" is a smtp relay.


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#7 2012-03-01 14:19:01

strojniak
Member
Registered: 2010-03-10
Posts: 19

Re: Why save new ticket etc. takes so long ?

remi wrote:

But as I already said, you must check that "localhost" is a smtp relay.

What did you mean ?

I installed / configured smtp-relay (ssmtp). Then checked it using mail command. Everything is OK but glpi is unable to send email notification ...

Offline

#8 2012-03-01 15:48:42

strojniak
Member
Registered: 2010-03-10
Posts: 19

Re: Why save new ticket etc. takes so long ?

Solved.

I replaced ssmtp with exim4. It's working like a charm now.

Offline

Board footer

Powered by FluxBB