I need help.
I have the otrs installed on a machine debian 7.6.
The version of OTRS is 4.0.3
My problem is this, when I type the otrs link in web browser his the CPU goes to 100%.
Some pages I can access, exemplo painel the administration, view ticket and customer page,. More the system is very unstable.
I have other Web systems this machine and when access these systems does not happen this error.
This is the service that is consuming too much CPU:
www-data 8707 8102 6 11:22 ? 00:00:26 /opt/otrs/bin/cgi -k start
Viewing the top command:
top - 11:30:16 up 1 day, 2:20, 1 user, load average: 0,71, 0,24, 0,12
Tasks: 81 total, 2 running, 79 sleeping, 0 stopped, 0 zombie
%Cpu(s): 1,6 us, 0,3 sy, 0,0 ni, 98,1 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
KiB Mem: 2061252 total, 744300 used, 1316952 free, 59392 buffers
KiB Swap: 471036 total, 0 used, 471036 free, 166272 cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
8707 www-data 20 0 408m 121m 6984 R 98,5 6,0 1:12.66 /opt/otrs/bin/c
Would anyone have any idea what might be ??
otrs consuming 100% CPU
Moderator: crythias
-
- Znuny newbie
- Posts: 23
- Joined: 19 Mar 2013, 22:58
- Znuny Version: 3.2.3
-
- Znuny newbie
- Posts: 3
- Joined: 26 Feb 2015, 17:47
- Znuny Version: 3.3.5
- Real Name: Sam DeForest
- Company: Walpole Outdoors LLC
Re: otrs consuming 100% CPU
I have OTRS 3.3.5 running on Ubuntu 14.04 LTS trusty.....Ive not had the issue you are speaking of....have you checked the OTRS logs in the admin panel? I installed my system from the tar file, and found that getting the permissions just right was key, as well as making sure all the proper perl modules were present. Then later found that because i used the tar file for install.....There were a couple *.pm files that needed to be made.
this might not be a solution...but more of a different "angle".
Regards
Sam
this might not be a solution...but more of a different "angle".
Regards
Sam
-
- Znuny newbie
- Posts: 20
- Joined: 05 Jun 2014, 18:56
- Znuny Version: 4.0.1
- Real Name: Paulo Ricardo Abrahão
- Company: Senado Federal
- Location: Brasil
Re: otrs consuming 100% CPU
Hi,
Try disabling the daylight saving time in the Linux.
There is a bug that causes a loop in the function Workintime in time.pm when the system recalculates Tickets Escalations.
I do:
cp /usr/share/zoneinfo/America/Recife /etc/localtime
Regards,
Paulo Ricardo
Try disabling the daylight saving time in the Linux.
There is a bug that causes a loop in the function Workintime in time.pm when the system recalculates Tickets Escalations.
I do:
cp /usr/share/zoneinfo/America/Recife /etc/localtime
Regards,
Paulo Ricardo
OTRS 3.3.x on Linux with MySQL/Oracle database.
-
- 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: otrs consuming 100% CPU
Is it a reported bug?prca wrote: There is a bug that causes a loop in the function Workintime in time.pm when the system recalculates Tickets Escalations.
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
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny newbie
- Posts: 20
- Joined: 05 Jun 2014, 18:56
- Znuny Version: 4.0.1
- Real Name: Paulo Ricardo Abrahão
- Company: Senado Federal
- Location: Brasil
Re: otrs consuming 100% CPU
Maybe . What should I do to report ?
I found the loop in "sub WorkingTime" in file /opt/otrs/Custom/Kernel/System/Time.pm (Addon EscalationPlus) and in /opt/otrs/Kernel/System/Time.pm (normal instalation). OTRS Versions: 3.3.7, 3.3.10 and 4.0.1.
The problem only occurs if your linux is with daylight saving enabled.
Regards,
Paulo Ricardo
I found the loop in "sub WorkingTime" in file /opt/otrs/Custom/Kernel/System/Time.pm (Addon EscalationPlus) and in /opt/otrs/Kernel/System/Time.pm (normal instalation). OTRS Versions: 3.3.7, 3.3.10 and 4.0.1.
The problem only occurs if your linux is with daylight saving enabled.
Regards,
Paulo Ricardo
OTRS 3.3.x on Linux with MySQL/Oracle database.
-
- 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: otrs consuming 100% CPU
Bugs should be reported at http://bugs.otrs.org.
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
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de