james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Cockwell <ste...@canux.com>
Subject Re: Memory Usage - Threads
Date Fri, 06 Apr 2001 19:53:28 GMT
Peter Donald wrote:
> At 10:10  5/04/01 -0400, Steve Cockwell wrote:
> >I've asked on the james-user list, but didn't get any response.
> >
> >Is there some way to minimize the memory usage/number of threads run
> >when James is started?  Currently it looks like 10Mb/23 threads.  I
> >would like to run James on my laptop for development purposes, but don't
> >need to handle hundreds of emails an hour...
> Which version of James are you running (Or more importantly which version
> of Avalon/Phoenix). It may be that <base>/apps/james/conf/server.xml has a
> large number of threads set.

Thanks for responding.

My version of James is 1.2.1.  I've tried playing with the setting:

<block class="org.apache.avalon.blocks.threadmanager.ThreadPool" name=
.... >

in the Avalon.conf.xml file.  It doesn't seem to do anything until I set
it to zero - then I get only 18 threads and nothing works.  Each thread
looks like this in /proc:


Also, I'm having real trouble with the seemingly built in limit for the
length of a message:

"Exception spooling message:  Exception caught while storing mail
Container: java.lang.IllegalArgumentException: Packet is larger than
max_allowed_packets from server configuration of 1048576 bytes.



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

View raw message