-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR Uncaught error from Logz.io sender java.lang.IndexOutOfBoundsException: Index 214 is out of bounds [217 - 937] #52
Comments
Hi @slavag, can you provide the appender version you are using, and JDK version? |
Appender is 1.0.19 and JDK is AWS-Corretto 15.And also with OpenJDK 8 |
@tamir-michaeli As temp solution we put |
@slavag Good to hear. We will release a new version next week that will have a better maintained bigqueue module for the underlying queue implementation, hopefully it will fix the issue. |
@slavag new version is out. Please note that it is supported only with JDK 11 and above. |
@slavag Did you had a chance to check the new version? |
@tamir-michaeli sorry, missed that, will check in the coming days and let you know. |
@tamir-michaeli Hi, unfortunately not fixed :
|
Hey @tamir-michaeli , If we are not using that folder the appender is working without true flag. Any suggestions? Thanks Nicolas |
Need to add that /mnt is different disk. But as Nico said it's writable to every user |
@slavag Did the appender worked for some time when setting the tmpdir, or not at all? |
@tamir-michaeli not at all, failing during initialization. |
@tamir-michaeli any update ? |
@slavag We will probably start working on it next week. |
@slavag Can you please share your config? |
Please note that with |
Hi @slavag ,
The jar ran with no issues, for multiple runs as well (to test the loading of data saved in disk). Maybe setting the appender |
@tamir-michaeli Hi, is there any update ? Thanks |
@slavag Please see the message above. I could not reproduce the issue. Can you try running the appender with debug mode? |
@tamir-michaeli sorry , somehow didn't see your message. Sure we'll run it in debug, can you please tell me where to put that debug property ? |
@slavag , add
|
Hey @tamir-michaeli, INFO [main] 05:59:38,972 org.apache.tika.server.core.TikaServerConfig As of Tika 2.5.0, you can set the digester via the AutoDetectParserConfig in tika-config.xml. We plan to remove this commandline option in 2.8.0 When using true |
@tamir-michaeli Hi, is there any update ? Thanks |
@slavag Unfortunately no, i could not reproduce the issue, tried multiple combinations of disks & jar locations. |
@tamir-michaeli we can debug with you in our servers where the issue is constantly reproduced, would you like to do conf call (screen sharing) ? |
@slavag What kind of disk you are using (efs, ebs, fsx)? |
@tamir-michaeli we're using EBS gp3, maybe I forgot to mention it's LVM managed disk on top of EBS gp3 |
@slavag I will try to reproduce the issue with LVM. |
@tamir-michaeli thanks, please use XFS file system on it. |
@slavag Im keeping the issue open until we can solve it, no ETA. |
@tamir-michaeli the problem is that java temp folder in the app that uses logger is pointing LVM disk, and this affects of course integration queue location. So, if we can somehow define different location for integration queue , we definitely can put into /tmp standard folder. Is there any way to define different from default Java temp folder to integration queue storage ? |
@slavag Not sure that i understand, |
@tamir-michaeli we're using |
@slavag You can use queueDir parameter for the disk queue - https://github.com/logzio/logzio-log4j2-appender#parameters-for-disk-queue |
@tamir-michaeli thanks, will check. |
@tamir-michaeli works, thanks |
Hi,
We're using logz.io appender for log4j2 to ship logs. While on x64 servers it's running fine, in the ARM instances we see next exception
Please advise , what can be an issue here ?
Thanks
The text was updated successfully, but these errors were encountered: