james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrei Ivanov" <my...@surfeu.fi>
Subject James load test (some results)
Date Thu, 30 May 2002 09:01:18 GMT
Hi,
I performed some James load tests in very simple configuration: James acted
as SMTP Gateway

1. received e-mails
2. usual processing
3. remotely send e-mail (SMTP over ssl connection)

Size of e-mails was about 4K each. I had up to three clients "attacking"
James and one GW which acted as listener on the other end.
James was running on W2K, PIII650, 256MB RAM, Paging file 368M.

James crashed when number of request rate exceeded 30 requests / per second.
Exception is below.

Regards, Andrei

java.io.FileNotFoundException:
C:\DOCUME~1\aivanov\LOCALS~1\Temp\Mail1022743442819-16253054.m64
(Insufficient
system resources exist to complete the requested service)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(Unknown Source)
        at java.io.FileInputStream.<init>(Unknown Source)
        at
org.apache.james.core.MimeMessageInputStreamSource.getInputStream(MimeMessag
eInputStreamSource.java
:63)
        at
org.apache.james.core.MimeMessageWrapper.writeTo(MimeMessageWrapper.java:152
)
        at org.apache.james.core.MailImpl.writeMessageTo(MailImpl.java:216)
        at
org.apache.james.mailrepository.AvalonMailRepository.store(AvalonMailReposit
ory.java:196)
        at org.apache.james.James.sendMail(James.java:274)
        at java.lang.reflect.Method.invoke(Native Method)
        at
org.apache.avalon.phoenix.components.application.BlockInvocationHandler.invo
ke(BlockInvocationHandl
er.java:91)
        at $Proxy9.sendMail(Unknown Source)
        at
org.apache.james.smtpserver.SMTPHandler.doDATA(SMTPHandler.java:615)
        at
org.apache.james.smtpserver.SMTPHandler.parseCommand(SMTPHandler.java:248)
        at
org.apache.james.smtpserver.SMTPHandler.handleConnection(SMTPHandler.java:16
3)
        at
org.apache.avalon.cornerstone.blocks.connection.ConnectionRunner.run(Connect
ion.java:169)
        at
org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute(Executabl
eRunnable.java:47)
        at
org.apache.avalon.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:8
0)
java.lang.RuntimeException: Exception caught while storing a stream :
java.io.FileNotFoundException:
C:\TEMP\phoenix-bin\apps\James\var\mail\spool\4D61696C3130323237343334343433
30312D31363337.R
epository0.FileStreamStore (Insufficient system resources exist to complete
the requested service)
        at
org.apache.avalon.cornerstone.blocks.masterstore.File_Persistent_Stream_Repo
sitory.put(File_Persist
ent_Stream_Repository.java:108)
        at
org.apache.james.mailrepository.AvalonMailRepository.store(AvalonMailReposit
ory.java:195)
        at org.apache.james.James.sendMail(James.java:274)
        at java.lang.reflect.Method.invoke(Native Method)
        at
org.apache.avalon.phoenix.components.application.BlockInvocationHandler.invo
ke(BlockInvocationHandl
er.java:91)
        at $Proxy9.sendMail(Unknown Source)
        at
org.apache.james.smtpserver.SMTPHandler.doDATA(SMTPHandler.java:615)
        at
org.apache.james.smtpserver.SMTPHandler.parseCommand(SMTPHandler.java:248)
        at
org.apache.james.smtpserver.SMTPHandler.handleConnection(SMTPHandler.java:16
3)
        at
org.apache.avalon.cornerstone.blocks.connection.ConnectionRunner.run(Connect
ion.java:169)
        at
org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute(Executabl
eRunnable.java:47)
        at
org.apache.avalon.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:8
0)
javax.mail.MessagingException: Exception spooling message: Exception caught
while storing Message Container: j
ava.io.FileNotFoundException:
C:\DOCUME~1\aivanov\LOCALS~1\Temp\Mail1022743442819-16253054.m64
(Insufficient s
ystem resources exist to complete the requested service);
  nested exception is:
        java.lang.RuntimeException: Exception caught while storing Message
Container: java.io.FileNotFoundExce
ption: C:\DOCUME~1\aivanov\LOCALS~1\Temp\Mail1022743442819-16253054.m64
(Insufficient system resources exist t
o complete the requested service)
        at org.apache.james.James.sendMail(James.java:280)
        at java.lang.reflect.Method.invoke(Native Method)
        at
org.apache.avalon.phoenix.components.application.BlockInvocationHandler.invo
ke(BlockInvocationHandl
er.java:91)
        at $Proxy9.sendMail(Unknown Source)
        at
org.apache.james.smtpserver.SMTPHandler.doDATA(SMTPHandler.java:615)
        at
org.apache.james.smtpserver.SMTPHandler.parseCommand(SMTPHandler.java:248)
        at
org.apache.james.smtpserver.SMTPHandler.handleConnection(SMTPHandler.java:16
3)
        at
org.apache.avalon.cornerstone.blocks.connection.ConnectionRunner.run(Connect
ion.java:169)
        at
org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute(Executabl
eRunnable.java:47)
        at
org.apache.avalon.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:8
0)
javax.mail.MessagingException: Exception spooling message: Exception caught
while storing Message Container: j
ava.lang.RuntimeException: Exception caught while storing a stream :
java.io.FileNotFoundException:
C:\TEMP\phoenix-bin\apps\James\var\mail\spool\4D61696C3130323237343334343433
30312D31363337.Re
pository0.FileStreamStore (Insufficient system resources exist to complete
the requested service);
  nested exception is:
        java.lang.RuntimeException: Exception caught while storing Message
Container: java.lang.RuntimeExcepti
on: Exception caught while storing a stream : java.io.FileNotFoundException:
C:\TEMP\phoenix-bin\app
s\James\var\mail\spool\4D61696C313032323734333434343330312D31363337.Reposito
ry0.FileStreamSto
re (Insufficient system resources exist to complete the requested service)
        at org.apache.james.James.sendMail(James.java:280)
        at java.lang.reflect.Method.invoke(Native Method)
        at
org.apache.avalon.phoenix.components.application.BlockInvocationHandler.invo
ke(BlockInvocationHandl
er.java:91)
        at $Proxy9.sendMail(Unknown Source)
        at
org.apache.james.smtpserver.SMTPHandler.doDATA(SMTPHandler.java:615)
        at
org.apache.james.smtpserver.SMTPHandler.parseCommand(SMTPHandler.java:248)
        at
org.apache.james.smtpserver.SMTPHandler.handleConnection(SMTPHandler.java:16
3)
        at
org.apache.avalon.cornerstone.blocks.connection.ConnectionRunner.run(Connect
ion.java:169)
        at
org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute(Executabl
eRunnable.java:47)
        at
org.apache.avalon.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:8
0)






--
To unsubscribe, e-mail:   <mailto:james-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:james-dev-help@jakarta.apache.org>


Mime
View raw message