Re: What's max_object_size for?
Ingo Molnar <[email protected]>
| Newsgroups | gmane.network.tux |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 23 Apr 2002, Liang Yang wrote: > I don't understand the use of parameter max_object_size. > does max_object_size mean the max file cache size > in linux?No matter what's value I set for TUX, TUX always > works properly. TUX will not serve a file if it's larger than max_object_size. the value 0 is a special value, it means infinite. That's the default as well - so default TUX serves any file size. > BTW, someone says the basic unit for max_object_size > is KB instead of MB. So if I set 100 to max_object_size, > TUX will refuse all those files whose size is larger than > 100KB. Is this correct? the unit is bytes, and yes, TUX (well, the HTTP module) will not serve files bigger than this size. > My final questions are whether max_object_size is > for file size of http request or for cache size of Linux > file system? total file size of the Linux file system. > If second case, is it for total size of cached pages or for > individual cached page size? it's related to the physical (on-disk) size of the file, not the caching status. Ingo