Hi,

I am having some performance problems (and a memory leak problem), and I am
not sure whether I have tuned jonas for optimized performance (before having
to change my design in less maintainable ways). My two basic questions
related to performance are:

1) Is there a way in Jonas to prevent entity beans in the cache to be reread
at the beginning of a transaction? I have a session bean which reads a
subset of the entity beans at each method call (more or less the same
subset). If those beans are already in the cache, and if only this
application is modifying the database, it is really unnecessary to do an
additional read for each and every bean in that subset (for a
findByPrimaryKey() method). Having a cache large enough for this subset and
using jeremie for intracalls would be the best optimization I can hope to
get from jonas.

2) I am keeping track of any changes in my entity bean and make ejbStore an
empty method if there isn't any. Also, I am only updating the modified data
since the ejb is representing info from 5 different tables. Does using the
isModified() attribute still bring an advantage over this?

My memory leak problem is that 15 simultaneous users continuously calling an
addBean() method (which basically does as the name implies) brings down the
server in 2 days. The final error I'm getting is something like "panic could
not create LWP". I have increased the max memory size, and the file
descriptor limit from 64 to 1024. Increasing file descriptor limit moved the
time to crash the system from a couple of hours to 2 days, but I feel it is
still a problem. I do not cache, or keep any references between calls. Is
this a known issue (btw, I am using RMI on Solaris 2.6, and planning to
change to jeremie, and I am really hoping that it is related to the way rmi
manages the connections) ?

thanks,
ilker


----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to