Logstash faield. "Page file size 0 different to configured page"

Hello.
Logstash version - 5.5.1

Logstash cant start. In log:
`

Logstash failed to create queue {"exception"=>"Page file size 0 different to configured page capacity 262144000 for /usr/share/logstash/data/queue/main/page.1400", "backtrace"=>["org/logstash/ackedqueue/ext/JrubyAckedQueueExtLibrary.java:133:in open'", "/usr/share/logstash/logstash-core/lib/logstash/util/wrapped_acked_queue.rb:41:in with_queue'", "/usr/share/logstash/logstash-core/lib/logstash/util/wrapped_acked_queue.rb:30:in create_file_based'", "/usr/share/logstash/logstash-core/lib/logstash/queue_factory.rb:29:in create'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:159:in initialize'", "/usr/share/logstash/logstash-core/lib/logstash/agent.rb:286:in create_pipeline'", "/usr/share/logstash/logstash-core/lib/logstash/agent.rb:95:in register_pipeline'", "/usr/share/logstash/logstash-core/lib/logstash/runner.rb:314:in execute'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:67:in run'", "/usr/share/logstash/logstash-core/lib/logstash/runner.rb:209:in run'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:132:in run'", "/usr/share/logstash/lib/bootstrap/environment.rb:71:in (root)'"]}

`In /usr/share/logstash/data/queue/main:

-rw-r--r-- 1 logstash logstash        34 Sep 30 01:35 checkpoint.head
-rw-r--r-- 1 logstash logstash         0 Jul 11 13:35 .lock
-rw-r--r-- 1 logstash logstash 262144000 Sep 30 02:45 page.1399
-rw-r--r-- 1 logstash logstash         0 Sep 30 02:57 page.1400
-rw-r--r-- 1 logstash logstash 262144000 Sep 29 19:03 page.1421
-rw-r--r-- 1 logstash logstash 262144000 Sep 29 19:06 page.1422

Before it started, FATAL error in the logs:

[2017-09-30T01:35:43,781][FATAL][logstash.runner ] An unexpected error occurred! {:error=>#<ConcurrencyError: interrupted waiting for mutex: null>, :backtrace=>["org/jruby/ext/thread/Mutex.java:94:in lock'", "/usr/share/logstash/logstash-core/lib/logstash/util/wrapped_acked_queue.rb:210:in close_batch'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:366:in worker_loop'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:330:in start_workers'"]}

i change path.queue dirrectory in logstash.yml, and logstash started. But eight hours later again:
`

[2017-09-30T11:26:15,581][FATAL][logstash.runner ] An unexpected error occurred! {:error=>#<ConcurrencyError: interrupted waiting for mutex: null>, :backtrace=>["org/jruby/ext/thread/Mutex.java:94:in lock'", "/usr/share/logstash/logstash-core/lib/logstash/util/wrapped_acked_queue.rb:210:in close_batch'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:366:in worker_loop'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:330:in start_workers'"]}

And "Page file size 0 different to configured page capacity"

`

Ok. I find https://github.com/elastic/logstash/pull/7810
But i cant up Logstash (

I think you need to upgrade to a newer version in order to get the fix for the issue you linked to.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.