URGENT HELP: James 2.3.2 not responding after few days of run

2015-03-27 Thread Mahesh Sivarama Pillai
Hi, I need an urgent help. We have rolled out James 2.3.2 to production for our email processing application. I see that James getting shutdown (no trace in the phoenix.console) after few days of run. It processes around 100K email a day and sends a good amount of Notification through

AW: URGENT HELP: James 2.3.2 not responding after few days of run

2015-03-27 Thread Bernd Waibel
Hi Mahesh to man open files may result in a memory leak. Could the sysadmin monitor the memory? It is a java prozess. Is there a file called hserr*.pid? That is produced if the vm crashes. Ciao Bernd Ursprüngliche Nachricht Von: Mahesh Sivarama Pillai srm...@gmail.com

Re: URGENT HELP: James 2.3.2 not responding after few days of run

2015-03-27 Thread Mahesh Sivarama Pillai
Hi Bernd, Thanks for the pointers. Let me ask the Sys admin on these details. Btw, will this memory leak be shown in the logs? I couldn't find any OOM errors in any of the logs. When the issue, happened, our team restarted the server. It will create a new PID rite ? Is there a way we can see the

Re: James:: Move Succesfully Processed Email to a separte directory

2015-03-27 Thread Muhammad Ismail
Anyone ? On Tue, Mar 24, 2015 at 8:30 PM, Muhammad Ismail it.is.ism...@gmail.com wrote: Hi After processing an email successfully if change its state to some custom processor inside that processor can we copy/ move file to specified directory ? Actually I am trying to figure out how we

Re: James:: Move Succesfully Processed Email to a separte directory

2015-03-27 Thread Jerry Malcolm
There is a ToFolder mailet provided by James (I'm on James 3b5...). Unfortunately, it is not easily subclassable to set the target folder. But I just cloned the entire mailet from the James source, renamed it, and customized it. You can then add whatever logic you need and define the folder

AW: James:: Move Succesfully Processed Email to a separte directory

2015-03-27 Thread Bernd Waibel
Hello Muhammad, depends on which version von James you are running. And it depends on the question if you want the mail to store and finish, or store and send further. Also it depends if you want it to be stored in a database, a directory, a imap folder,... I suppose you mean a directory on the

Re: AW: James:: Move Succesfully Processed Email to a separte directory

2015-03-27 Thread Muhammad Ismail
Thanks Bernd for detail reply. I am currently using james version 2.3. I have already write a custom mailet which process emails where host-is-local. All I want is after processing email in my custom mailet, I want to store those email in directory like success-emails Remote dilevry is disabled.

AW: AW: James:: Move Succesfully Processed Email to a separte directory

2015-03-27 Thread Bernd Waibel
Yes, should work, if the state of the mail is not changed by your code. -Ursprüngliche Nachricht- Von: Muhammad Ismail [mailto:it.is.ism...@gmail.com] Gesendet: Freitag, 27. März 2015 23:10 An: James Users List Betreff: Re: AW: James:: Move Succesfully Processed Email to a separte

AW: URGENT HELP: James 2.3.2 not responding after few days of run

2015-03-27 Thread Bernd Waibel
Hi Mahesh, Don't missunderstand: Out-of-file-handle COULD lead to a memory leak, consuming memory time by time. But not NEED to. OOMs will normally been shown in the log, as I know, but we got this only for the heap memory. OOMs normally happen if the heap memory will reach the limit, and yes,