5: 2009-04-29 (水) 13:05:22 iseki |
6: 2010-04-28 (水) 00:46:55 admin |
| - ''sl_cache'' is part of ''[[sl_proxy>sl_proxy (E)]]''. | | - ''sl_cache'' is part of ''[[sl_proxy>sl_proxy (E)]]''. |
| - Current version is ''1.1.0'' (5 March '09) | | - Current version is ''1.1.0'' (5 March '09) |
| + | #br |
| | | |
| *** Outline of Functions [#gd1c99c9] | | *** Outline of Functions [#gd1c99c9] |
| -Because the configuration file is read before ''sl_cache'' does the switch to the effective user, exec user should be able to be read. | | -Because the configuration file is read before ''sl_cache'' does the switch to the effective user, exec user should be able to be read. |
| -The setting of each item is described in the configuration file. Empty lines or lines starting with # are not read. | | -The setting of each item is described in the configuration file. Empty lines or lines starting with # are not read. |
| + | #br |
| | | |
| *** Items [#w5d029f2] | | *** Items [#w5d029f2] |
- | Ports for communication with Relay Server | + | **** Ports for communication with Relay Server [#q6cfd47b] |
| -[[MinUdpPutPort>./MinUdpPutPort]] | | -[[MinUdpPutPort>./MinUdpPutPort]] |
| -[[MaxUdpPutPort>./MaxUdpPutPort]] | | -[[MaxUdpPutPort>./MaxUdpPutPort]] |
| -[[MaxUdpGetPort>./MaxUdpGetPort]] | | -[[MaxUdpGetPort>./MaxUdpGetPort]] |
| | | |
- | Number of transfer packets | + | **** Number of transfer packets [#y4963aa0] |
| -[[GetPacketNum>./GetPacketNum]] | | -[[GetPacketNum>./GetPacketNum]] |
| | | |
- | Access Control | + | **** Access Control [#o39c29e0] |
| -[[Hosts_Allow_File>/sl_proxy (E)/Hosts_Allow_File]] | | -[[Hosts_Allow_File>/sl_proxy (E)/Hosts_Allow_File]] |
| | | |
- | Etc. etc. | + | **** Etc. etc. [#td42a6e9] |
| -[[Temp_File_Dir>/sl_proxy (E)/Temp_File_Dir]] | | -[[Temp_File_Dir>/sl_proxy (E)/Temp_File_Dir]] |
| -[[MaxIdleTime>/sl_proxy (E)/MaxIdleTime]] | | -[[MaxIdleTime>/sl_proxy (E)/MaxIdleTime]] |
| + | #br |
| | | |
| ** Execute Options [#nb85999c] | | ** Execute Options [#nb85999c] |
- | sl_cache [-p port_no] [-f config_file] [-u user_name] [-pid pid_file] | + | sl_cache [-p port_no] [-f config_file] [-u user_name] [-i interface_address] |
- | [-i interface_address] | + | [-pid pid_file] [-l [hitrate_logfile]] [-v syslog_level] |
- | [-v syslog_level] [-l [log_file]] [-fdb] [-d] | + | [-xpr [expire_days]] [-lx [expire_logfile]] |
| + | [-fdb] [-d] |
| + | [--version] [--help] [-h] |
| | | |
- | -p : port number that Relay Server(sl_relay) connects. default is 8200. | + | -p : port number that Relay Server(sl_relay) connects. default is 8200. |
- | -f : configuration file. default is /usr/local/etc/sl_proxy/sl_cache.conf | + | -f : configuration file. default is /usr/local/etc/sl_proxy/sl_cahe.conf |
- | -u : effective user. | + | -u : specify effective user. |
- | -pid: pid file. | + | -i : specify sl_relay side network interface IP address. |
- | -i : specify sl_relay side network interface IP address. | + | if your server has two or more network interfaces, you need to use this option. |
- | If your server has two or more network interfaces you need to use this option. | + | |
- | -v : level of syslog. default is LOG_INFO (7). | + | -pid : specify pid file. |
- | -l : create log file. default log file is /var/sl_proxy/slcache.log | + | -l : create hit rate log file. default file name is /var/sl_proxy/sl_cache_hitrate.log |
- | -lx : create cache expire log file. default file name is /var/sl_proxy/sl_expire_cache.log | + | -v : level of syslog. default is LOG_INFO (7). |
- | -xpr: execute the cache expire daemon. The expire time can be continuously specified by day unit. | + | |
- | default is the 30days. | + | -xpr : execute the cache expire daemon. |
- | the expire demon retrieves at random and deletes data without the access during the specified days. | + | The expire time can be continuously specified by day unit. default is the 30days. |
- | -fdb: Berkeley DB is used for the data base. Default is plain file. | + | the expire demon retrieves at random and deletes data without the access during |
- | -d : debug mode. | + | the specified days. |
| + | -lx : create cache expire log file. default file name is /var/sl_proxy/sl_expire_cache.log |
| + | |
| + | -fdb : Berkeley DB is used for the data base. default is plane file. |
| + | |
| + | -d : debug mode. display debug information. |
| + | |
| + | --version : display Version information. |
| + | --help, -h : display this Help messages. |
| | | |
| **Processes [#b015ec30] | | **Processes [#b015ec30] |