Infos:
- Version: 3.3.x
- Used Zammad installation source: Docker-compose
- Operating system: Debian 6 for OTRS, Ubuntu server for zammad
- Browser + version: Importing via console
Expected behavior:
- Import using a Zammad instance (8GB RAM) accessing an OTRS 3.1 instance (8GB RAM).
Actual behavior:
-
Importer creates 14 apache2 processes, each using memory ranging from 0%-30% of the system’s memory:
-
Then, the importer crashes. It throws the following error:
I, [2020-01-02T00:48:26.825901 #31-47420178790820] INFO – : thread#4: PARAMS: {:Subaction=>“Export”, :Object=>“Ticket”, :Limit=>20, :Offset=>1020, :Diff=>0, :Action=>“ZammadMigrator”, :Key=>“mjmvw8hgg8rmjmvw8hgg8r”}
I, [2020-01-02T00:48:45.876746 #31-47420177524040] INFO – : thread#1: ERROR: #<Net::ReadTimeout: Net::ReadTimeout>
#<Thread:0x00005641bdac4a90@/usr/local/bundle/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:471 run> terminated with exception (report_on_exception is true):
Traceback (most recent call last):
9: from /usr/local/bundle/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:inblock in create_with_logging_context' 8: from /opt/zammad/lib/import/otrs.rb:93:in
block (2 levels) in threaded_import’
7: from /opt/zammad/lib/import/otrs.rb:93:inloop' 6: from /opt/zammad/lib/import/otrs.rb:99:in
block (3 levels) in threaded_import’
5: from /opt/zammad/lib/import/otrs.rb:135:inimported?' 4: from /opt/zammad/lib/import/otrs.rb:141:in
import_action’
3: from /opt/zammad/lib/import/otrs/requester.rb:32:inload' 2: from /opt/zammad/lib/import/otrs/requester.rb:77:in
request_result’
1: from /opt/zammad/lib/import/otrs/requester.rb:90:inrequest_json' /opt/zammad/lib/import/otrs/requester.rb:130:in
post’: Zammad Migrator returned an error (RuntimeError)
Traceback (most recent call last):
9: from lib/import/otrs.rb:93:inblock (2 levels) in threaded_import' 8: from lib/import/otrs.rb:93:in
loop’
7: from lib/import/otrs.rb:99:inblock (3 levels) in threaded_import' 6: from lib/import/otrs.rb:135:in
imported?’
5: from lib/import/otrs.rb:141:inimport_action' 4: from lib/import/otrs/requester.rb:32:in
load’
3: from lib/import/otrs/requester.rb:77:inrequest_result' 2: from lib/import/otrs/requester.rb:90:in
request_json’
1: from lib/import/otrs/requester.rb:130:in `post’
RuntimeError (Zammad Migrator returned an error) -
After this error, the importer stops but the memory is still consumed on the OTRS host.
Steps to reproduce the behavior:
- This may not be reproducible without a large OTRS 3.1 installation.