Re: [Resin-interest] Leak with 3.0.23 load balancing

2008-10-03 Thread Tom Hintz
477 of those threads had this stack:

0xff2c5870  _read + 0x8
0xe91db008  sock_read + 0x24
0xe91d8edc  BIO_read + 0xcc
0xeaa49154  ssl3_read_n + 0x154
0xeaa492d0  ssl3_get_record + 0xe0
0xeaa49e78  ssl3_read_bytes + 0x1fc
0xeaa48dcc  ssl3_read_internal + 0x44
0xeacb22a4  ssl_read + 0xa8
0xeb1e25d8  Java_com_caucho_vfs_JniStream_readNative + 0x54

Tom

-Original Message-
Subject: RE: Leak with 3.0.23 load balancing

Thread count climbed steadily from a beginning of 70 to 300+ to finally
500+ when heap was exhausted.

Tom


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Resin 3.0 thread leak

2008-10-03 Thread Scott Ferguson

On Oct 2, 2008, at 5:32 PM, Tom Hintz wrote:

 Out of curiosity, is it safe to set the thread stack size to 1k on the
 load balance resin?

That's almost certainly too low.  256k is probably the minimum you  
could get away with.  That parameter is virtual memory, so it's only  
actually takes up memory if it's used (on 32-bit systems, though, the  
virtual allocation itself is important.)

-- Scott



 T



 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Leak with 3.0.23 load balancing

2008-10-03 Thread Scott Ferguson

On Oct 3, 2008, at 7:03 AM, Tom Hintz wrote:

 477 of those threads had this stack:

 0xff2c5870  _read + 0x8
 0xe91db008  sock_read + 0x24
 0xe91d8edc  BIO_read + 0xcc
 0xeaa49154  ssl3_read_n + 0x154
 0xeaa492d0  ssl3_get_record + 0xe0
 0xeaa49e78  ssl3_read_bytes + 0x1fc
 0xeaa48dcc  ssl3_read_internal + 0x44
 0xeacb22a4  ssl_read + 0xa8
 0xeb1e25d8  Java_com_caucho_vfs_JniStream_readNative + 0x54

Hmm.  Looks like the socket timeout isn't happening for some reason.   
I've filed a bug as http://bugs.caucho.com/view.php?id=2988

-- Scott



 Tom

 -Original Message-
 Subject: RE: Leak with 3.0.23 load balancing

 Thread count climbed steadily from a beginning of 70 to 300+ to  
 finally
 500+ when heap was exhausted.

 Tom


 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest