flagflag  If you want to see English page, please click "English" Button at Left.
2: 2009-01-09 (金) 00:04:20 iseki ソース 現: 2011-09-28 (水) 11:29:54 admin ソース
Line 3: Line 3:
** 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 ''[[80%:http://www.nsl.tuis.ac.jp/xoops/​modules/xpwiki/gate.php?way=attach&_noum​b&refer=sl_cache&openfile=texture_rate.p​ng]]'' of all UDP data.+-By our measurements, the texture data accounts for about max ''[[80%:http://www.nsl.tuis.ac.jp/xoops/​modules/xpwiki/gate.php?way=attach&_noum​b&refer=sl_cache&openfile=texture_rate.p​ng]]'' of all UDP data, though it depends on the SIM's status.
-Cache data is saved in a plain file or Berkeley DB file. (It works fast enough even with a plain file) -Cache data is saved in a plain file or Berkeley DB file. (It works fast enough even with a plain file)
-''sl_cache'' doesn't rewrite the sequence number of UDP packets. It only saves data taking it out of the data stream. -''sl_cache'' doesn't rewrite the sequence number of UDP packets. It only saves data taking it out of the data stream.
- ''sl_cache'' is part of ''[[sl_proxy>sl_proxy (E)]]''. - ''sl_cache'' is part of ''[[sl_proxy>sl_proxy (E)]]''.
-- Current version is ''1.0.0''  (27 July '08)+- Current version is ''1.1.0''  (28 Step. '11) 
 +#br
*** Outline of Functions [#gd1c99c9] *** Outline of Functions [#gd1c99c9]
Line 16: Line 19:
***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.
Line 22: Line 26:
+[[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]]
Line 30: Line 35:
-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]]
Line 38: Line 44:
-[[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]


トップ   新規 ページ一覧 単語検索 最終更新   ヘルプ   最終更新のRSS 1.0 最終更新のRSS 2.0 最終更新のRSS Atom

サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2020年 5月翌月
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
<今日>

オンライン状況

25 人のユーザが現在オンラインです。 (5 人のユーザが xpwiki を参照しています。)

登録ユーザ: 0
ゲスト: 25

もっと...

アクセスカウンタ

今日 : 1238123812381238
昨日 : 3265326532653265
総計 : 1464178414641784146417841464178414641784146417841464178414641784
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com