You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-user@db.apache.org by Bryan Pendleton <bp...@gmail.com> on 2015/12/02 04:20:17 UTC

Re: What creates rawStoreDaemon threads in embedded derby db?

> It seems to work fine, normally. However, someone else running the program
> got several thousand rawStoreDaemon threads.
>
> I can't recreate these extra threads. What's worse I can't even seem to make
> more than one derby.rawStoreDaemon threads.  I have had up to 100 active
> connections and several users at once, but nothing seems to even make a
> second derby.rawStoreDaemon thread.
>
> My basic question is, what makes these threads? How come there is ever more
> than one?

People have made similar observations in the past, but we've never
identified a clear reproducible case.

See, e.g.,

https://issues.apache.org/jira/browse/DERBY-594

and

https://issues.apache.org/jira/browse/DERBY-4210

bryan



Re: What creates rawStoreDaemon threads in embedded derby db?

Posted by Rick Hillegas <ri...@gmail.com>.
On 12/2/15 8:00 AM, culgr01 wrote:
>> People have made similar observations in the past, but we've never
>> identified a clear reproducible case
> Is there some information that would help you guys solve this problem?  I
> have a thread dump of the issue, and a heap dump.  However, I can't give
> them to you, because of confidentiality concerns.  I would be happy to look
> through them with someone.
>
> Also, do you think updating to the latest version of derby may help?  I am
> using 10.6.2000001.999685 as an embedded server.
>
> GC
>
>
>
>
> --
> View this message in context: http://apache-database.10148.n7.nabble.com/What-creates-rawStoreDaemon-threads-in-embedded-derby-db-tp145096p145120.html
> Sent from the Apache Derby Users mailing list archive at Nabble.com.
>
Upgrading is always a good idea. Later releases include many performance 
and security improvements. Bryan cited issues which are associated with 
old versions of Derby. Hard to say whether an upgrade will fix this 
problem, though. It would be useful to know whether later releases 
exhibit the same behavior.

Thanks,
-Rick

Re: What creates rawStoreDaemon threads in embedded derby db?

Posted by culgr01 <gr...@ca.com>.
>People have made similar observations in the past, but we've never 
>identified a clear reproducible case

Is there some information that would help you guys solve this problem?  I
have a thread dump of the issue, and a heap dump.  However, I can't give
them to you, because of confidentiality concerns.  I would be happy to look
through them with someone.

Also, do you think updating to the latest version of derby may help?  I am
using 10.6.2000001.999685 as an embedded server.

GC




--
View this message in context: http://apache-database.10148.n7.nabble.com/What-creates-rawStoreDaemon-threads-in-embedded-derby-db-tp145096p145120.html
Sent from the Apache Derby Users mailing list archive at Nabble.com.