Re: DB Connection Pool

2002-03-05 Thread Huy Tran

I join in late, but I'm currently using CodeStudio Poolman for my 
connection pool.  You can customize it to provide object pooling too. 
 It works well for me.

Jim Urban wrote:

If anyone is currently using a third-part pool that they are well 
pleased with, I would greatly appreciate that information too.  


We just finished this discussion.  Please check the archive.



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]





!!!VIRUS SENT THRU THE MAILING LIST: new photos from my party!

2002-01-29 Thread Huy Tran

All,

I've been received several email regarding this topic.  This is the new 
virus email that spreading around.  Please do not open the attachment. 
 Would the mail administrator filter out these email so we can prevent 
it from happenning again?

Regards,

HT.

wrote:

Hello!

My party... It was absolutely amazing!
I have attached my web page with new photos!
If you can please make color prints of my photos. Thanks!


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]





--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Tomcat Stability

2002-01-15 Thread Huy Tran

Would you please let me know when you publish the page on the tips and 
tricks?

greatly appreciated.

HT.

Mauricio Nuñez wrote:

El Martes 15 Enero 2002 10:45, Laurent Féral-Pierssens escribió:

Hi,

We've been experiencing problems with stability recently. Every 2 weeks,
Tomcat crashes with 500 errors. We now have more information about what
happened the last time.

Our configuration is:
Tomcat 3.2.4 with Apache 1.3.20 and mod_jk
Linux Debian, PIII 1 GHz, 512 Megs of RAM, Raid 1

Basically there is only one webapp on the server that has a daily load of
40 000 Hits or 5 000 page views.

In the logs of Apache we've discovered that someone was using Htdig to
index the site, basically making one call every 5 sec for 45 minutes.
That's were and when tomcat crashes.

So my questions, should I ugrade the server's hardware? Would Tomcat 4
series be more stable? or would it be just a tomcat configuration problem?

Thanks in advance for your help and advice!

Laurent


Hi.

I used a similar configuration, and migrating from Tomcat 3.2.4 to 3.3, I get 
a much better performance.

Tips :

1) About Tomcat + Apache + Linux

Upgrade also the mod_jk to support chunked input.
Check the max_threads variable on /proc/sys/kernel/max_threads.  It's your 
upper limit. 
Then check the MaxClients variable in apache httpd.conf 
Next, check the MaxThreads parameter of yout connector. This must to be 
greater than the prev MaxClient.
MaxClient + MaxThreads must to be lesser than kernel max_threads.
Also, Tomcat 3.3 stable had a bug about the MaxTheads of the connector. 
That's fixed in Tomcat 3.3.1-dev.

2) About JDK

Check your JDK. By default, max memory used for sun jdk is 64m. Try the -Xmx 
variable , and try also the -Xms variable. Use the HotSpot Server option, and 
Incremental garbage. 
Try JRockit or TowerJ.

Example : ( TOMCAT_OPTS=-server -Xms256m -Xmx256m -Xincgc )

3) Do benchmarking.

I'm using ab ( ApacheBench).
Check your kernel variables. 
check and modify /proc/sys/vm/bdflush  ( At your risk ! :-) 
use hdparm.

4) 
Check http://www.volano.com/report
Check http://www.segel.com/10k
Check http://www.jlinux.org

I will publish a page with diferents tips or tricks and bechs

Bye





--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]





Re: IOException, that reset by peer thing.

2002-01-15 Thread Huy Tran

 From my experience, that happens when user connect to you and then 
close it.  Especially, when they are using a browser, requesting a page 
from your Tomcat, but then decide to move on to another site or page.

Hope it helps.

Mike Curwen wrote:

Hi,

This has probably been covered before, but thought I'd risk a 'stfw' and ask
anyways. ;)

What is the cause (and solution?) for this fairly frequent and non-fatal
error?

IOException in R(/myfolder+/jsp/somepage.jsp+null) Connection reset by peer:
socket write error.

p.s. - I have done a google search, and there were a few references to
WinSock errors (ie: it isn't tomcat).  But I'm not sure I 100% buy that.

Thanks everyone.

MikeC


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]





--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: A good profiler for Tomcat

2002-01-10 Thread Huy Tran

I'm using JProbe.  It also have similar problem as the OptimizeIt, but I 
can select specific package or class to look for memory leak.

If anyone knows of a better tool, please share with us.

HT

Darrell Esau wrote:

Hello everyone,

Does anyone have any expierence with profilers that work with Tomcat?

I'm looking for a good one that I can use to find memory leaks.

I've installed OptimizeIt but it slows the JVM down significantly, almost to 
the point of unusable.

Can anyone recommend a good profiler (or other method) to find memory leaks?

Thanks,
Darrell

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]





--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]