Elastisearch requirements for OTRS 7

(Ad) #1


I’m completely new to Elasticsearch but I need it for one of our applications and I hope I can get some recommendations on my query.
I plan to install OTRS 7. OTRS uses Elasticsearch for its document search functionality.

For the hardware requirements OTRS recommends using a machine with at least (that does not include Elasticsearch):

• 3 GHz Xeon or comparable CPU
• 8 GB RAM
• 256 GB storage
In our case that will be a VM running on VMware ESXi.

In terms of Elasticsearch the requirements are:

• Elasticsearch 6.x (higher versions are not supported)

It can be installed on the same host as OTRS or on any remote host.

I have collected some performance data over the last 30 days to provide an overview how “busy” the server is / or is not :

###CPU### 4 Core Intel(R) Xeon(R) Gold 6148 CPU @ 2.40GHz


CPU wise there was not much going on.



cat /proc/meminfo
MemTotal:        7990288 kB
MemFree:         3979288 kB
MemAvailable:    4743564 kB
Buffers:            1216 kB
Cached:           790116 kB
SwapCached:            0 kB
Active:          2126240 kB
Inactive:        1242976 kB
Active(anon):    1699452 kB
Inactive(anon):   923468 kB
Active(file):     426788 kB
Inactive(file):   319508 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:       4194300 kB
SwapFree:        4194300 kB
Dirty:                40 kB
Writeback:             0 kB
AnonPages:       2577884 kB
Mapped:            54216 kB
Shmem:             45036 kB
Slab:             431904 kB
SReclaimable:     323788 kB
SUnreclaim:       108116 kB
KernelStack:        9680 kB
PageTables:        23424 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     8189444 kB
Committed_AS:    5073716 kB
VmallocTotal:   34359738367 kB
VmallocUsed:      198472 kB
VmallocChunk:   34359310332 kB
HardwareCorrupted:     0 kB
AnonHugePages:   1241088 kB
CmaTotal:              0 kB
CmaFree:               0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:      120640 kB
DirectMap2M:     4073472 kB
DirectMap1G:     6291456 kB

Memory usage on average is 26% with peeks up to 44%.


Disk usage - not much to add:


Here’s the DB size:
Database Size (0.629 GB) (MySQL 5.7.23)

Given the above what would be your recommendation:

  • How to scale the resource requirements to match OTRS and Elastisearch needs when installed on one VM?
  • Is there anything else to consider ?
  • Oh, and last but not least the LVM will be encrypted with LUKS does that make any difference to Elasticsearch ?

I appreaciate all help in advance !

(Igor Motov) #2

The system requirements for elasticsearch are very application-specific. I think you might get better answers if you ask this question on the OTRS forum instead.

1 Like
(Ad) #3

Thank you @Igor_Motov Are there any other considerations / best practises to look at like 'do not install Elasticsearch on the same host running the application that hosts the data you want to ingest into Elasticsearch ?

(Igor Motov) #4

It depends. In general we recommend a dedicated machine for elasticsearch since most of the defaults and setup recommendations are done assuming that all resources of the machine are devoted to elasticsearch. However, If you have a very small installation, and the application doesn't require a lot of resources, dedicating a separate machine to elasticsearch might not make any sense.

1 Like