1

古いOTRSインストールを新しいサーバーに移動しています。後のステップで、新しいバージョンにアップグレードしたいと考えています。

New VM: Fresh Debian stable 64bit, dedicated mysql-server 5.6, OTRS 2.4.12
Old VM: Old Debian stable 32bit, small localhost mysql, OTRS 2.4.12

古いサーバーは非常に高速ですが、新しいサーバーは非常に低速です。

Response::Agent: 64s taken (URL:Action=AgentTicketQueue&QueueID=2&View=)
Response::Agent: 63s taken (URL:Action=AdminLog)
Response::Agent: 64s taken (URL:Action=AgentTicketQueue&QueueID=2&View=)
Response::Agent: 64s taken (URL:Action=AdminLog)
Response::Agent: 64s taken (URL:Action=AgentTicketQueue&QueueID=2&View=)
Response::Agent: 63s taken (URL:Action=AdminLog)
Response::Agent: 64s taken (URL:Action=AgentTicketQueue&QueueID=2&View=)
Response::Agent: 64s taken (URL:Action=AdminLog)
Response::Agent: 64s taken (URL:Action=AdminSysConfig&Subaction=Edit&SysConfigSubGroup=Core&SysConfigGroup=Framework&)
Response::Agent: 63s taken (URL:Action=AdminLog)
Response::Agent: 66s taken (URL:Action=AdminSysConfig&Subaction=Update)
Response::Agent: 64s taken (URL:Action=AdminSysConfig&Subaction=Edit&SysConfigSubGroup=Core::PerformanceLog&SysConfigGroup=Framework&)

perl_module がロードされます:

apache2ctl -M
  Loaded Modules:
  core_module (static)
  ....
  perl_module (shared)

apache2-httpd-new.include.conf を使用し、otrs-2.4.12/scripts/apache2-perl-startup.pl を変更しました。

use DBD::mysql ();
use Kernel::System::DB::mysql;

DNS レコードを確認し、AdminLog を確認しましたが、他に考えがありません。CheckMXRecord が無効になっています

4

1 に答える 1

0

理由はわかりませんが、将来の DenverCoder9 のために:

Apache2 DBD perl モジュールをインストールしました。

perl -MCPAN -e 'install Apache::DBI'

そしてapache2-perl-startup.plを変更しました

use CGI (); CGI->compile(':all');
#use CGI ();
#CGI->compile(':cgi');
use CGI::Carp ();

use Apache::DBI ();
Apache::DBI->connect_on_init('DBI:mysql:otrs;host=loadbalancer', 'otrs', '....');
use DBI ();

今では古いシステムと同じくらい高速です。古いデータベースを新しい専用の mysqlserver に既に移行しましたが、これは問題の一部ではありませんでした。

于 2014-10-09T09:49:10.507 に答える