ℹ️ Skipped - page is already crawled
| Filter | Status | Condition | Details |
|---|---|---|---|
| HTTP status | PASS | download_http_code = 200 | HTTP 200 |
| Age cutoff | FAIL | download_stamp > now() - 6 MONTH | 9.5 months ago |
| History drop | PASS | isNull(history_drop_reason) | No drop reason |
| Spam/ban | PASS | fh_dont_index != 1 AND ml_spam_score = 0 | ml_spam_score=0 |
| Canonical | PASS | meta_canonical IS NULL OR = '' OR = src_unparsed | Not set |
| Property | Value |
|---|---|
| URL | https://python-forum.io/thread-38718.html |
| Last Crawled | 2025-07-02 17:52:04 (9 months ago) |
| First Indexed | 2022-11-18 14:58:08 (3 years ago) |
| HTTP Status Code | 200 |
| Meta Title | Multiprocessing Pool Multiple Instances How to Kill by Pool ID |
| Meta Description | The official dedicated python forum, Hi, Iam working multiple multiprocessing pool which was working fine, but the main issue is, how i can kill only particular pool. When i select the Camp1 and run it was running,it select list related |
| Meta Canonical | null |
| Boilerpipe Text |
Hi,
Iam working multiple multiprocessing pool which was working fine, but the main issue is, how i can kill only particular pool.
When i select the Camp1 and run it was running,it select list related to the campaign and running without issue. self .pool = Pool(processes = 10 ) p = list (itertools.product(searchengines, selecteddomains, searchterms)) params = [(a, api, name_of_camp, da, pidfileloc, proxies, logfileloc, hours, domainfileloc, siteregistration, mozapi, mozsecret) for a in p] self .pool.starmap_async(Expired_Search, params) I cant get the Pool ID to terminate the process. Is there any way to get Pool ID to terminate the process of only campaign i selected.
Any help would be appreciated. Thanks |
| Markdown | [](https://python-forum.io/index.php)
[](https://python-forum.io/index.php)
- [View Active Threads](https://python-forum.io/activethreads.php)
- [View Today's Posts](https://python-forum.io/search.php?action=getdaily)
- [Home](https://python-forum.io/index.php)
- [Forums]()
- [View New Posts](https://python-forum.io/search.php?action=getnew)
- [View Today's Posts](https://python-forum.io/search.php?action=getdaily)
- [My Discussions](https://python-forum.io/search.php?action=do_search&author=&matchusername=1&showresults=threads&postthread=1)
- [Unanswered Posts](https://python-forum.io/search.php?action=unanswered)
- [Unread Posts](https://python-forum.io/search.php?action=unreads)
- [Active Threads](https://python-forum.io/activethreads.php?days=1&hours=0&mins=0&date=Now&order=descending&sort=num_posts&go=Go)
- [Mark all forums read](https://python-forum.io/misc.php?action=markread&my_post_key=158a7715044bfe17dd88c7979b04779a)
- [Staff List](https://python-forum.io/showteam.php)
- [Member List](https://python-forum.io/memberlist.php)
- [Help](https://python-forum.io/misc.php?action=help)
- [Calendar](https://python-forum.io/calendar.php)
- [Search](https://python-forum.io/search.php)
- [Statistics](https://python-forum.io/stats.php)
- [Interpreter](https://python-forum.io/misc.php?page=interpreter)
- [IRC](https://python-forum.io/misc.php?page=chat)
##### Multiprocessing Pool Multiple Instances How to Kill by Pool ID
- [Python Forum](https://python-forum.io/index.php)
- [Python Coding](https://python-forum.io/forum-7.html)
- [General Coding Help](https://python-forum.io/forum-8-page-134.html)
**Thread Rating:**
- 0 Vote(s) - 0 Average
- [1](https://python-forum.io/ratethread.php?tid=38718&rating=1&my_post_key=158a7715044bfe17dd88c7979b04779a)
- [2](https://python-forum.io/ratethread.php?tid=38718&rating=2&my_post_key=158a7715044bfe17dd88c7979b04779a)
- [3](https://python-forum.io/ratethread.php?tid=38718&rating=3&my_post_key=158a7715044bfe17dd88c7979b04779a)
- [4](https://python-forum.io/ratethread.php?tid=38718&rating=4&my_post_key=158a7715044bfe17dd88c7979b04779a)
- [5](https://python-forum.io/ratethread.php?tid=38718&rating=5&my_post_key=158a7715044bfe17dd88c7979b04779a)
| | |
|---|---|
| **[Thread Modes]()** **Multiprocessing Pool Multiple Instances How to Kill by Pool ID** | |
| | |
| 123456 | `self``.pool``=` `Pool(processes``=``10``)` `p``=` `list``(itertools.product(searchengines, selecteddomains, searchterms))` `params``=` `[(a, api, name_of_camp, da, pidfileloc, proxies,` ` ``logfileloc, hours, domainfileloc,` ` ``siteregistration, mozapi, mozsecret)``for` `a``in` `p]` `self``.pool.starmap_async(Expired_Search, params)` |
| | | | | | |
|---|---|---|---|---|---|
| **Possibly Related Threads…** | | | | | |
| **Thread** | **Author** | **Replies** | **Views** | **Last Post** | |
| | [Cannot run kill -9 through pyvomi on ESXi host](https://python-forum.io/thread-42431.html) | [nicktx](https://python-forum.io/user-38515.html) | [1](https://python-forum.io/misc.php?action=whoposted&tid=42431) | 1,133 | Jul-08-2024, 04:07 PM [Last Post](https://python-forum.io/thread-42431-lastpost.html): [nicktx](https://python-forum.io/user-38515.html) |
| | [kill python execution program](https://python-forum.io/thread-41767.html) | [lebossejames](https://python-forum.io/user-36711.html) | [0](https://python-forum.io/misc.php?action=whoposted&tid=41767) | 906 | Mar-16-2024, 11:16 AM [Last Post](https://python-forum.io/thread-41767-lastpost.html): [lebossejames](https://python-forum.io/user-36711.html) |
|  | [Using SQLAlchemy, prevent SQLite3 table update by multiple program instances](https://python-forum.io/thread-40505.html) | [Calab](https://python-forum.io/user-34786.html) | [2](https://python-forum.io/misc.php?action=whoposted&tid=40505) | 1,900 | Aug-09-2023, 05:51 PM [Last Post](https://python-forum.io/thread-40505-lastpost.html): [Calab](https://python-forum.io/user-34786.html) |
| | [Python: re.findall to find multiple instances don't work but search worked](https://python-forum.io/thread-38070.html) | [Secret](https://python-forum.io/user-27375.html) | [1](https://python-forum.io/misc.php?action=whoposted&tid=38070) | 2,166 | Aug-30-2022, 08:40 PM [Last Post](https://python-forum.io/thread-38070-lastpost.html): [deanhystad](https://python-forum.io/user-23001.html) |
| | [Python multiprocessing Pool apply async wait for process to complete](https://python-forum.io/thread-36751.html) | [sunny9495](https://python-forum.io/user-33022.html) | [6](https://python-forum.io/misc.php?action=whoposted&tid=36751) | 12,389 | Apr-02-2022, 06:31 AM [Last Post](https://python-forum.io/thread-36751-lastpost.html): [sunny9495](https://python-forum.io/user-33022.html) |
| | [How to immediately kill and restart a thread while using a time.sleep() inside it?](https://python-forum.io/thread-36265.html) | [philipbergwerf](https://python-forum.io/user-21401.html) | [4](https://python-forum.io/misc.php?action=whoposted&tid=36265) | 5,616 | Feb-07-2022, 04:16 PM [Last Post](https://python-forum.io/thread-36265-lastpost.html): [Gribouillis](https://python-forum.io/user-6440.html) |
| | [Pool multiprocessing - know current status in loop?](https://python-forum.io/thread-34388.html) | [korenron](https://python-forum.io/user-16927.html) | [0](https://python-forum.io/misc.php?action=whoposted&tid=34388) | 2,254 | Jul-28-2021, 08:49 AM [Last Post](https://python-forum.io/thread-34388-lastpost.html): [korenron](https://python-forum.io/user-16927.html) |
| | [pool mysql error - not catch by try\\except?](https://python-forum.io/thread-34188.html) | [korenron](https://python-forum.io/user-16927.html) | [1](https://python-forum.io/misc.php?action=whoposted&tid=34188) | 3,068 | Jul-05-2021, 11:26 AM [Last Post](https://python-forum.io/thread-34188-lastpost.html): [ibreeden](https://python-forum.io/user-19124.html) |
| | [Python - Import file sequence into Media Pool](https://python-forum.io/thread-32308.html) | [jensenni](https://python-forum.io/user-29836.html) | [1](https://python-forum.io/misc.php?action=whoposted&tid=32308) | 3,106 | Feb-02-2021, 05:11 PM [Last Post](https://python-forum.io/thread-32308-lastpost.html): [buran](https://python-forum.io/user-9.html) |
| | [Using a button to kill and restart a script](https://python-forum.io/thread-29403.html) | [duckredbeard](https://python-forum.io/user-26873.html) | [3](https://python-forum.io/misc.php?action=whoposted&tid=29403) | 5,106 | Sep-01-2020, 12:53 AM [Last Post](https://python-forum.io/thread-29403-lastpost.html): [duckredbeard](https://python-forum.io/user-26873.html) |
Users browsing this thread: 1 Guest(s)
- [View a Printable Version](https://python-forum.io/printthread.php?tid=38718)
Powered By [MyBB](https://mybb.com/), © 2020 Designed by[rain](https://community.mybb.com/thread-229223.html).
[Forum Stats](https://python-forum.io/stats.php) [Contact Us](https://python-forum.io/contact.php) [Lite (Archive) Mode](https://python-forum.io/archive/index.php/thread-38718.html) [RSS Syndication](https://python-forum.io/misc.php?action=syndication)
### User Panel Messages
![]()
[Log Out](https://python-forum.io/member.php?action=logout&logoutkey=)
[My Profile Pay your profile a visit](https://python-forum.io/member.php?action=profile&uid=0)
[User Control Panel Do some changes on your profile](https://python-forum.io/usercp.php)
[My Messages View private messages unread](https://python-forum.io/private.php)
[Avatar Change avatar](https://python-forum.io/usercp.php?action=avatar)
[Signature Change signature](https://python-forum.io/usercp.php?action=editsig)
##### Announcements
[Announcement \#1](https://python-forum.io/thread-38718.html) 8/1/2020
[Announcement \#2](https://python-forum.io/thread-38718.html) 8/2/2020
[Announcement \#3](https://python-forum.io/thread-38718.html) 8/6/2020

### Login to Python Forum
Enter your details to login to your account:
Don't have an account yet? [Sign Up\!](https://python-forum.io/member.php?action=register)
[Linear Mode](https://python-forum.io/showthread.php?mode=linear&tid=38718&pid=164265#pid164265)
[Threaded Mode](https://python-forum.io/showthread.php?mode=threaded&tid=38718&pid=164265#pid164265) |
| Readable Markdown | null |
| Shard | 51 (laksa) |
| Root Hash | 14605740506344935851 |
| Unparsed URL | io,python-forum!/thread-38718.html s443 |