我正在将旧的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已禁用
答案 0 :(得分: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,但这不是问题的一部分。