2011/3/28 kushal soy <[email protected]>: > Hi, > > I am trying to do load test on james 2.3.2: > > Server machine details: > > - Solaris sparc SUNW,Sun-Fire-T200, 8 GB RAM > - mail storage system: MySql (its on another machine) > -All configuration for Apache James are default. > > Scenario: > > I am bombarding messages from client machine > -> text message size of 40 Bytes(fix for all message) > > Observation: > > spool processing is very slow : 1-2 message/second > cpu usage : 30%
Is "submission" to be limited to 1-2 messages per seconds or you submit faster and mails queue becomes bigger and bigger and james just spool 2 messages per seconds? > my question is how can I achieve better performance as mention in James > wiki[http://wiki.apache.org/james/JamesByTheNumbers] > > what parameter needs to tune? You have to check where is the bottleneck. You can tune the number of listening thread if you are having problem establishing new concurrent connections to the server. You can tune the spoolthreads if you see too much mail is in the spool. You can tune the remote delivery threads if you see too much mail is in the outgoing spool. If you change some of them you will have to tune the size of the db pool according to the max number of connections expected to the db. Stefano --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
