Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split out the media/dists directory to avoid inode overload #18

Open
eeaston opened this issue Feb 21, 2013 · 1 comment
Open

Split out the media/dists directory to avoid inode overload #18

eeaston opened this issue Feb 21, 2013 · 1 comment

Comments

@eeaston
Copy link

eeaston commented Feb 21, 2013

Unix directories really don't like having thousands of files in them, especially if they're hosted on NFS. You end up not being able to look at them as your shell hangs trying to get all the inode metadata. Storing all the distributions under media/dists will eventually cause this problem when your database gets big enough. What do you think of using the first letter of the package name to split it out? Eg:

dists/a/argparse-1.0.tar.gz
dists/r/requests-1.3.tar.gz
@popen2
Copy link
Owner

popen2 commented Feb 25, 2013

Sounds the right thing to do, removing "Suggestion" from the title :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants