I actually just corrected a problem today involving the same issue on Solaris.
The web app I wrote writes 5 or more temporary files to a directory for each
user that uses the app. Recently when a user fills out the for it took forever
to get the results. I looked in the tmp folder for this app and there was
thousands of files in there (I don't know exactly). When that directory was
cleared, the problem was fixed.
Michael
Henrique Pantarotto wrote:
> Hello!
>
> I wrote yesterday a question if Linux handled many files or dirs in a
> single directory. 15,000 entries. I've learned that this is not a good
> idea, and that I should try to avoid it (splitting the directories into
> groups or something). I've also learned that 2.2 kernel handles this much
> better and faster.
>
> Thanks everyone that helped me!
>
> Now I have another question that is disturbing me. ;-)
>
> I'm writing a HotMail-alike kinda service. I'll have many users (the
> maximum will be 15,000 I think). Messages are stored in the /Maildir
> format, which means that every single message is stored in a diferente
> file. So, if the user has 100 messages, he'll have in his mailbox 100 files.
>
> Someone told me that every file (even a small one) takes 1k (or even 4k).
> Is this true?
>
> What about inodes? How does it works? Can I run out of inodes? How can I
> make this more "flexible"? Any RTFM to read? ;-)
>
> Thanks a lot!!!
>
> Henrique Pantarotto
> Coord. T�cnico Operacional
> CEPAnet Internet Provider
> Web: http://www.cepa.com.br
> Tel. suporte: +55 (011) 5506-8477
> Sao Paulo - Brasil
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]