Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6550843
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T12:15:54+00:00 2026-05-25T12:15:54+00:00

The workaround for an issue in supervisord is to: compile a Python that supports

  • 0

The workaround for an issue in supervisord is to:
“compile a Python that supports > 1024 file descriptors”

https://github.com/Supervisor/supervisor/issues/26

Can someone please walk me through what changes are necessary to accomplish this? I have the python 2.7.2 source extracted and ready to go.

Running centos 5.6, if that matters.

Thanks.

Update: ulimit -n is already set to 65535. This is the full error I’m getting when starting supervisord:

Traceback (most recent call last):
File “/usr/local/bin/supervisord”, line 8, in
load_entry_point(‘supervisor==3.0a10’, ‘console_scripts’, ‘supervisord’)()
File “/usr/local/lib/python2.7/site-packages/supervisor-3.0a10-py2.7.egg/supervisor/supervisord.py”, line 372, in main
go(options)
File “/usr/local/lib/python2.7/site-packages/supervisor-3.0a10-py2.7.egg/supervisor/supervisord.py”, line 382, in go d.main()
File “/usr/local/lib/python2.7/site-packages/supervisor-3.0a10-py2.7.egg/supervisor/supervisord.py”, line 95, in main
self.run()
File “/usr/local/lib/python2.7/site-packages/supervisor-3.0a10-py2.7.egg/supervisor/supervisord.py”, line 112, in run
self.runforever()
File “/usr/local/lib/python2.7/site-packages/supervisor-3.0a10-py2.7.egg/supervisor/supervisord.py”, line 230, in runforever
r, w, x = self.options.select(r, w, x, timeout)
File “/usr/local/lib/python2.7/site-packages/supervisor-3.0a10-py2.7.egg/supervisor/options.py”, line 1113, in select
return select.select(r, w, x, timeout)
ValueError: filedescriptor out of range in select()

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T12:15:55+00:00Added an answer on May 25, 2026 at 12:15 pm

    That’s actually the limit of the underlying select(2) system call.

    From the man page:

    An fd_set is a fixed size buffer.  Executing FD_CLR() or FD_SET() with a value of fd 
    that  is  negative  or  is equal  to  or  larger  than  FD_SETSIZE will result in 
    undefined behavior. 
    

    And the standard FD_SETSIZE is 1024.

    /usr/include/linux/posix_types.h:#define __FD_SETSIZE   1024
    

    So it’s not a Python issue. The poll(2) and epoll(2) system calls have a much larger limit. What you really need to do use use the select.epoll object (still in the select module) instead of `select.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Please check out this issue: http://code.google.com/p/android/issues/detail?id=20791 The project (https://github.com/kaciula/BugRetain) uses a CursorLoader to take
We are trying to find a workaround for the issue that the Entity Framework
I'm having a strange issue that I think I have a workaround for, but
I want to workaround the Webpage has expired issue. First, I just changed a
Is there any workaround to allow actionscript3 write to file system without adobe air?
Is there any Workaround/Tool for renaming the Resource Keys from the resource file .
I was looking for satisfactory and safe workaround to my double precision issue specified
Is there any workaround to the issue with Adobe Flash where a Flash Movie
Has anyone found a solution or workaround to the issue of how Entity Framework
My issue is following: My Partner's have websites and I want that partners can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.