Solved: OTRS CPU Hungry

Moderator: crythias

Locked
RBehr
Znuny expert
Posts: 167
Joined: 26 Jan 2011, 13:23
Znuny Version: 3.0.7
Real Name: Rod Behr
Company: Impact
Location: London, United Kingdom
Contact:

Solved: OTRS CPU Hungry

Post by RBehr »

We have OTRS 3.0.6 running on a dedicated dual-core Windows 2003 Server with a separate Microsoft SQL Server 2005 database. We have a small environment, still largely in development before a larger roll out, and will have no more than six or seven users logged in at any one time.

OTRS is running very slowly, the bottleneck being the processors on the OTRS Server. This is especially noticeable with any call to edit the SysConfig - this can cause a delay of upwards of a minute. Perfmon on the OTRS Server shows the CPU maxed out.

Given the small scale of our deployment, the server hardware should be adequate (I can give full spec if required). Any advice on tuning performance would be welcome.

Many thanks.
Last edited by RBehr on 24 May 2011, 15:12, edited 3 times in total.
Rod Behr
Software Design Manager and Database Analyst | Impact Audiovisual | London
Installation: OTRS 3.0.7, Apache 2, Strawberry Perl 5 on Ubuntu 10.04.3 Server with separate MySQL Server, also on Ubuntu 10.04.3
Wolfgangf
Znuny ninja
Posts: 1029
Joined: 13 Apr 2009, 12:26
Znuny Version: 6.0.13
Real Name: Wolfgang Fürtbauer
Company: PBS Logitek GmbH
Location: Pinsdorf

Re: OTRS CPU Hungry

Post by Wolfgangf »

Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
RBehr
Znuny expert
Posts: 167
Joined: 26 Jan 2011, 13:23
Znuny Version: 3.0.7
Real Name: Rod Behr
Company: Impact
Location: London, United Kingdom
Contact:

Re: OTRS CPU Hungry

Post by RBehr »

I will review and test all options in this article and then come back if this remains a problem.

Many thanks!
Rod Behr
Software Design Manager and Database Analyst | Impact Audiovisual | London
Installation: OTRS 3.0.7, Apache 2, Strawberry Perl 5 on Ubuntu 10.04.3 Server with separate MySQL Server, also on Ubuntu 10.04.3
ferrosti
Znuny superhero
Posts: 723
Joined: 10 Oct 2007, 14:30
Znuny Version: 3.0
Location: Hamburg, Germany

Re: Solved: OTRS CPU Hungry

Post by ferrosti »

Sysconfig being slow is most likely due an unperforming XML parser.
In case OTRS itself is slow, make sure perl runs integrated in your webserver and not as CGI application.
openSuSE on ESX
IT-Helpdesk: OTRS 3.0
Customer Service: OTRS 3.0 (upgraded from 2.3)
Customer Service (subsidiary): OTRS 3.0
+additional test and development systems
RBehr
Znuny expert
Posts: 167
Joined: 26 Jan 2011, 13:23
Znuny Version: 3.0.7
Real Name: Rod Behr
Company: Impact
Location: London, United Kingdom
Contact:

Re: Solved: OTRS CPU Hungry

Post by RBehr »

Thanks ferrosti. The XML parser is not mentioned in the link supplied by Wolfgangf. Any chance you could give me a few pointers?
Rod Behr
Software Design Manager and Database Analyst | Impact Audiovisual | London
Installation: OTRS 3.0.7, Apache 2, Strawberry Perl 5 on Ubuntu 10.04.3 Server with separate MySQL Server, also on Ubuntu 10.04.3
ferrosti
Znuny superhero
Posts: 723
Joined: 10 Oct 2007, 14:30
Znuny Version: 3.0
Location: Hamburg, Germany

Re: OTRS CPU Hungry

Post by ferrosti »

Nope, sorry, I run all my machines on linux. They are less expensive and perform better 8) :lol:
openSuSE on ESX
IT-Helpdesk: OTRS 3.0
Customer Service: OTRS 3.0 (upgraded from 2.3)
Customer Service (subsidiary): OTRS 3.0
+additional test and development systems
RBehr
Znuny expert
Posts: 167
Joined: 26 Jan 2011, 13:23
Znuny Version: 3.0.7
Real Name: Rod Behr
Company: Impact
Location: London, United Kingdom
Contact:

Re: OTRS CPU Hungry

Post by RBehr »

Yeah... we're giving some thought to moving OTRS to Linux or some other flavour of UNIX.

I'll have a look for some Windows pointers in the meantime. Thanks.
Rod Behr
Software Design Manager and Database Analyst | Impact Audiovisual | London
Installation: OTRS 3.0.7, Apache 2, Strawberry Perl 5 on Ubuntu 10.04.3 Server with separate MySQL Server, also on Ubuntu 10.04.3
Locked