Hello all you J2EE geniouses,
My app seems to "freeze" up when multiple people try to generate pdf's of varying content at the same time. The app generates a pdf of content from a database based on a record that is on the the users jsp. Anyone have an idea why this wold be happening? It works fine when a couple are in there but when you get 5 or more hitting the function at the same time it seems to choke.
Also, could this have anything to do with all the users being in the same room through the same firewall hitting the same print function, but of course on different pc's?
-
My App "Freezes" when mult users generate pdf's (3 messages)
- Posted by: Al Vigliotti
- Posted on: November 15 2005 12:07 EST
Threaded Messages (3)
- What is happening inside Java ? by Virag Saksena on November 28 2005 03:22 EST
- My App "Freezes" when mult users generate pdf's by c b on November 29 2005 14:36 EST
- My App "Freezes" when mult users generate pdf's by Cristian Roldan on December 17 2005 18:05 EST
-
What is happening inside Java ?[ Go to top ]
- Posted by: Virag Saksena
- Posted on: November 28 2005 03:22 EST
- in response to Al Vigliotti
There could be a multitude of things happening ...
1. You could have a synchronization bottleneck somewhere
2. You could be hitting a resource limit (like exceeding the maximum number of connections to the database, maximum number of your pdf generating service...)
To know what is going on, you'll have to look inside the JVM to see where the different requests are spending their time. What tools are you using to monitor and diagnose this ?
Regards,
Virag -
My App "Freezes" when mult users generate pdf's[ Go to top ]
- Posted by: c b
- Posted on: November 29 2005 14:36 EST
- in response to Al Vigliotti
What are you using for your pdf generation? with out giving us any specifics it's hard to identify the problem.
www.binaryfrost.comHello all you J2EE geniouses,My app seems to "freeze" up when multiple people try to generate pdf's of varying content at the same time. The app generates a pdf of content from a database based on a record that is on the the users jsp. Anyone have an idea why this wold be happening? It works fine when a couple are in there but when you get 5 or more hitting the function at the same time it seems to choke.Also, could this have anything to do with all the users being in the same room through the same firewall hitting the same print function, but of course on different pc's?
-
My App "Freezes" when mult users generate pdf's[ Go to top ]
- Posted by: Cristian Roldan
- Posted on: December 17 2005 18:05 EST
- in response to c b
you should get a JVM dump (kill -3 PID) to know what is happening inside your JVM also it could be a good choice to analize the GC. may be it is spending a lot of time freeing objects.
bye.