Hi All,
This is a long one. But I hope to find out if anyone
has encountered this major problem(?) and if/how it
was fixed.

Observations:
1. While monitoring James, I saw emails being stuck in
the spool folder.

2. Log files:
spoolmanager log file: No log for the past few days
although emails were coming in.
Connections log: Filled with
ERROR connections: Error handling connection
java.lang.OutOfMemoryError

3. _1st Problem_ ==> After restarting James, the
messages in the spool folder simply disappeared and
didn't go to their respective inboxes...

4. _2nd Problem_ ==> Upon further investigation, I
found that some of the inboxes (which contained
hundreds of messages) were completely empty. 

Not sure whether the inboxes became empty before or
after the reboot but, for sure, we know that the
clients do not issue any DELE commands.


====================== Our James Config
====================== 
We've been unable to find any guideline about
configurations. What is the relationships between JVM
heap, max connections, max message size, max
threadpool size, connection backlog, clients etc. etc.
Any benchmark to refer to?

We're using James for an email-based enterprise
application and I encountered a major problem on our
production server with James 2.2.0 (File repository)
on Fedora 5 and Sun JRE 1.4.
Hardware Memory: 2GB RAM

We're using the default phoenix.sh (with some
adjustments to accommodate the JRE path).
Config.xml has been adjusted as follows:


Here are some config:
   <spoolmanager>
      <!-- Number of spool threads -->
      <threads> 100 </threads>
..

   <connections>
      <idle-timeout>300000</idle-timeout>
      <max-connections>0</max-connections>
   </connections>
...

For each of the 4 services - pop3, pop3s, smtp, smtps:
<connectionLimit>200</connectionLimit>

For the SMTP/S services:
    <connectionBacklog>50</connectionBacklog>


There are 4 thread-groups defined for each service.
All have the same settings as the following (except
the name):
      <thread-group>
         <name>smtps-threadpool</name>
         <priority>5</priority>
         <is-daemon>false</is-daemon>
         <max-threads>500</max-threads>
         <min-threads>20</min-threads>
         <min-spare-threads>20</min-spare-threads>
      </thread-group>


====================== Our James Config
====================== 

Regards,
Al


        


        
                
__________________________________ 
What is the internet to you? 
Contribute to the Yahoo! Time Capsule and be a part of internet history. 
http://timecapsule.yahoo.com/capsule.php?intl=sg

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

Reply via email to