On Wed, 17 Oct 2007 11:03:08 +0200, Stefano Bagnara <[EMAIL PROTECTED]> wrote:
> Dima Retov ha scritto:
>> Hello,
>>
>> I have James running on my server and it works fine.
>> I handles emails for dozen of domain. I receive few emails per day.
>> I would like to configure James to consume less resources.
>>
>> When I start James now it starts with 30 or 50 threads.
>>
>> I would like to keep 1 or 3 threads.
> 
> You will not able to reduce the number so much. But you can limit it a
> lot, anyway.
> 
>> I tried to tune max-connections and max-thread and I had 2 results
>> james was not starting or james was running with same amount of
>> threads.
>>
>>
>> It is possible to decrease number of threads?
>> How do I do that?
> 
> First you have to reduce the number of <spoolmanager>/<threads>, the
> number of RemoteDelivery/<deliveryThreads>, and you have to reduce the
> number <connections>/<max-connections>30</max-connections>.
> 
> As the last step you can tune your
> <thread-manager>/<thread-group>/<max-threads> so that max-threads is at
> least spoolmanagerthreads+remotedeliverythreads+maxconnections*services
> (services is pop3+smtp+ any other listening service you may have)
> 
> If you really have few incoming connections I would try with 1
> spoolthreads, 1 remote delivery, 3 max-connections and assuming you only
> have pop3 and smtp you can use 1+1+3*2 = 8 max-threads (but you can even
> use a bigger number as they won't be allocated if they are not declared)
> 
> Stefano
> 
> PS: if JAMES does not start you should check the logs and report the
> errors, so we can help.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> !DSPAM:1,4715d020257901815398899!


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to