pool

ID-ing Deadlocks in a Thread using Firebird

Developer looking for best method to identify a deadlock on a specific transaction inside a specific thread. We are getting deadlock errors but these are very general in FB 2.0 Deadlocks happening and they are leading to breakdowns in the DB connection between client and the DB. We send live ( once a second) data to the DB. We open a ...

How to use system_user in audit trigger but still use connection pooling?

I would like to do both of the following things: use audit triggers on my database tables to identify which user updated what; use connection pooling to improve performance For #1, I use 'system_user' in the database trigger to identify the user making the change, but this prevent me from doing #2 which requires a generic connection ...

What are optimal settings for Recycling of Application Pools in IIS7 in shared environment?

Hello! What are optimal settings for Recycling of Application Pools in IIS7 in shared environment? Thanks in advance ...

Pros and cons of having dedicated application pools over keeping web applications in one default app pool

Hello! What are pros and cons of having dedicated application pools over keeping web applications in one default app pool? Thanks in advance ...

Buffer pool management using C#

We need to develop some kind of buffer management for an application we are developing using C#. Essentially, the application receives messages from devices as and when they come in (there could be many in a short space of time). We need to queue them up in some kind of buffer pool so that we can process them in a managed fashion. We w...

32bit Application Pool on x64 Windows 2008 server

Hello! What are differences between enabling and disabling "Enable 32-Bit applications" in websites application pools under IIS7 on x64 machine? Mostly I'm thinking about memory usage. Thanks in advance ...

Guidelines for / differences between cache / pool / cache pool

I'm doing some design (initially for Java) (but may extend to .NET in the future?) and I'm getting confused between the terms "cache" and "pool". As far as I can see, the main point of difference is what is contained in them? Any guidelines as to which should be used when? And what then is a "cache pool" which is referred to in a numb...

Running out of DB connections using LINQ to SQL

In developing a relatively simple web service, that takes the data provided by a post and records it in a database table, we're getting this error: Exception caught: The remote server returned an error: (500) Internal Server Er or. Stack trace: at System.Net.HttpWebRequest.GetResponse() on some servers, but no others. The ones that ...

C# thread pool limiting threads

Alright...I've given the site a fair search and have read over many posts about this topic. I found this question: http://stackoverflow.com/questions/435668/code-for-a-simple-thread-pool-in-c especially helpful. However, as it always seems, what I need varies slightly. I have looked over the MSDN example and adapted it to my needs some...

How to reset a class using placment delete/new from a template?

I have a pool manager template class. When a class object gets added back to the pool manager I would like to reset it back to it's initial state. I would like to call the placment destructor and placment constructor on it so it gets fully reset for the next time it is given out by the pool manager. I've tried many ways to get this to wo...

What physics engine would be good for a Silverlight pool engine?

I have looked into the Farseer engine, but I barely scratched the surface. Would it or another engine be good for a reasonably accurate pool game engine? ...

JDBC and Connection Pools in Glassfish App Server

I want to set up a connection pool and JDBC connection on EAR deployment so I do not have to set it up on each App Server I deploy to manually. What do I need to do? Is there an .xml file I can put this information into? ...

Session expires using state server on application pool refresh

I have a .NET 1.1 application hosted on two different servers, but on one of them whenever the application pool is recycled, all sessions are dropped. Both applications are using “StateServer” session mode and as far as I could tell, both servers have exactly the same configuration and have the “ASP .NET State Server” service running. ...

Python multiprocessing: Pool of custom Processes

I am subclassing the Process class, into a class I call EdgeRenderer. I want to use multiprocessing.Pool, except instead of regular Processes, I want them to be instances of my EdgeRenderer. Possible? How? ...

Home Server on new IP Pool allocation

Hi I have a server with an internal address of 192.168.1.100 I have moved to a new home and the IP Pool of the current router is 192.168.2.x Is there a way I can make the router discover this server without having to change the internal IP address? I dont have a KB or Mouse to get in and change the IP of the server at this time :) A...

Good Client Socket Pool

I need to manage long running TCP socket connections to an external server from my Java application. I'm looking for a good socket pool so I will be able to re-use the sockets. Are there any suggestions? ...

Tips for using commons-pool in production

Based on an answer I got here, I started to give commons-pool a serious look. My last experience of using it was around 2003, probably version 1.1 or 1.2. Its main user, DBCP, is considered by many as flawed and to be avoided. Does anyone uses commons pool in production to write pool of your own? What is the best pool type to use? I pl...

IIS 6.0 application pool stop issue

Hello everyone, In my IIS log, I found warning level event ID 1013, which says the stop time exceeds expected stop time for worker process of a specific web application. My question is, how could I know or track from what reason IIS worker process stops? Does this warning level event ID means worker process application pool is stopped ...

Application pool recycle after "Fixed number of requests"

Hello everyone, I am using IIS 6.0 on Windows Server 2003. I want to learn what means recycle after "Fixed number of requests" in application pool setting? My current confusion is, suppose I set this number to 100, and the 99th person connects to my web site, than the 100th person comes and the 100th person will trigger application pool...

Will CFile* take large amout of memory?

I created a pool for CFile in order to prevent frequent Open and Close file operation. However I have a question about such a CFile* pool(), CMapStringToOb m_mAvailableFileObjList; If files are large, is this pool memory-consuming? My application seem to occupy large memory, I just doubt about this part, and I'm not sure. Many Thank...