Questions tagged [pool]

A pool describes a cache of resources that an application can draw from to save instantiation time.

Pools typically refer to database connections but the term can be applied to graphics handles, files and other run-time processes. When the use of such a resource is complete but the application is still running, it will typically return the resource to the pool rather than release it.

1504 questions
0
votes
1 answer

How to see pool usage information using probe for Spring managed standalone Tomcat 7 pool

I use Spring managed standalone Tomcat 7 pool (tomcat-jdbc.jar) using the version 7.0.26. psi-probe 2.3.2 also is installed at Tomcat. I cannot see pool usage in probe (on "JDBC USAGE" column) and any dataSource on "Data Sources" tab. What can I do…
Tural
  • 1,068
  • 6
  • 19
  • 30
0
votes
1 answer

Thread Pool Execution Order and Passing Future to Another Thread

I would like to create a thread pool with two threads. I would like to ensure the first threads get executed first and after the completion of first thread then the second thread get start. Besides this, I need to pass Future result from first…
nicholas
  • 2,581
  • 14
  • 66
  • 104
0
votes
1 answer

NSInternalInconsistencyException - nul class for object in autorelease pool

As many should know now, I am new to Objective-C, and I need some help to complete this project. I am getting the error NSInternalInconsistencyException - nul class for object in autorelease pool. Here is some of my source code that could be…
Pink Jazz
  • 784
  • 4
  • 13
  • 34
0
votes
1 answer

IIS 7.5 Recycling App Pool at scheduled time

we are experiencing an issue with application pools not recycling at the time they have been designated (could be because they have been shutdown, this is part of the question). We have about 20 app pools running mainly .net 4 mvc sites and wcf…
user835440
  • 83
  • 2
  • 8
0
votes
1 answer

Weblogic DataSource Pool Size

I am triying to determine datasource pool size for Weblogic Server. My application should be accept 1000 request per second. Each request just simple database operation like read/write. I set Maximum Capacity as 100 for datasource. How can i…
0
votes
1 answer

ASP.NET SQL - Pool - timeout

I've a problem with Asp.net and SQL. I have many timeout errors from connection pool. All connections are used within using block so they are correctly closed. In the connectionSting I have : Pooling=true;Max Pool Size=250 System is Windows 2008…
Philippe
  • 415
  • 1
  • 4
  • 6
0
votes
1 answer

Zookeeper based lock in EJB

I would like to utilize zookeeper to create distributed lock. I have the Factory creating LockObject that allow to lock/unlock some value. Every LockObject created by the Factory uses the same org.apache.zookeeper.Zookeeper object. Now, I would like…
androdevo
  • 752
  • 1
  • 8
  • 17
0
votes
2 answers

Asp.Net static objects almentar the availability

I have an application that use a static class too large and complex for this reason can not use the standard Asp.net Session. More telho problems with the stability of my application because when the pool closed by an error in a estarna dlls, all…
0
votes
1 answer

How can I enlarge my ZFS root pool mirror?

I have a small system with two drives running Solaris 11 with a ZFS mirrored root pool. I need to enlarge the root pool. Can I just install two large drives, one at a time, waiting for each one to resilver? Or will the first replacement disk have…
Chris Quenelle
  • 801
  • 4
  • 16
0
votes
0 answers

IIS site not using identity specified in app pool IIS 7 +

I have a web app from visual studio that is using local IIS server to run. It is an MVC 3 application. I setup the application pool in my IIS (win 7 pro) to use a service account for the application identity. When I browse the site I am getting…
eBot
  • 117
  • 1
  • 2
  • 10
0
votes
1 answer

IIS 7.5 - How To Grant Read/Write Access For A non-local Share To Application Pool

Everything I've found via search on this talks about Read/Write for local drives only (typically C) and what I am having trouble with is getting the same Read/Write access for an application pool to a non-local drive, specifically a share on the…
ecarden
  • 61
  • 4
0
votes
2 answers

boost::fast_pool_allocator throwing Access Violation exception

Ok, I'm having a bit of a problem using the boost::fast_pool_allocator. The code I have is working for the first couple of calls to fast_pool_allocator::allocate(1), but then is failing with the following message: Unhandled exception at…
Tom Cutts
  • 33
  • 3
0
votes
2 answers

is there a way to close all unused active connections in a jdbc connection pool

I was just thinking that in a large web application where tens of connections are made to database for every client using the application, there is a possibility that very few of the connections are gone unclosed. Though it is strictly up to us that…
mukund
  • 2,866
  • 5
  • 31
  • 41
0
votes
1 answer

Is there any difference between number of jdbc connections destroyed and released back to pool?

I have deployed a web-application in glassfish application server. I have created a connection pool in glassfish and use DataSource for getting a connection from it. In my connection pool I have settings: initial pool size: 25 max pool size:…
mukund
  • 2,866
  • 5
  • 31
  • 41
0
votes
1 answer

Is there analog of Javolution ArrayFactory

My android app need a lot of arrays. To prevent GC, I started to use Javolution.arrayFactory. But if I alloc memory in one thread calling like following. byte []buffer = ArrayFactory.BYTES_FACTORY.array(size); And free it in another thread like…
KoVadim
  • 707
  • 1
  • 7
  • 22