flagflag  
5: 2009-04-29 (Wed) 13:05:22 iseki source 6: 2010-04-28 (Wed) 00:46:55 admin source
Line 10: Line 10:
- ''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]
Line 32: Line 33:
-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 40: Line 42:
-[[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. + 
-  -: 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 + -: 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]


Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthApr 2024Next Month
Su Mo Tu We Th Fr Sa
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
Today

Who's Online

82 user(s) are online (11 user(s) are browsing xpwiki)

Members: 0
Guests: 82

more...

Access Counter

Today : 5586558655865586
Yesterday : 1169911699116991169911699
Total : 2329292123292921232929212329292123292921232929212329292123292921
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com