-
Notifications
You must be signed in to change notification settings - Fork 1
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
JHOVE 1.26.1 with AM 1.15.1 is buggy #1683
Comments
@fitnycdigitalinitiatives can you give us more info about the transfer and tiff files you tested?.
I just tested in Rocky9 with the following sampledata transfer that contains a TIFF: About that tiff:
And the validation using Jhove works (no error in "Validate format" microservice):
The jhove package in our test VM is:
|
Hi Miguel, This occurred in a transfer with 8 total tiff's. Each is about 35 mb, so not very large. I stopped the transfer after the validate step stalled for 3 hours. To see what was going on, I manually ran JHOVE (1.26.1) on each of the tiff's and it turned out that only 2 of them were causing issues. I took those two files and ran them through JHOVE (1.20.0) on our old AM server and it worked instantly without incident. I have also noticed that the "Validate format" microservice step is generally running a little slower than it was on the previous version of AM. That said, for the two offending tiff's I resaved them using photoshop and then there wasn't a problem validating. So it may be the tiff itself that's the problem, but it doesn't cause issue in the older JHOVE and also opens without issue in any image viewing applications. I also have successfully ingested about 1,000 tiff's without issues so maybe these two are completely one-off's. I can send you one of the files directly if you wanted to share your email. About this tiff:
When I run
So while I was able to remedy this fairly easily by resaving the tiffs, my concern is that this will happen again and that it works fine on the previous AM with older JHOVE, and also the general sluggishness I seeing during validate. Again, lemme know if you want me to directly send you the file. Thanks, Joseph |
Following up on this, I had this occur again and did some more investigating. On my local Mac, I installed jhove 1.26.1 and the latest 1.30 a ran it on the problematic tiff files and it ran without issue. The same file however cause the indefinite hanging when run my AM server which runs on RHEL 9. I tested both on JHOVE 1.26.1 and 1.30. So I suspect it's an issue with RHEL 9 or the version of java that's running on rhel 9. Can I send you one of the files to test on your end with rocky 9? |
I think I figured it out. Actually what was happening is that the default Java max heap size on our server was set on the low side so I upped it and now the problematic Tiff's are no longer causing problems. For future reference, I edited |
Expected behaviour
File validation with JHOVE should work.
Current behaviour
Certain files (Tiff's in my case) are getting indefinitely hung up, and completely stalls ingests. Other times, it returns a 'java.lang.OutOfMemoryError: Java heap space' error. The same files when tested on AM 1.14 on rhel 7 do not cause any problems. see: openpreserve/jhove#920
Steps to reproduce
Run JHOVE 1.26.1 on Tiff file (I can't share publicly because they are private student work).
Your environment (version of Archivematica, operating system, other relevant details)
RHEL 9, AM 1.15.1
For Artefactual use:
Before you close this issue, you must check off the following:
The text was updated successfully, but these errors were encountered: