4: 2009-03-13 (Fri) 03:15:14 iseki |
Cur: 2011-09-28 (Wed) 11:29:54 admin |
| | | |
| ** Outline [#uf52edaf] | | ** Outline [#uf52edaf] |
| + | - &font(120%){''&font(Red){Attention};:''}; ''The texture data is downloaded by HTTP(S) since SL Viewer 2.1.1. Therefore, when Viewer since SL Viewer 2.1.1 is used, sl_cache seems to be useless. '' |
| + | |
| -''sl_cache'' is a UDP Texture Cache Server for ''[[sl_relay>sl_relay (E)]]'' running on Linux. | | -''sl_cache'' is a UDP Texture Cache Server for ''[[sl_relay>sl_relay (E)]]'' running on Linux. |
| -By our measurements, the texture data accounts for about max ''[[80%:http://www.nsl.tuis.ac.jp/xoops/modules/xpwiki/gate.php?way=attach&_noumb&refer=sl_cache&openfile=texture_rate.png]]'' of all UDP data, though it depends on the SIM's status. | | -By our measurements, the texture data accounts for about max ''[[80%:http://www.nsl.tuis.ac.jp/xoops/modules/xpwiki/gate.php?way=attach&_noumb&refer=sl_cache&openfile=texture_rate.png]]'' of all UDP data, though it depends on the SIM's status. |
| | | |
| - ''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'' (28 Step. '11) |
| + | #br |
| | | |
| *** Outline of Functions [#gd1c99c9] | | *** Outline of Functions [#gd1c99c9] |
| ***Annoyances or Bugs. [#ie9ebcd0] | | ***Annoyances or Bugs. [#ie9ebcd0] |
| +Cache data is saved in a plain file or a Berkeley DB file. SQL database is not supported. | | +Cache data is saved in a plain file or a Berkeley DB file. SQL database is not supported. |
| + | +The speed slows in Berkeley DB. Plain file is more high-speed now. |
| +The program has not been stress tested. | | +The program has not been stress tested. |
| | | |
| +[[Texture Data Base>./Texture DB]] | | +[[Texture Data Base>./Texture DB]] |
| +[[When the server has two network interfaces or more>/sl_proxy (E)/two or more network interfaces]] | | +[[When the server has two network interfaces or more>/sl_proxy (E)/two or more network interfaces]] |
| + | +[[Expire Cache Data>./Expire]] |
| +[[Log and Debug Mode>./Log and Debug Mode]] | | +[[Log and Debug Mode>./Log and Debug Mode]] |
| +[[Security>./Security]] | | +[[Security>./Security]] |
| -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] |
- | -p : port number that Relay Server(sl_relay) connects. default is 8200. | + | [--version] [--help] [-h] |
- | -f : configuration file. default is /usr/local/etc/sl_proxy/sl_cache.conf | + | |
- | -u : effective user. | + | -p : port number that Relay Server(sl_relay) connects. default is 8200. |
- | -pid: pid file. | + | -f : configuration file. default is /usr/local/etc/sl_proxy/sl_cahe.conf |
- | -i : specify sl_relay side network interface IP address. | + | -u : specify effective user. |
- | If your server has two or more network interfaces you need to use this option. | + | -i : specify sl_relay side network interface IP address. |
- | -v : level of syslog. default is LOG_INFO (7). | + | if your server has two or more network interfaces, you need to use this option. |
- | -l : create log file. default log file is /var/sl_proxy/slcache.log | + | |
- | -fdb: Berkeley DB is used for the data base. Default is plain file. | + | -pid : specify pid file. |
- | -d : debug mode. | + | -l : create hit rate log file. default file name is /var/sl_proxy/sl_cache_hitrate.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. |
| + | the expire demon retrieves at random and deletes data without the access during |
| + | 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] |