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
-1
votes
1 answer

Can't delete file after using Pool() multiprocessing functionality in python

I am using python multiprocessing functionality to parallelize the processing of a large raster dataset. It all seems to work fine. Once processing is complete I need to automatically delete all the files that have been created by all the parallel…
Pitrako Junior
  • 143
  • 1
  • 7
-1
votes
1 answer

Azure Synapse SQL managed endpoint terraform error

I'm trying to deploy a synapse workspace with a dedicated SQL pool. It creates the resources, but errors when trying to created a managed endpoint stating the resource id is not in the right format. I have the data lake managed endpoint deployed…
-1
votes
1 answer

Azure DevOps pipelines: REST API call to update scaling parameters of an agent pool

How could I use a REST API call to update parameters, like: Maximum number of virtual machines in the scale set Number of agents to keep on standby Delay in minutes before deleting excess idle agents (I.e., the ones you set in the Settings tab of…
user2770141
  • 121
  • 5
-1
votes
1 answer

Modifying a list from multiple Python pools

I have a large data set (~2Gb) to analyse and I'd like to multi process it to reduce the run time of the code. I've imported the dataset into a list which I will then want to run numerous passes over. On each pass I'll set up a pool for each…
Paul
  • 41
  • 6
-1
votes
1 answer

How are Toloka task pages created

I've uploaded a file with tasks to a pool, but the pool page has 0 task pages and the pool doesn't start. How can I fix it?
-1
votes
1 answer

How to execute N functions to keep a count?

Ok so more to the point: I’m creating calls. These calls while they are active, they keep a record in a table. I have no knowledge in my script of the calls status but by counting the records in that table. The calls last whatever they last. I get a…
David Villasmil
  • 395
  • 2
  • 19
-1
votes
1 answer

How to determine NonPaged pool leak using WPA

Got an issue on Windows OS - NP pool slowly increases in size, and after several weeks consumes up to several GBs. Tried to determine the faulty driver(?), but running this: xperf -on proc_thread+loader+pool -stackwalk poolalloc -MaxFile 1024…
Kerberrus
  • 1
  • 1
-1
votes
1 answer

Connection closed by remote host

I have a web app developed using Spring and hosted on tomcat with around 100 users. I am getting the below error nullorg.apache.catalina.connector.ClientAbortException: java.io.IOException: An existing connection was forcibly closed by the remote…
-1
votes
1 answer

multiprocessing question using pool and map

I want to get the outputs by using pool and map function in python like this: **Output in random order: PoolWorker-10 output: [0, 4, 8, 12, 16, 20] PoolWorker-11 output: [0, 4, 8, 12, 16, 20] PoolWorker-12 output: [0, 4, 8, 12, 16, 20] PoolWorker-1…
jijel Kim
  • 3
  • 2
-1
votes
1 answer

How Java String pool works? How does Java decide whether to use it or not?

I know that there's a String pool which is supposed to keep some created strings in order to not duplicate them. So, if a user wants to create a string with the same value as another string, it won't be created once again (unless the new String()…
mishkamashka
  • 73
  • 1
  • 6
-1
votes
1 answer

How to add specific time in recycling application pool through IIS and it will show in event logs?

I wanted to test an application app pool in recycling specific time. I already configure it in IIS settings but still upon checking on event viewer recycling time is not showing. Is there anybody can help me with it?
-1
votes
1 answer

How to ensure that the result was given by async, not by pool

functions needed to be tested (means I can't see the code, I can only import them): the file async_data.py import asyncio import socket import aiohttp async def get_json(client, uid): json_url =…
Brown Bear
  • 19,655
  • 10
  • 58
  • 76
-1
votes
1 answer

Random Object Spawning (Unity 2D)

I'm Currently creating a tycoon game, and i've got a problem on how to spawn random objects for the customer. this is not the first time, i learned Random Spawning once, 2 ago from other genre, but in Unity 5.3, if i'm not wrong. so i have to start…
-1
votes
2 answers

Manipulation of a string in constant pool vs Manipulation of a string in non-constant pool - Perfomance

I wanted to change a code which was like if("T".equalsIgnoreCase(bo.getSubjectType())) //method-1 to if(String.valueOf('T').equalsIgnoreCase(bo.getSubjectType())) //method-2 So for that reason I wrote a sample code String s1 = "T"; String s2 =…
Arun Sudhakaran
  • 2,167
  • 4
  • 27
  • 52
-1
votes
1 answer

sql query by pool does not read kazakh letter

I am working on tool that will upload data to R from SQL server database and will do some fancy staff. Because of the fact there are more than one data source I am joining with pool package. I am facing a problem that it does not work when I query…
Azat
  • 75
  • 6