Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    Regular Coder
    Join Date
    Jul 2004
    Posts
    201
    Thanks
    8
    Thanked 1 Time in 1 Post

    how many folders can apache hold

    how many folders can apache hold in one directory ? Im useing linux.

    It didnt occur to me untill now, im writeing a script that uploads files and gives a user a link to download it, and each file is stored in its own folder with a unique ID. But now its occured to me that this may become a problem in the future.

    Anyone got any ideas ?

  • #2
    Regular Coder
    Join Date
    Aug 2005
    Posts
    257
    Thanks
    8
    Thanked 0 Times in 0 Posts
    store files on db

  • #3
    Senior Coder
    Join Date
    Sep 2005
    Posts
    1,791
    Thanks
    5
    Thanked 36 Times in 35 Posts
    wait for it to become an issue, it's not going to be any time soon, and you'll probably be doing something different then anyway.

  • #4
    Regular Coder
    Join Date
    Jul 2004
    Posts
    201
    Thanks
    8
    Thanked 1 Time in 1 Post
    well I dont want to have to write a script then have to completely rewrite another that can work around my old one.

    I hink I came up with a solution anyhow, Im putting the files in a folder depending on what month it is and each file is going to be renamed to a 20 character random string,

  • #5
    New Coder
    Join Date
    Feb 2005
    Posts
    40
    Thanks
    0
    Thanked 0 Times in 0 Posts
    #!/bin/bash
    X=0
    while [ $X -le 200000000 ]
    do
    mkdir $X
    X=$((X+1))
    done



    try this and see how many did he handle.
    Just dont expect too see all in the index

  • #6
    Regular Coder
    Join Date
    Jul 2004
    Posts
    201
    Thanks
    8
    Thanked 1 Time in 1 Post
    lol, suppose that is a good way of finding out. I read it somewhere before, but cant seem to find it now.

    Thanks anyway


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •