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 回答