Re: Too many users
you might also want to check your application with OptimizeIt or a similar tool to see if it is leaking memory. Also if u have static pages or jsp pages that dont change often, you can explore the possibility of caching them. HTH Nagarajn On Thursday 06 March 2003 17:40, you wrote: > First of all, this has nothing to do with JSP. > > Nevertheless, it's obvious you need to add more memory. That's a cheap > and effective solution for a simple situation like this. > > > -Original Message- > > From: Deepak [mailto:[EMAIL PROTECTED] > > Sent: Thursday, March 06, 2003 5:28 AM > > To: [EMAIL PROTECTED] > > Subject: Too many users > > > > Hi > > > > I am in a tight spot. Hope someone can help me on this. > > > > My Webapp uses: > > 1. Cobalt Linux server > > 2. Jdk1.4 > > 3. Tomcat 3.3.1 > > 4. MySql 3.51 > > > > 200+ users access my webapp. > > After some time my server hangs and I am not able to telnet , ftp or > > access > > the webapp. > > > > The server guy says that too many java processes are running. > > I did the top command and I got this o/p regarding memory. > > > > > > Mem: 255508K av, 252176K used,3332K free, 0K shrd, > > 0K > > > buff > > Swap: 524536K av, 524536K used, 0K free 7312K > > cached > > > > Total RAM is 256 MB > > Total swap memory is 524 MB > > > > As you can see 100% of swap memory is used up and almost 98% of RAM > > is > > > used > > up. Is it because Tomcat will generate 200 threads if 200 users issue > > a > > > request ? > > > > Why am i not able to connect to the server after this? > > Please throw some light on this issue. > > > > Thanks and regards > > Deepak > > > == > > > = > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP- > > INTEREST". > > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > > DIGEST". > > > > Some relevant archives, FAQs and Forums on JSPs can be found at: > > > > http://java.sun.com/products/jsp > > http://archives.java.sun.com/jsp-interest.html > > http://forums.java.sun.com > > http://www.jspinsider.com > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set > JSP-INTEREST DIGEST". > > Some relevant archives, FAQs and Forums on JSPs can be found at: > > http://java.sun.com/products/jsp > http://archives.java.sun.com/jsp-interest.html > http://forums.java.sun.com > http://www.jspinsider.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant archives, FAQs and Forums on JSPs can be found at: http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com
Re: Too many users
First of all, this has nothing to do with JSP. Nevertheless, it's obvious you need to add more memory. That's a cheap and effective solution for a simple situation like this. > -Original Message- > From: Deepak [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 06, 2003 5:28 AM > To: [EMAIL PROTECTED] > Subject: Too many users > > Hi > > I am in a tight spot. Hope someone can help me on this. > > My Webapp uses: > 1. Cobalt Linux server > 2. Jdk1.4 > 3. Tomcat 3.3.1 > 4. MySql 3.51 > > 200+ users access my webapp. > After some time my server hangs and I am not able to telnet , ftp or > access > the webapp. > > The server guy says that too many java processes are running. > I did the top command and I got this o/p regarding memory. > > > Mem: 255508K av, 252176K used,3332K free, 0K shrd, 0K > buff > Swap: 524536K av, 524536K used, 0K free 7312K > cached > > Total RAM is 256 MB > Total swap memory is 524 MB > > As you can see 100% of swap memory is used up and almost 98% of RAM is > used > up. Is it because Tomcat will generate 200 threads if 200 users issue a > request ? > > Why am i not able to connect to the server after this? > Please throw some light on this issue. > > Thanks and regards > Deepak > > == > = > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP- > INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > DIGEST". > > Some relevant archives, FAQs and Forums on JSPs can be found at: > > http://java.sun.com/products/jsp > http://archives.java.sun.com/jsp-interest.html > http://forums.java.sun.com > http://www.jspinsider.com ==To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant archives, FAQs and Forums on JSPs can be found at: http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com
Too many users
Hi I am in a tight spot. Hope someone can help me on this. My Webapp uses: 1. Cobalt Linux server 2. Jdk1.4 3. Tomcat 3.3.1 4. MySql 3.51 200+ users access my webapp. After some time my server hangs and I am not able to telnet , ftp or access the webapp. The server guy says that too many java processes are running. I did the top command and I got this o/p regarding memory. Mem: 255508K av, 252176K used,3332K free, 0K shrd, 0K buff Swap: 524536K av, 524536K used, 0K free 7312K cached Total RAM is 256 MB Total swap memory is 524 MB As you can see 100% of swap memory is used up and almost 98% of RAM is used up. Is it because Tomcat will generate 200 threads if 200 users issue a request ? Why am i not able to connect to the server after this? Please throw some light on this issue. Thanks and regards Deepak === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant archives, FAQs and Forums on JSPs can be found at: http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com