Hi Michael, I saw lot of errors like the one given below in the logs. Could this cause any file descriptor leak ?
19/03/15 20:13:56 ERROR smtpserver: Socket to xxxx-xxx-xxxx-xxx-xx.com (<xxx.xxx.xxx.xxx>) closed remotely. java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:196) at java.net.SocketInputStream.read(SocketInputStream.java:122) at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) at java.io.BufferedInputStream.read(BufferedInputStream.java:254) at org.apache.james.util.CRLFTerminatedReader.read(CRLFTerminatedReader.java:153) at org.apache.james.util.CRLFTerminatedReader.readLine(CRLFTerminatedReader.java:113) at org.apache.james.smtpserver.SMTPHandler.readCommandLine(SMTPHandler.java:751) at org.apache.james.smtpserver.SMTPHandler.handleConnection(SMTPHandler.java:372) at org.apache.james.util.connection.ServerConnection$ClientConnectionRunner.run(ServerConnection.java:432) at org.apache.excalibur.thread.impl.ExecutableRunnable.execute(ExecutableRunnable.java:55) at org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:116) Thanks Mahesh On Sun, Mar 15, 2015 at 8:33 PM, Mahesh Sivarama Pillai <srm...@gmail.com> wrote: > Thanks Michael.. I will try it and and post the outcome here... > > Thanks > Mahesh > > On Sun, Mar 15, 2015 at 7:44 PM, Michael Bailly <mbai...@linagora.com> > wrote: > >> Hello Mahesh, >> >> you're right, increasing ulimit will solve your issue. However if the >> issue comes back with a high ulimit, it may show a file descriptor leak. So >> I suggest you increase ulimit to a big number, and tell this list if the >> problem is coming back. >> >> Regards >> >> Le 15/03/2015 03:21, Mahesh Sivarama Pillai a écrit : >> >> Hi, >>> >>> Can someone provide some inputs please ? >>> >>> Thanks >>> Mahesh >>> >>> On Sat, Mar 14, 2015 at 6:59 AM, Mahesh Sivarama Pillai < >>> srm...@gmail.com> >>> wrote: >>> >>> Hi All, >>>> >>>> I am getting the following error in one of our James installations. >>>> This >>>> is not related to File repository. I checked the source. This is being >>>> thrown from MimeMessageInputStreamSource where it tries to create a temp >>>> file. Increasing the ulimit will solve the problem ? Please provide your >>>> comments and appreciate your help on this. >>>> >>>> >>>> javax.mail.MessagingException: Unable to retrieve the data: Too many >>>> open >>>> files; >>>> nested exception is: >>>> java.io.IOException: Too many open files >>>> at >>>> org.apache.james.core.MimeMessageInputStreamSource.<init>( >>>> MimeMessageInputStreamSource.java:101) >>>> at org.apache.james.core.MailImpl.<init>(MailImpl.java:181) >>>> at >>>> org.apache.james.smtpserver.DataCmdHandler.processMail( >>>> DataCmdHandler.java:266) >>>> at >>>> org.apache.james.smtpserver.DataCmdHandler.doDATA( >>>> DataCmdHandler.java:133) >>>> at >>>> org.apache.james.smtpserver.DataCmdHandler.onCommand( >>>> DataCmdHandler.java:81) >>>> at >>>> org.apache.james.smtpserver.SMTPHandler.handleConnection( >>>> SMTPHandler.java:393) >>>> at >>>> org.apache.james.util.connection.ServerConnection$ >>>> ClientConnectionRunner.run(ServerConnection.java:432) >>>> at >>>> org.apache.excalibur.thread.impl.ExecutableRunnable. >>>> execute(ExecutableRunnable.java:55) >>>> at >>>> org.apache.excalibur.thread.impl.WorkerThread.run( >>>> WorkerThread.java:116) >>>> >>>> Thanks >>>> Mahesh >>>> >>>> >> >> -- >> Michael BAILLY >> Manager Equipe OpenPaaS >> >> Tel: 06 60 30 21 16 >> LINAGORA, 80 rue Roque de Fillol - 92800 PUTEAUX >> >> ######################### >> >> Open PaaS: XXI century collaboration >> https://www.youtube.com/channel/UCgCZPNq1-g49VfOaxjbExlg >> @AwesomePaaS >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org >> For additional commands, e-mail: server-user-h...@james.apache.org >> >> >