apache problem

Discussion in 'Apache' started by msultani, Jan 3, 2008.

  1. #1
    I found out that apache allows you to import 32,000 folders only, after that it cannot handle it, is there a way around this or a fix. The way my site works, for each user it creates them 1 folder for their photos, 1 for their profile and 1 for their music, but once I hit 31999 users, apache stops other folders to be created. anything around this problem.

    Thanks
     
    msultani, Jan 3, 2008 IP
  2. James M

    James M Peon

    Messages:
    36
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    are you sure this is an apache problem? not a PHP problem? curious
     
    James M, Jan 3, 2008 IP
  3. Robert Dinse

    Robert Dinse Guest

    Messages:
    14
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I'm confused by the whole "import folders" terminology. Can you be more explicit with respect to exactly what you're trying to do? You could be running into resource limitations any number of places, but without understanding your application better it's really hard to speculate on what and where.
     
    Robert Dinse, Jan 5, 2008 IP
  4. msultani

    msultani Well-Known Member

    Messages:
    523
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    108
    #4
    on linux the file system is ext3 and ext3 allows only 32000 folders and after that it will not allow any more folders. hope this helps
     
    msultani, Jan 5, 2008 IP
  5. joebert

    joebert Well-Known Member

    Messages:
    2,150
    Likes Received:
    88
    Best Answers:
    0
    Trophy Points:
    145
    #5
    Then you need to start splitting them up into subfolders so you don't have to use 32000 folders in one place.

    aa/aaron
    aa/aa_meetings

    ab/abygale
    ab/absent

    ac/acoustic
    ac/accept_it

    ...

    ax/axe
    ax/ax2007

    ay/aye_matey
    ay/ayte

    az/azz
    az/azzhol
     
    joebert, Jan 6, 2008 IP