Logstash 7.0.1 Exception in pipelineworker

I am getting the following exceptions constantly.

[2019-05-25T12:37:07,301][ERROR][org.logstash.execution.WorkerLoop] Exception in pipelineworker, the pipeline stopped processing new events, please check your filter configuration and restart Logstash.
org.jruby.exceptions.SystemCallError: (SystemCallError) Unknown error (SystemCallError) - /home/testgrp/kc/data/restccu-20190524.log
	at org.jruby.RubyIO.write(org/jruby/RubyIO.java:1472) ~[jruby-complete-9.2.7.0.jar:?]
	at org.jruby.RubyIO.write(org/jruby/RubyIO.java:1437) ~[jruby-complete-9.2.7.0.jar:?]
	at home.testgrp.kc.logstash_minus_7_dot_0_dot_1.vendor.bundle.jruby.$2_dot_5_dot_0.gems.logstash_minus_output_minus_file_minus_4_dot_2_dot_6.lib.logstash.outputs.file.write(/home/testgrp/kc/logstash-7.0.1/vendor/bundle/jruby/2.5.0/gems/logstash-output-file-4.2.6/lib/logstash/outputs/file.rb:374) ~[?:?]
	at home.testgrp.kc.logstash_minus_7_dot_0_dot_1.vendor.bundle.jruby.$2_dot_5_dot_0.gems.logstash_minus_output_minus_file_minus_4_dot_2_dot_6.lib.logstash.outputs.file.multi_receive_encoded(/home/testgrp/kc/logstash-7.0.1/vendor/bundle/jruby/2.5.0/gems/logstash-output-file-4.2.6/lib/logstash/outputs/file.rb:143) ~[?:?]
	at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1792) ~[jruby-complete-9.2.7.0.jar:?]
	at home.testgrp.kc.logstash_minus_7_dot_0_dot_1.vendor.bundle.jruby.$2_dot_5_dot_0.gems.logstash_minus_output_minus_file_minus_4_dot_2_dot_6.lib.logstash.outputs.file.multi_receive_encoded(/home/testgrp/kc/logstash-7.0.1/vendor/bundle/jruby/2.5.0/gems/logstash-output-file-4.2.6/lib/logstash/outputs/file.rb:143) ~[?:?]
	at org.jruby.RubyHash.each(org/jruby/RubyHash.java:1419) ~[jruby-complete-9.2.7.0.jar:?]
	at home.testgrp.kc.logstash_minus_7_dot_0_dot_1.vendor.bundle.jruby.$2_dot_5_dot_0.gems.logstash_minus_output_minus_file_minus_4_dot_2_dot_6.lib.logstash.outputs.file.multi_receive_encoded(/home/testgrp/kc/logstash-7.0.1/vendor/bundle/jruby/2.5.0/gems/logstash-output-file-4.2.6/lib/logstash/outputs/file.rb:135) ~[?:?]
	at org.jruby.ext.thread.Mutex.synchronize(org/jruby/ext/thread/Mutex.java:165) ~[jruby-complete-9.2.7.0.jar:?]
	at home.testgrp.kc.logstash_minus_7_dot_0_dot_1.vendor.bundle.jruby.$2_dot_5_dot_0.gems.logstash_minus_output_minus_file_minus_4_dot_2_dot_6.lib.logstash.outputs.file.multi_receive_encoded(/home/testgrp/kc/logstash-7.0.1/vendor/bundle/jruby/2.5.0/gems/logstash-output-file-4.2.6/lib/logstash/outputs/file.rb:134) ~[?:?]
	at home.testgrp.kc.logstash_minus_7_dot_0_dot_1.logstash_minus_core.lib.logstash.outputs.base.multi_receive(/home/testgrp/kc/logstash-7.0.1/logstash-core/lib/logstash/outputs/base.rb:87) ~[?:?]
	at org.logstash.config.ir.compiler.OutputStrategyExt$AbstractOutputStrategyExt.multi_receive(org/logstash/config/ir/compiler/OutputStrategyExt.java:118) ~[logstash-core.jar:?]
	at org.logstash.config.ir.compiler.AbstractOutputDelegatorExt.multi_receive(org/logstash/config/ir/compiler/AbstractOutputDelegatorExt.java:101) ~[logstash-core.jar:?]
	at home.testgrp.kc.logstash_minus_7_dot_0_dot_1.logstash_minus_core.lib.logstash.java_pipeline.start_workers(/home/testgrp/kc/logstash-7.0.1/logstash-core/lib/logstash/java_pipeline.rb:235) ~[?:?]
[2019-05-25T12:37:07,302][ERROR][org.logstash.execution.WorkerLoop] Exception in pipelineworker, the pipeline stopped processing new events, please check your filter configuration and restart Logstash.
org.jruby.exceptions.SystemCallError: (SystemCallError) Unknown error (SystemCallError) - /home/testgrp/kc/data/restccu-20190524.log

It seems the exception always happened when it tried to write the output file that was getting to the size around 2G. Is it a known issue? Any idea what could cause this?

Thanks

No idea on what is going on. I end up rotating the output file to make sure it is not bigger than 2G. Not an ideal solution, but at least it works around the issue.