Documentation Index
Fetch the complete documentation index at: https://docs.apinizer.com/llms.txt
Use this file to discover all available pages before exploring further.
Stopping Log Writing Due to Disk Fullness
Solution
Space needs to be freed on the disk or the disk needs to be enlarged. After this operation, the disk is notified that it is ready for writing again with the following command:Disk Watermark Settings
Since this situation can lead to high amounts of space being unusable on large disks, it is recommended to be set specifically for your servers. These limits can be updated by giving disk size as percentage or numeric.Setting with Numeric Limit
Setting with Percentage Limit
You should also enter the same values in the configuration file of Elasticsearch that you continue to run instantly afterwards. This is necessary to prevent your settings from being lost in case of a possible restart of the application.
Highlight Error in Kibana
Error Message
Reason
The data size limit that Elasticsearch can perform highlight operation for each record comes as 1,000,000 characters by default. This is the optimal value Elasticsearch has determined for JVM RAM usage and search speed.Solution
This setting can be increased with the following command. If you don’t know your data size, you can adjust it to a suitable limit by increasing this value gradually.”I/O Reactor Status: STOPPED” Error on API Traffic Screens
Error Message
Reason
RAM limits used by Elasticsearch need to be increased.Solution
This setting can be increased from thejvm.options file. It is recommended not to exceed half of total RAM amount.
Maximum Shards Limit Error
Error Message
Reason
_cluster.max_shards_per_node limit has been reached. It is necessary to increase the number of data-holding nodes, reduce the number of shards in the cluster, or increase the shard limit on the system.
Solution 1: Increasing Data Node Count
The recommended solution for this problem is to increase the number of data-holding nodes.
Solution 2: Increasing Shard Limit
Since increasing data nodes may not always be possible, manually managing shards is also a usable solution:Solution 3: Deleting Old Indexes (Not Recommended)
Unassigned Shards - CLUSTER-RECOVERED
Reason
It may not be able to distribute shards after a possible server restart or file loss.Solution Steps
1. Checking Node Status
It is necessary to ensure that all Elasticsearch nodes are running and there is no file loss. Theconfig/elasticsearch.yml file is checked on Elasticsearch master node. IPs of other nodes can be found here and it should be ensured that they are also running. You cannot see these nodes with GET /_nodes request while connected nodes are closed.
2. Checking Cluster Status
Status of nodes, cluster, and shards is checked with the following commands:3. Reactivating Allocation
Distribution on nodes is reactivated with the following command:4. Reroute Operation
When the above command is not sufficient, this operation is forced with the following command:NAS Disk Mount Access Error
Reason
When trying to connect to NAS disk, file system access permissions need to be set.Solution
1. Getting Elasticsearch User ID Information
2. Mounting NAS Disk
Mount operation is performed with the following command by giving appropriate permissions to mount NAS disk:3. Permanent Mount Settings
Add the following lines to thefstab file for the mount operation to be permanent:

