Elastic search has been working fine since install. Suddenly, two days ago the delayed jobs started to appear and now they seem to appear after each new page is added or page updated.
cirrusSearchElasticaWrite: 0 queued; 0 claimed (0 active, 0 abandoned); 32 delayed cirrusSearchIncomingLinkCount: 0 queued; 0 claimed (0 active, 0 abandoned); 28 delayed
and error messages started to appear in runjobs log
2022-09-09 17:38:21 cirrusSearchElasticaWrite Special: method=sendData arguments=["content",[{"data":{"version":37144,"wiki":"....","namespace":0,"namespace_text":"","title":"....","timestamp":"....","create_timestamp":"2022-09-07T20:04:46Z","redirect":[],"incoming_links":0},"params":{"_id":"6309","_type":"","_index":"","_cirrus_hints":{"BuildDocument_flags":0,"noop":{"version":"documentVersion","incoming_links":"within 20%"}}},"upsert":true}]] cluster=default createdAt=1662745101 errorCount=0 retryCount=0 requestId=bfca08d3df0945870a8e9f4c namespace=-1 title= (uuid=fae3faef720547c5afce97a7f131619b,timestamp=1662745101) STARTING 2022-09-09 17:38:21 cirrusSearchElasticaWrite Special: method=sendData arguments=["content",[{"data":{"version":37144,"wiki":"....","namespace":0,"namespace_text":"","title":"....","timestamp":"2022-09-07T20:04:46Z","create_timestamp":"2022-09-07T20:04:46Z","redirect":[],"incoming_links":0},"params":{"_id":"6309","_type":"","_index":"","_cirrus_hints":{"BuildDocument_flags":0,"noop":{"version":"documentVersion","incoming_links":"within 20%"}}},"upsert":true}]] cluster=default createdAt=1662745101 errorCount=0 retryCount=0 requestId=bfca08d3df0945870a8e9f4c namespace=-1 title= (uuid=fae3faef720547c5afce97a7f131619b,timestamp=1662745101) t=41 error=ElasticaWrite job failed: Requeued
There are no error messages appearing anywhere else so what might be the reason for this sudden appearance?
Environment: MediaWiki 1.38.2 PHP 7.4.30 (fpm-fcgi) MariaDB 10.8.3-MariaDB ICU 71.1 LilyPond 2.22.2 Elasticsearch 6.8.23, there was no environmental change since Cirrus search deployment.
For anyone encountering similar problem. Check elasticsearch.log wherever it may reside. Even if there is enough space on partition, elasticsearch checks its own high disk watermark and freezes indexing. Solution: move indexes to partition with more space. Resolved.