Seams like OrientDB is again having issues - guess a restart would help. But I want Picapport to scan all 250k images with the PAI plugin. This is not done anymore, after I restart picapport.
Guess this happened while I used the webinterface to filter for newly "PAI:" tagged images while Picapport was still in the middle of scanning.
How can I fix this?
How can I give OrientDB more ressources the next time (100 locks seams not enough)?
Thanks
==== debug log========
DEBUG@ 12:06:31.420 Photo.saveToDocument: OrientDB-Workaround PHOTO_FUZZY_SEARCH: T$blume$ CP$156$ T$blüte$ CP$152$ CP$1264$ CP$24$ CP$8$ CP$3537$ CP$328$ CP$014$ CP$62$ T$pflanzen$ CP$135686$ CP$86$
DEBUG@ 12:06:31.423 DbWrapper.updatePhoto: /...DSC_6073.JPG
DEBUG@ 12:06:31.424 DbWrapper.reorgKeywordTreeAfterRemoval:keywords nothing to do.
DEBUG@ 12:06:31.424 DbWrapper.reorgKeywordTreeAfterRemoval:persons nothing to do.
DEBUG@ 12:06:31.424 PhotoSelectionProcessor.processFile: Proc=PaProcRunGroovy file=/...DSC_6074.JPG data={"proc":"PaProcRunGroovy","pars":{"addonId":"pagpPicApportAITagger
-PicApportAITagger","processAll":true,"id":"f1","mode":"0","tagPrefix":"$PicApportAI","pathToJava":"","javaOptions":"","updateDefaults":false,"analyseResult":false}}
DEBUG@ 12:06:31.424 PaProcRunGroovy.processPhoto[-1]: uid=SysPicApport jpg=/...DSC_6074.JPG
DEBUG@ 12:06:31.425 FileSystemMonitor.reorgIgnoredFiles: removed 1 entrys.
DEBUG@ 12:06:31.425 Groovy-pagpPicApportAITagger-PicApportAITagger:INFO de.contecon.dl4j.ModelEvaluator.Main - loading image /...DSC_6074.JPG
EXCEP@ ============================================================
EXCEP@ Exception at: 2021-11-15 12:06:31
EXCEP@ Msg:
EXCEP@ null
EXCEP@ ------------------------------------------------------------
EXCEP@ java.lang.reflect.InvocationTargetException
EXCEP@ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
EXCEP@ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
EXCEP@ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
EXCEP@ at java.lang.reflect.Method.invoke(Method.java:498)
EXCEP@ at de.contecon.picapport.server.servlet.PicApportJsonServlet.doGet(Unknown Source)
EXCEP@ at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
EXCEP@ at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
EXCEP@ at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
EXCEP@ at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:550)
EXCEP@ at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
EXCEP@ at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
EXCEP@ at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
EXCEP@ at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434)
EXCEP@ at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
EXCEP@ at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
EXCEP@ at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
EXCEP@ at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
EXCEP@ at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349)
EXCEP@ at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
EXCEP@ at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
EXCEP@ at org.eclipse.jetty.server.Server.handle(Server.java:516)
EXCEP@ at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388)
EXCEP@ at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:633)
EXCEP@ at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380)
EXCEP@ at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
EXCEP@ at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
EXCEP@ at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
EXCEP@ at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
EXCEP@ at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
EXCEP@ at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
EXCEP@ at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
EXCEP@ at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
EXCEP@ at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:386)
EXCEP@ at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
EXCEP@ at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
EXCEP@ at java.lang.Thread.run(Thread.java:748)
EXCEP@ Caused by: com.orientechnologies.common.concur.lock.OLockException: No more resources available in pool (max=100). Requested resource: null
EXCEP@ at com.orientechnologies.common.concur.resource.OResourcePool.getResource(OResourcePool.java:74)
EXCEP@ at com.orientechnologies.orient.core.db.ODatabasePoolImpl.acquire(ODatabasePoolImpl.java:69)
EXCEP@ at com.orientechnologies.orient.core.db.ODatabasePool.acquire(ODatabasePool.java:132)
EXCEP@ at de.contecon.picapport.db.PicApportDBService.getPooledDbInstance(Unknown Source)
EXCEP@ at de.contecon.picapport.db.PicApportDBService.getDbWrapper(Unknown Source)
EXCEP@ at de.contecon.picapport.PicApportStatus.toJSON(Unknown Source)
EXCEP@ at de.contecon.picapport.server.servlet.PicApportJsonServlet.doCmdGetStatus(Unknown Source)
EXCEP@ ... 36 more
DEBUG@ 12:06:32.760 AddonAutoExecutionManager.NewPhotoConsumer.runAddon pagpPicApportAITagger-PicApportAITagger running: 21 von 100
DEBUG@ 12:06:34.260 AddonAutoExecutionManager.NewPhotoConsumer.runAddon pagpPicApportAITagger-PicApportAITagger running: 21 von 100
^^^^^^ Crawler and Plugins still working.