Github user JoshRosen commented on a diff in the pull request:
https://github.com/apache/spark/pull/1680#discussion_r15625850
--- Diff: python/pyspark/daemon.py ---
@@ -143,15 +92,10 @@ def manager():
# Create a listening socket on the AF_INET loopback interface
listen_sock = socket.socket(AF_INET, SOCK_STREAM)
listen_sock.bind(('127.0.0.1', 0))
- listen_sock.listen(max(1024, 2 * POOLSIZE, SOMAXCONN))
--- End diff --
The `2 * POOLSIZE` didn't really make sense here; it would only have an
effect if `multiprocessing.cpu_count()` reported more than 512 cores.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---