harishtps
harishtps

Reputation: 1439

Tomcat session handling

Maximum sessions that tomcat can handle? If that maximum session exceeds is there a possibility of an application crash? How can i handle that? I have set the initial ram memory as 1.5GB for tomcat. Suggestions and help?

Upvotes: 1

Views: 2171

Answers (1)

duffymo
duffymo

Reputation: 308763

I don't believe there's a hard limit; it's determined by the max # of simultaneous requests the box can handle, and that's up to memory, CPU, threads, etc.

And it's not just the max # sessions, it's the average amount of data per session and how long they last. It's not so simple.

You don't say if this is pre-emptive worrying or if you've crashed and need a fix. I'd look at your app and think carefully about what you keep in session.

Upvotes: 1

Related Questions