Why changing stuff on sysconfig is so painfully slow?

Moderator: crythias

Locked
voiprodrigo
Znuny newbie
Posts: 62
Joined: 03 Dec 2014, 18:49
Znuny Version: OTRS 4
Location: Portugal
Contact:

Why changing stuff on sysconfig is so painfully slow?

Post by voiprodrigo »

If I need to add some new key/value to a section, or change something, it takes large amount of seconds. I guess it "recompiles" the whole config for every little change, its excruciating. Is this the same for everyone, or maybe just my installation?!
Linux (Ubuntu 14.04.1 LTS) | MySQL 5.5.40 | OTRS 4.0.7
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Why changing stuff on sysconfig is so painfully slow?

Post by jojo »

Sysconfig is a XML and file based operation. So it needs CPU and Disk IO. In most cases on virtual machines Disk IO is very bad
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
voiprodrigo
Znuny newbie
Posts: 62
Joined: 03 Dec 2014, 18:49
Znuny Version: OTRS 4
Location: Portugal
Contact:

Re: Why changing stuff on sysconfig is so painfully slow?

Post by voiprodrigo »

As is the case, this instance runs on top of ESX. This makes administration a PITA. Moving all configuration to database would benefit the application immensely, although I can imagine it's no easy task. Wonder if something is planned in that regard..
Linux (Ubuntu 14.04.1 LTS) | MySQL 5.5.40 | OTRS 4.0.7
Locked