On 7/31/06, made donal <[EMAIL PROTECTED]> wrote: > > hallo rekan2 master linux, saya sempat baca2 di > internet tentang squidnya. namun saya menemukan > kendala. ini apa sih maksudnya????? > maximum_object_size 256 KB
*Description* Objects larger than this size will NOT be saved on disk. The value is specified in kilobytes, and the default is 4 MB. If you wish to get a high BYTES hit ratio, you should probably increase this (one 32 MB object hit counts for 3200 10 KB hits). If you wish to increase speed more than your want to save bandwidth, you should leave this low. During the initial downloading of a file, the downloading time seems to be a normal one, but if you download the same file again, the time it takes for download will be very minimum. This indicates that, the file comes from the Cache. cache_dir ufs /var/spool/squid 100 16 256 *Usage* cache_dir Type Maxobjsize Directory-Name Mbytes Level-1 Level2 [..] DISKD : cache_dir diskd Maxobjsize Directory-Name MB L1 L2 Q1 Q2 *Description* Type specifies the kind of storage system to use. Most everyone will want to use "ufs" as the type. If you are using Async I/O (--enable async-io) on Linux or Solaris, then you may want to try "aufs" as the type. Async IO support may be buggy, however, so beware. Maxobjsize refers to the max object size this storedir supports. It is used to initially choose the storedir to dump the object. -1 means 'any size'. 'Directory' is a top-level directory where cache swap files will be stored. If you want to use an entire disk for caching, then this can be the mount-point directory. The directory must exist and be writable by the Squid process. Squid will NOT create any directory. 'Mbytes' is the amount of disk space (MB) to use under this directory. 'Level-1' is the number of first-level subdirectories, which will be created under the 'Directory'. 'Level-2' is the number of second-level subdirectories, which will be created under each first-level directory. To create swap directory use /usr/local/squid/bin/squid z option. For the diskd type, Q1 specifies the number of unacknowledged I/O requests when Squid stops opening new files. If this many messages are in the queues, Squid won't open new files. Q2 specifies the number of unacknowledged messages when Squid starts blocking. If this many messages are in the queues, Squid blocks until it receives some replies. *Default* cache_dir ufs /usr/local/squid/cache 100 16 256 *Example* cache_dir ufs /cache1 5000 16 256 memory_pools_limit 32 MB *Description* If set to a non-zero value, Squid will keep at most the specified limit of allocated (but unused) memory in memory pools. All free() requests that exceed this limit will be handled by your malloc library. Squid does not pre-allocate any memory, just safe-keeps objects that otherwise would be free()d. Thus, it is safe to set memory_pools_limit to a reasonably high value even if your configuration will use less memory. If not set (default) or set to zero, Squid will keep all memory it can. That is, there will be no limit on the total amount of memory used for safe-keeping. redirect_rewrites_host_header off *Description* By default Squid rewrites any Host: header in redirected requests. If you are running a accelerator then this may not be a wanted effect of a redirector half_closed_clients off *Description* Some clients may shutdown the sending side of their TCP connections, while leaving their receiving sides open. Sometimes, Squid cannot tell the difference between a half-closed <http://www.visolve.com/squid/squid24s1/glossary.php#timeout>and a fully-closed <http://www.visolve.com/squid/squid24s1/glossary.php#timeout>TCP connection. By default, half-closed client connections are kept open until a read(2) or write(2) on the socket returns an error. Change this option to 'off' and Squid will immediately close client connections when read (2) returns "no more data to r log_icp_queries off *Description* If set, ICP queries are logged to access.log<http://www.visolve.com/squid/squid24s1/logfiles.php#cache_access_log>. You may wish to disable this if your ICP load is very high to speed things up or to simplify log analysis cachemgr_passwd mypassword all *Description* This tag is used to specify passwords for cachemgr operations. Some valid actions are (see cache manager menu for a full list): 5min 60min asndb authenticator cbdata client_list comm_incoming config * counters delay digest_stats dns events filedescriptors fqdncache histograms http_headers info io ipcache mem menu netdb non_peers objects pconn peer_select redirector refresh server_list shutdown * store_digest storedir utilization via_headers vm_objects * Indicates actions which will not be performed without a valid password, others can be performed if not listed here. To disable an action, set the password to "disable". To allow performing an action without a password, set the password to "none". Use the keyword "all" to set the same password for all actions. cachemgr_passwd secret shutdown cachemgr_passwd lesssssssecret info stats/objects cachemgr_passwd disable all forwarded_for off *Description* Current HTTP/1.1 does not provide any standard way of indicating the client address in the request. Since a number of people missed having the originating client address in the request, Squid now adds its own request header called "X-Forwarded-For" which looks like this: X-Forwarded-For: 192.1.2.3|unknown If set, Squid will include your system's IP address or name in the HTTP requests it forwards. By default it looks like this: X-Forwarded-For: 192.1.2.3 If you disable this, it will appear as X-Forwarded-For: unknown > buffered_logs on *Description* Some log files (cache.log useragent.log) are written with stdio functions, and as such they can be buffered or unbuffered. By default they will be unbuffered. Buffering them can speed up the writing slightly (though you are unlikely to need to worry). visible_hostname ibunk.dk.co.id *Description* If you want to present a special hostname in error messages, etc then define this. Otherwise, the return value of gethostname () will be used. If you have multiple caches in a cluster and get errors about IP-forwarding, you must set them to have individual names with this setting. When the error message appears in the browser, it will show as it is generated from the visible_hostname. ftp_user [EMAIL PROTECTED] *Description* This tag can be used if you want the anonymous login password to be more informative. You can set this to something reasonable for your domain, like [EMAIL PROTECTED] The reason why this is domain less by default is that the request can be made on the behalf of a user in any domain, depending on how the cache is used. Some ftp servers also validate the email address. mohon penjelasannya ya, maklum masih pelajar sekolah > > Send instant messages to your online friends http://uk.messenger.yahoo.com > > > *yang masih belum paham squid dan nggak bisa basa inggris* [Non-text portions of this message have been removed] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/balinux/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
