Re: James 3.8, JPA Keeps Crashing // ActiveMQ Issue
Benoit TELLIER <[email protected]> Tue, 7 Apr 2026 18:15:26 +0000
| Newsgroups | gmane.comp.jakarta.james.user |
|---|---|
| Message-ID | <[email protected]> |
---=Part.8c7.cdcd10b9e16f51a.19d69280f4f.15c162c89fbda823=- Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Accept-Language: fr-FR, en-US, vi-VN, ru-RU, ar-TN, it-IT, de-DE Content-Language: fr-FR Hi Gilberto Out of curiosity, how large is the video file? Clearing the f= aulty mail is needed to restore the server=2E Backup then clear files for A= ctiveMQ=2E=2E=2E Can you also share the JVM options used to run James? --= =C2=A0 Best regards, Benoit TELLIER General manager of Linagora VIETNAM= =2E Product owner for Twake-Mail product=2E Chairman of the Apache James pr= oject=2E Mail: btellier@linagora=2Ecom Tel: (0033) 6 77 26 04 58 (WhatsApp= , Signal) Le avr=2E 7, 2026 10:47 AM, de Rene Cordier <rcordier@apache=2E= org>Hi Gilberto, I ain't much of a JPA expert but I will try to answer to = the best of my capabilities, hoping it helps you=2E I think the EmbeddedA= ctiveMq class creates a default activemq broker with default storage setti= ngs, which must be around 20mb=2E The attachment of your user seems slitgh= ly bigger than this limit, filling up the queue=2E James keeps crashing th= en I guess as the message keeps staying in the queue=2E Is the faulty ema= il important to keep or not? If not can try to clear away the queue=2E The= data of activemq should be inside the container at /var/store/activemq=2E= I think you can try to clean what's in /var/store/activemq/brokers/KahaD= B/* (cf github=2Ecom/apache/james-project/blob/3=2E8=2Ex/server/queue/queu= e-activemq/src/main/java/org/apache/james/queue/activemq/EmbeddedActiveMQ= =2Ejava) I guess you could back up the data as well, from /var/store/= activemq, and reinject the data in an external volume with more space that= you can mount then in /var/store/activemq ? There is unfortunately = no configuration for ActiveMQ storage space=2E The configuration file woul= d be activemq=2Eproperties, but I think it is just about some metrics conf= iguration so far=2E But maybe that could be a nice contribution to propose= ? Regarding the migration from 3=2E8 to 3=2E9, here there is a file for u= pgrade instructions in general: github=2Ecom/apache/james-project/blob/mas= ter/upgrade-instructions=2Emd#390-version I must admit people need to figu= re out which upgrade concerns which product, if concerned or not, it's not= really practical sorry=2E We got room for improvement here I think too=2E= Let me know if this helps you=2E Good luck :) Rene=2E On 4/3/26 08:05,= Gilberto Espinoza wrote: > Hi Apache James Brain Trust, > > I am = having issues with my James server=2E I am running James 3=2E8, JPA in a &g= t; Docker Container=2E A user was attempting to email a large video file an= d > that seems to have crashed the server=2E I get this message in the l= og file: > > [WARN ] o=2Ea=2Ea=2Eb=2Er=2EQueue - Usage(Main:store:que= ue://spool:store) > percentUsage=3D100%, usage=3D20779975, limit=3D20765= 548, > percentUsageMinDelta=3D1%;Parent:Usage(Main:store) percentUsage= =3D100%, > usage=3D20779975, limit=3D20765548, percentUsageMinDelta=3D1%= : Persistent store > is Full, 100% of 20765548=2E Stopping producer >= (ID:7a04cd6de807-43041-1775136440917-5:2:1:1) to prevent flooding > que= ue://spool=2E > > I am struggling to figure out how to resolve this i= ssue (I found this link, > but I am unable to figure where the ActiveMQ = files are located) ( > knowledge=2Einformatica=2Ecom/s/article/Persisten= t-store-is-Full-100-of-Stopping-producer-ID-to-prevent-flooding-error-in-Da= taExchange-logs?language=3Den_US > )=2E > > I would appreciate you= r help in resolving this issue (restarting the server > has not helped)= =2E How do you stop the "producer"? > > Also, where can I find the co= nfiguration file for ActiveMQ? > > I would also like to know how to b= ack up the database files, if that is > possible? > > Is there any= documentation on how to migrate from 3=2E8 to 3=2E9? > > I look forw= ard to any feedback=2E > > Best regards, > > Gil Espinoza > = --------------------------------------------------------------------- To u= nsubscribe, e-mail: server-user-unsubscribe@james=2Eapache=2Eorg For additi= onal commands, e-mail: server-user-help@james=2Eapache=2Eorg ---=Part.8c7.cdcd10b9e16f51a.19d69280f4f.15c162c89fbda823=---