Uploaded image for project: 'PHP Legacy Driver'
  1. PHP Legacy Driver
  2. PHP-202

Too many open files

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 1.1.4
    • Fix Version/s: 1.3.0RC1
    • Component/s: pecl-mongo
    • Labels:
    • Environment:
      Linux 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
      PHP 5.2.9 i386
      MongoDB 1.6.5 x86_64
    • # Replies:
      27
    • Last comment by Customer:
      true

      Description

      The mongod driver does not close file descriptor of connecting to mongodb replica set( or open to many? ). This may cause a 'Too many open files' error at apache. Persistent connection can avoid this bug.

      the attachment fd.txt is file descriptors list of a httpd process

        Attachments

        1. fd.txt
          14 kB
        2. reproduce.php
          0.9 kB

          Activity

            People

            • Votes:
              20 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since reply:
                7 years, 17 weeks, 3 days ago
                Date of 1st Reply: