Sysconfig slow saving

Moderator: crythias

Post Reply
nthieuutc
Znuny newbie
Posts: 16
Joined: 19 Apr 2017, 13:28
Znuny Version: 5.0.18

Sysconfig slow saving

Post by nthieuutc »

Hi,
Could someone help me fix this issue.
When I change any configuration in Amin/Sysconfig in web interface, the effecting will be very slow applied to system.
I need restart httpd service and changing will applied.
I don't know what's happened.
Many thanks all,
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Sysconfig slow saving

Post by RStraub »

What do you mean? The saving process takes a long time, or the changes take some time to take affect (effect?) ?

The saving usualy takes a couple of seconds (up to 10s or more). That's because OTRS parses your changes, compares them to the defaults and creates it's "current config" files. Then it resets the cache accordingly.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
nthieuutc
Znuny newbie
Posts: 16
Joined: 19 Apr 2017, 13:28
Znuny Version: 5.0.18

Re: Sysconfig slow saving

Post by nthieuutc »

RStraub wrote:What do you mean? The saving process takes a long time, or the changes take some time to take affect (effect?) ?

The saving usualy takes a couple of seconds (up to 10s or more). That's because OTRS parses your changes, compares them to the defaults and creates it's "current config" files. Then it resets the cache accordingly.
Hi,
Example I click on + to add more filed, it will not show a blank filed immediately, I must click on "update" button at bottom and restart httpd service after that blank file will be showed and in I can input content. After input content, I must click on update button again, wait about 15 seconds. Event after 15 seconds when the updating finish, new filed will not show up. I need restart httpd service again and refresh web browser to see new added filed :(

Actually I don't know what is reason behind that.
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Sysconfig slow saving

Post by jojo »

it seems that there is the apache reload package missing
"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
nthieuutc
Znuny newbie
Posts: 16
Joined: 19 Apr 2017, 13:28
Znuny Version: 5.0.18

Re: Sysconfig slow saving

Post by nthieuutc »

jojo wrote:it seems that there is the apache reload package missing
Hello,
I checked /var/log/messages file and found one error messages as bellow:

OTRS-CGI-89[21328]: [Error][Kernel::System::Main::RequireBaseClass][Line:164]: Module Kernel/System/Ticket/Custom.pm not in @INC (/opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /usr/lib64/perl5/vendor_perl /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd)

Seem have problem with perl? :(

Thank
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Sysconfig slow saving

Post by reneeb »

It seems you activated one SysConfig option (Ticket::CustomModule###001-CustomModule) without providing an exisiting Kernel/System/Ticket/Custom.pm. You should deactivate that option (unless you have a custom module).
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
nthieuutc
Znuny newbie
Posts: 16
Joined: 19 Apr 2017, 13:28
Znuny Version: 5.0.18

Re: Sysconfig slow saving

Post by nthieuutc »

reneeb wrote:It seems you activated one SysConfig option (Ticket::CustomModule###001-CustomModule) without providing an exisiting Kernel/System/Ticket/Custom.pm. You should deactivate that option (unless you have a custom module).
Hello,
:D :D :D
I am very happy when this issue gone. I rename fille /opt/otrs/Kernel/System/Ticket/Custom.pm.example to Custom.pm.
But performace still slow when using Sysconfig.

Thanks
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Sysconfig slow saving

Post by jojo »

please show output of: bin/otrs.CheckModules.pl
"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
nthieuutc
Znuny newbie
Posts: 16
Joined: 19 Apr 2017, 13:28
Znuny Version: 5.0.18

Re: Sysconfig slow saving

Post by nthieuutc »

jojo wrote:please show output of: bin/otrs.CheckModules.pl

Hello,
These are my moudles:

bash-4.2$ ./otrs.CheckModules.pl
o Apache::DBI......................ok (v1.12)
o Apache2::Reload..................ok (v0.13)
o Archive::Tar.....................ok (v1.92)
o Archive::Zip.....................ok (v1.30)
o Crypt::Eksblowfish::Bcrypt.......ok (v0.009)
o Crypt::SSLeay....................ok (v0.64)
o Date::Format.....................ok (v2.24)
o DBI..............................ok (v1.627)
o DBD::mysql.......................ok (v4.023)
o DBD::ODBC........................Not installed! (optional - Required to connect to a MS-SQL database.)
o DBD::Oracle......................Not installed! (optional - Required to connect to a Oracle database.)
o DBD::Pg..........................ok (v2.19.3)
o Encode::HanExtra.................ok (v0.23)
o IO::Socket::SSL..................ok (v1.94)
o JSON::XS.........................ok (v3.01)
o List::Util::XS...................ok (v1.27)
o LWP::UserAgent...................ok (v6.13)
o Mail::IMAPClient.................ok (v3.37)
o IO::Socket::SSL................ok (v1.94)
o ModPerl::Util....................ok (v2.000010)
o Net::DNS.........................ok (v0.72)
o Net::LDAP........................ok (v0.56)
o Template.........................ok (v2.24)
o Template::Stash::XS..............ok (undef)
o Text::CSV_XS.....................ok (v1.00)
o Time::HiRes......................ok (v1.9725)
o Time::Piece......................ok (v1.20_01)
o XML::LibXML......................ok (v2.0018)
o XML::LibXSLT.....................ok (v1.80)
o XML::Parser......................ok (v2.41)
o YAML::XS.........................ok (v0.54)

I am using Mariadb so 2 missed modules are not needed.
nthieuutc
Znuny newbie
Posts: 16
Joined: 19 Apr 2017, 13:28
Znuny Version: 5.0.18

Re: Sysconfig slow saving

Post by nthieuutc »

Hello,
Can someone help me.
Thanks
Post Reply