[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

problem restated RE: inode-max and file-max question



Hi again

Perhaps I should just state he original issue (in case I am barking up the
wrong tree by looking at file-max/inode-max).

The programmer wlil want to do some tracking.  the tracking will take place
every month.. So we are looking at one main root dir, 12 subdirs (one for
each month), and up to 1.5 million files generated per month.

What is the proper way to do this?

Thanks!

Ben Yau

>
> Hi there Linux and kernel gurus...
>
>
> I was curious about a few things.
>
> 1) What is the theoretical and practical max for file-max and inode-max?
> I'm assuming it is related to either disk capacity or RAM.  Also, did
> inode-max go away at a certain kernel revision?   A user wants to set
> something up with reporting that will eventually generate around 15million
> files or so.  One google/usenet article i found related it to physical
> memory.  If RAM is N
>
> N/4*256 = file-max
> file-max*4 = inode-max
>
> Both seem a bit short to me for theoretical max.  (not the
> file-max*4=inode-max part but the N/4*256=file-max part)
>
> 2) is there a reason inode-max doesn't exist anymore?
>
> 3) How do the below numbers relate for file-max (and indirectly
> inode-max I
> guess) and the output for df -i ?
>
> [byau testmachine fs]$ more /proc/sys/fs/file-max
> ::::::::::::::
> /proc/sys/fs/file-max
> ::::::::::::::
> 8192
> [byau testmachine fs]$ df -i
> Filesystem            Inodes   IUsed   IFree IUse% Mounted on
> /dev/sda2              64512    9450   55062   15% /
> /dev/sda1                512      35     477    7% /boot
> /dev/sda3             256512   81440  175072   32% /usr
> /dev/sda5              64512     859   63653    1% /var
> /dev/sda7              26208      12   26196    0% /tmp
> /dev/sda8             257280   50650  206630   20% /home
> [byau testmachine fs]$
>
>
> Thanks!!
> Ben Yau
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]