Author: igalic
Date: Thu Sep  1 03:58:49 2011
New Revision: 1163902

URL: http://svn.apache.org/viewvc?rev=1163902&view=rev
Log:
restore FAQ from r1079505

Modified:
    
trafficserver/site/branches/ats-cms/content/docs/trunk/admin/faqs/index.en.mdtext

Modified: 
trafficserver/site/branches/ats-cms/content/docs/trunk/admin/faqs/index.en.mdtext
URL: 
http://svn.apache.org/viewvc/trafficserver/site/branches/ats-cms/content/docs/trunk/admin/faqs/index.en.mdtext?rev=1163902&r1=1163901&r2=1163902&view=diff
==============================================================================
--- 
trafficserver/site/branches/ats-cms/content/docs/trunk/admin/faqs/index.en.mdtext
 (original)
+++ 
trafficserver/site/branches/ats-cms/content/docs/trunk/admin/faqs/index.en.mdtext
 Thu Sep  1 03:58:49 2011
@@ -16,8 +16,1050 @@ Notice:    Licensed to the Apache Softwa
            specific language governing permissions and limitations
            under the License.
 
-This document is a place holder. As soon as there actually *are* Frequently
-asked Questions, they shold be put here, and reference back to our 
documentation.
 
-A need for a FAQs is a signal for bad documentation. Lets make sure we don't
-fall into that category.
+# Appendix G - FAQs and Troubleshooting Tips # 
{#AppendixG-FAQsTroubleshootingTips}
+
+ This appendix contains the following sections:
+
+* [Frequently Asked Questions](#0_30488)
+* [Troubleshooting Tips](#0_96161)
+
+## Frequently Asked Questions ## {#FrequentlyAskedQuestions}
+
+ FAQs
+
+  
+
+* [How do you create a raw disk for the cache if all your disks have mounted 
file systems?](#0_41244)
+* [How do disk I/O errors affect the cache and what does Traffic Server do 
when a cache disk fails?](#0_34163)
+* [If a client disconnects during the time that Traffic Server is downloading 
a large object, is any of the object saved in the cache?](#0_45613)
+* [Can Traffic Server cache Java applets, JavaScript programs, or other 
application files like VBScript?](#0_95054)
+* [How do you apply changes to the `logs_xml.config` file to all nodes in a 
cluster?](#0_37211)
+* [In Squid- and Netscape-format log files, what do the cache result codes 
mean?](#0_21826)
+* [What is recorded by the `cqtx` field in a custom log file?](#0_11719)
+* [Does Traffic Server refresh entries in its host database after a certain 
period of time if they haven't been used?](#0_42816)
+* [Can you improve the look of your custom response pages by using images, 
animated .gifs, and Java applets?](#0_12274)
+* [Can Traffic Server run in both forward proxy and reverse proxy mode at the 
same time?](#0_84580)
+* [How do I enable forward proxy mode?](#enable_forward_proxy)
+* [How do I interpret the Via: header code?](#interpret_via_header)
+* [Support for HTTP Expect: Header](#expect_header)
+
+###   _How do you create a raw disk for the cache if all your disks have 
mounted file systems?_ ### 
{#Howdoyoucreatearawdiskforcacheifallyourdiskshavemountedfilesystems?}
+
+####  To create a raw disk: #### {#createarawdisk}
+
+1.  As `root`, enter the following command at the prompt to examine which file 
systems are mounted on the disk you want to use for the Traffic Server cache:   
+`df -k`                  
+
+2.  In a text editor, open the         
+                               /etc/fstab file and comment out/delete the file 
system entries for the disk.
+3.  Save and close the `fstab` file.
+4.  Enter the following command for each file system you want to unmount:  
+`umount _file_system_`
+               
+ where `_ file_system_` is the file system you want to unmount. 
+5.  Install Traffic Server. When the installation script prompts you for a 
cache disk, select the raw disk you just created.
+
+_
+
+### How do disk I/O errors affect the cache and what does Traffic Server do 
when a cache disk fails? ### 
{#HowdodiskI/OerrorsaffectcachewhatdoesTSdowhenacachediskfails?}
+
+_
+
+If a disk drive fails five successive I/O operations, then Traffic Server 
considers the drive inaccessible and removes the entire disk from the cache. 
Normal cache operations continue for all other Traffic Server disk drives._
+_
+
+_
+__
+
+### If a client disconnects during the time that Traffic Server is downloading 
a large object, is any of the object saved in the cache? ### 
{#IfaclientdisconnectsduringtimethatTSisdownloadingalargeobject,isanyofobjectsavedincache?}
+
+_
+
+When a client disconnects during an HTTP operation, Traffic Server continues 
+to download the object from the origin server for up to 10 seconds. If the 
+transfer from the origin server completes successfully within 10 seconds after 
+the client disconnect, then Traffic Server stores the object in cache. If the 
+origin server download does _not_ complete successfully within 10 seconds, 
+then Traffic Server disconnects from the origin server and deletes the object 
+from cache. Traffic Server does not store partial documents in the cache.
+
+_
+
+### Can Traffic Server cache Java applets, JavaScript programs, or other 
application files like VBScript? ### 
{#CanTScacheJavaapplets,JavaScriptprograms,otherapplicationfileslikeVBScript?}
+
+_
+
+Yes, Traffic Server can store and serve Java applets, JavaScript programs, 
VBScripts, and other executable objects from its cache according to the 
freshness and cacheability rules for HTTP objects. Traffic Server does not 
execute the applets, scripts, or programs, however - these objects run only 
when the client system (ie, the one that sent the request) loads them._
+__
+_
+
+_
+
+### How do you apply changes to the `logs_xml.config` file to all nodes in a 
cluster? ### {#Howdoyouapplychanges`logsxml.config`fileallnodesinacluster?}
+
+_
+
+ After you modify the  
+         logs_xml.config file on one Traffic Server node, enter the following 
command from the Traffic Server  
+         bin directory:  
+` traffic_line -x`
+
+  
+  
+ Traffic Server applies the changes to all nodes in the cluster. The changes 
take effect immediately.__
+
+_
+
+### In Squid- and Netscape-format log files, what do the cache result codes 
mean? ### {#InSquid-Netscape-formatlogfiles,whatdocacheresultcodesmean?}
+
+_
+
+The following table describes the cache result codes in Squid and Netscape 
+log files.
+
+_
+**
+  
+
+ Cache Result Code
+
+  ** **
+  
+
+ Description
+
+  ** 
+
+  
+
+       
+           TCP_HIT 
+
+  
+:   
+      
+    
+     A valid copy of the requested object was in the cache and Traffic Server 
sent 
+    the object to the client. 
+    
+    
+      
+
+  
+
+       
+           TCP_MISS
+
+  
+:   
+      
+    
+     The requested object was not in cache, so Traffic Server retrieved the 
object 
+    from the origin server (or a parent proxy) and sent it to the client.
+    
+    
+      
+
+  
+
+       
+           TCP_REFRESH_HIT 
+
+  
+:   
+      
+    
+     The object was in the cache, but it was stale. Traffic Server made an     
+             if-modified-since request to the origin server and the origin 
server sent a       
+             304 not-modified response. Traffic Server sent the cached object 
to the client.
+    
+    
+      
+
+  
+
+       
+           TCP_REF_FAIL_HIT
+
+  
+:   
+      
+    
+     The object was in the cache but was stale. Traffic Server made an         
+             if-modified-since request to the origin server but the server did 
not respond_._ Traffic Server sent the cached object to the client.
+    
+    
+      
+
+  
+
+       
+           TCP_REFRESH_MISS
+
+  
+:   
+      
+    
+     The object was in the cache but was stale. Traffic Server made an         
+             if-modified-since request to the origin server and the server 
returned a new object_._ Traffic Server served the new object to the client.
+    
+    
+      
+
+  
+
+       
+           TCP_CLIENT_REFRESH
+
+  
+:   
+      
+    
+     The client issued a request with a `no-cache` header. Traffic Server 
obtained 
+    the requested object from the origin server and sent a copy to the client. 
+    Traffic Server deleted the previous copy of the object from cache.
+    
+    
+      
+
+  
+
+       
+           TCP_IMS_HIT 
+
+  
+:   
+      
+    
+     The client issued an      
+             if-modified-since request and the object was in cache & fresher 
than the IMS date, **or** an      
+             if-modified-since request to the origin server revealed the 
cached object was fresh. Traffic Server served the cached object to the client.
+    
+    
+      
+
+  
+
+       
+           TCP_IMS_MISS
+
+  
+:   
+      
+    
+     The client issued an      
+             if-modified-since request, and the object was either not in cache 
or was stale in cache. Traffic Server sent an   
+             if-modified-since request to the origin server and received the 
new object. Traffic Server sent the updated object to the client.
+    
+    
+      
+
+  
+
+       
+           TCP_SWAPFAIL 
+
+  
+:   
+      
+    
+     The object was in the cache but could not be accessed. The client did not 
+    receive the object.
+    
+    
+      
+
+  
+
+       
+           ERR_CLIENT_ABORT 
+
+  
+:   
+      
+    
+     The client disconnected before the complete object was sent.
+    
+    
+      
+
+  
+
+       
+           ERR_CONNECT_FAIL
+
+  
+:   
+      
+    
+     Traffic Server could not reach the origin server.
+    
+    
+      
+
+  
+
+       
+           ERR_DNS_FAIL
+
+  
+:   
+      
+    
+     The Domain Name Server (DNS) could not resolve the origin server name, or 
+    no DNS could be reached.
+    
+    
+      
+
+  
+
+       
+           ERR_INVALID_REQ 
+
+  
+:   
+      
+    
+     The client HTTP request was invalid. (Traffic Server forwards requests 
with 
+    unknown methods to the origin server.) 
+    
+    
+      
+
+  
+
+       
+           ERR_READ_TIMEOUT
+
+  
+:   
+      
+    
+     The origin server did not respond to Traffic Server's request within the 
timeout 
+    interval.
+    
+    
+      
+
+  
+
+       
+           ERR_PROXY_DENIED
+
+  
+:   
+      
+    
+     Client service was denied.
+    
+    
+      
+
+  
+
+       
+           ERR_UNKNOWN
+
+  
+:   
+      
+    
+     The client connected, but subsequently disconnected without sending a 
request. 
+    
+    
+    
+      
+
+### What is recorded by the `cqtx` field in a custom log file? ### 
{#Whatisrecordedby`cqtx`fieldinacustomlogfile?}
+
+_
+
+In **forward proxy mode**, the         
+         cqtx field records the complete client request in the log file (for 
example,  
+         GET http://www.company.com HTTP/1.0 ).   
+ In **reverse proxy mode**, the        
+         cqtx field records the hostname or IP address of the origin server 
because Traffic Server first remaps the request as per map rules in the    
+         remap.config file.
+
+_
+
+### Does Traffic Server refresh entries in its host database after a certain 
period of time if they have not been used? ### 
{#DoesTSrefreshentriesinitshostdatabaseafteracertainperiodoftimeiftheyhavenotbeenused?}
+
+_
+
+By default, the Traffic Server host database observes the time-to-live (`ttl`) 
+values set by name servers. You can reconfigure Traffic Server to ignore the 
+`ttl` set by name servers and use a specific Traffic Server setting instead. 
+Alternatively, you can configure Traffic Server to compare the `ttl` value 
+set by the name server with the `ttl` value set by Traffic Server, and then 
+use either the lower or the higher value. 
+
+#### To adjust the host database settings: #### {#adjusthostdatabasesettings}
+
+1. In a text editor, open the  
+                               records.config file located in the Traffic 
Server       
+                               config directory. 
+2.  Set the value of the variable      
+                               proxy.config.hostdb.ttl_mode to:
+
+*              
+                                 0 to obey `ttl` values set by the name 
servers.
+*              
+                                 1 to ignore `ttl` values set by name servers 
and instead use the value set by the Traffic Server configuration variable      
 
+                               proxy.config.hostdb.timeout (make sure you set 
this variable to a value appropriate for your needs).
+*              
+                               2 to use the lower of the two values (i.e., 
either the value set by the name server or the one set by Traffic Server).
+*              
+                               3 to use the higher of the two values.
+
+ Save and close the    
+           records.config file.   
+ From the Traffic Server       
+             bin directory, run the command    
+             traffic_line -x  to apply the configuration changes. 
+
+_
+
+### Can you improve the look of your custom response pages by using images, 
animated .gifs, and Java applets? ### 
{#Canyouimprovelookofyourcustomresponsepagesbyusingimages,animated.gifs,Javaapplets?}
+
+_
+
+No, because Traffic Server can only respond to clients with a single text or 
HTML document. As a workaround, however, you can provide references on your 
custom response pages to images, animated .gifs, Java applets, or objects other 
than text which are located on a web server. Add links in the         
+         body_factory template files in the same way you would for any image 
in an HTML document (i.e., with the full URL in the `SRC` attribute).
+
+_
+
+### Can Traffic Server run in forward proxy and reverse proxy modes at the 
same time? ### {#CanTSruninforwardproxyreverseproxymodesatsametime?}
+
+_
+
+ Yes. When you enable reverse proxy mode, Traffic Server remaps incoming 
requests according to the map rules in the    
+         remap.config file. All other requests that do not match a map rule 
are simply served in forward proxy mode.   
+ If you want to run in reverse proxy only mode (wherein Traffic Server does 
_not_ serve requests that fail to match a map rule), then you must set the 
configuration variable  
+         proxy.config.url_remap.remap_required to 1 in the `records.config` 
file. 
+
+### _How do I enable forward proxy mode_ ### {#HowdoIenableforwardproxymode}
+
+Forward proxy mode is not enabled out of the box for security reasons. When 
enabling any proxy on the internet, you want to make sure you observe pertinent 
security restrictions. Having an open proxy available to internet users is a 
bad thing. If you understand this and are sure you know what you are doing, in 
`records.config`:  
+       
+           # Set this variable to 1 if you want Traffic Server to serve 
+           # requests only from origin servers listed in the mapping rules
+           # of the remap.config file. If a request does not match, then 
+           # the browser will receive an error.
+           CONFIG proxy.config.url_remap.remap_required INT 0
+
+### _How do I interpret the Via: header code?_ ### 
{#HowdoIinterpretViaheadercode?}
+
+The Via header is an optional HTTP header added by Traffic Server and other 
+HTTP proxies. If a request goes through multiple proxies, each one appends 
+its Via header content to the end of the existing Via header. Via header 
content 
+is for general information and diagnostic use only and should not be used as 
+a programmatic interface to Traffic Server. 
+
+ The form of the Via header is 
+
+ Via: _<protocol> <proxyname>_ (_<product/version> [_<via-codes>_])
+
+ _<protocol>_  the scheme and version of the HTTP request   
+
+ _<proxyname>_  the configured name of the proxy server   
+
+ _<product/version>_  the Inktomi Network Products product name and version   
+
+ _<via-codes>_  a string of alphabetic codes presenting status information 
about the proxy 
+handling of the HTTP request 
+
+ For example:
+
+<p>    
+       Via: HTTP/1.0 storm (Traffic-Server/4.0.0   [cMs f ]) 
+             [u lH o  f  pS eN]     cache hit
+             [u lM oS fF pS eN]     cache miss
+             [uN l oS f  pS eN]     no-cache origin server fetch
+        The short status code shows the cache-lookup, server-info and 
cache-fill information as listed in the full status code description below. The 
long status code list provided in older, commercial versions of Traffic Server 
can be restored by setting the verbose_via_str config variable. 
+
+ The character strings in the via-code show [_<request results>_:_<proxy op>_] 
where _<request results>_ represents status information about the results of 
the client request and _<proxy op>_ represent some information about the proxy 
operations performed during request processing. The full via-code status format 
is 
+
+[u_<client-info>_ c_<cache-lookup>_ s_<server-info>_
+
+f_<cache-fill>_ p_<proxy-info>_ e_<error-codes>_
+
+: t_<tunnel-info>_c_<cache-type><cache-lookup-result>_ i_<icp-conn-info>_ 
p_<parent-proxy>_ s_<server-conn-info>_]
+
+ **u** _client-info_  Request headers received from client. Value is one of:
+
+ C 
+:    cookie 
+
+ E 
+:    error in request 
+
+ I 
+:    If Modified Since (IMS) 
+
+ N 
+:    no-cache 
+
+ S 
+:    simple request (not conditional) 
+
+ **c** _cache-lookup_  Result of Traffic Server cache lookup for URL. Value is 
one of:
+
+ A 
+:    in cache, not acceptable (a cache "MISS") 
+
+ H 
+:    in cache, fresh (a cache "HIT") 
+
+ M 
+:    miss (a cache "MISS") 
+
+ S 
+:    in cache, stale (a cache "MISS") 
+
+ blank 
+:    no cache lookup performed 
+
+ **s** _server-info_  Response information received from origin server. Value 
is one of:
+
+ E 
+:    error in response 
+
+ N 
+:    not-modified 
+
+ S 
+:    served 
+
+ blank 
+:    no server connection needed 
+
+ **f** _cache-fill_  Result of document write to cache. Value is one of:
+
+ D 
+:    cached copy deleted 
+
+ U 
+:    updated old cache copy 
+
+ W 
+:    written into cache (new copy) 
+
+ blank 
+:    no cache write performed 
+
+ **p** _proxy-info_  Proxy operation result. Value is one of: 
+ N 
+:    not-modified 
+
+ R 
+:    origin server revalidated 
+
+ S 
+:    served 
+
+ **e** _error-codes_  Value is one of: 
+ A 
+:    authorization failure 
+
+ C 
+:    connection to server failed 
+
+ D 
+:    dns failure 
+
+ F 
+:    request forbidden 
+
+ H 
+:    header syntax unacceptable 
+
+ N 
+:    no error 
+
+ S 
+:    server related error 
+
+ T 
+:    connection timed out 
+
+**:** = Separates proxy request result information from operation detail codes 
+
+ **t** _tunnel-info_  Proxy-only service operation. Value is one of: 
+ F 
+:    tunneling due to a header field (such as presence of If-Range header) 
+
+ M 
+:    tunneling due to a method (e.g. CONNECT) 
+
+ O 
+:    tunneling because cache is turned off 
+
+ U 
+:    tunneling because of url (url suggests dynamic content) 
+
+ blank 
+:    no tunneling 
+
+ **c** _cache-type_ and _cache-lookup_  cache result values (2 characters) 
+  
+  cache-type character value is one of
+
+ C 
+:    cache 
+
+ I 
+:    icp 
+
+ blank 
+:    cache miss or no cache lookup 
+
+ cache-lookup-result character value is one of:  C 
+:    cache hit, but config forces revalidate 
+
+ D 
+:    cache hit, but method forces revalidated (e.g. ftp, not anonymous) 
+
+ H 
+:    cache hit 
+
+ I 
+:    conditional miss (client sent conditional, fresh in cache, returned 412) 
+
+ M 
+:    cache miss (url not in cache) 
+
+ N 
+:    conditional hit (client sent conditional, doc fresh in cache, returned 
304) 
+     
+
+ S 
+:    cache hit, but expired 
+
+ U 
+:    cache hit, but client forces revalidate (e.g. Pragma: no-cache) 
+
+ blank 
+:    no cache lookup 
+
+ **i** _icp-conn-info_  ICP status
+
+ F 
+:    connection open failed 
+
+ S 
+:    connection opened successfully 
+
+ blank 
+:    no icp 
+
+ **p** _parent-proxy_  parent proxy connection status 
+ F 
+:    connection open failed 
+
+ S 
+:    connection opened successfully 
+
+ blank 
+:    no parent proxy 
+
+ **s** _server-conn-info_  origin server connection status
+
+ F 
+:    connection open failed 
+
+ S 
+:    connection opened successfully 
+
+ blank 
+:    no server connection 
+
+###  Support for HTTP Expect: Header  ### {#SupportforHTTPExpectHeader}
+
+Traffic Server currently does not handle request Expect: headers according to 
the HTTP/1.1 spec. 
+
+ Note that clients such as cURL automatically send Expect: for POST requests 
with large POST bodies, with a 1 second timeout if a 100 Continue response is 
not received. To avoid the timeout when using cURL as a client to Traffic 
Server, you can turn off the Expect: header as follows:
+
+ command line:         
+       curl -H"Expect:" http://www.example.com/
+       
+
+ C (libcurl):  
+       struct curl_slist *header_list=NULL;
+       header_list = curl_slist_append(header_list, "Expect:"); 
+       curl_easy_setopt(my_curlp, CURLOPT_HTTPHEADER, header_list); 
+       
+
+ php:  
+       curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:')); 
+       
+
+   
+   
+
+## Troubleshooting Tips ## {#TroubleshootingTips}
+
+ Troubleshooting Tip
+
+      
+
+* [The throughput statistic is inaccurate ](#0_22364)
+* [You are unable to execute Traffic Line commands](#0_48340)
+* [You observe inconsistent behavior when one node obtains an object from 
another node in the cluster](#0_42829)
+* [Web browsers display an error document with a "data missing" 
message](#0_29076)
+* [Traffic Server does not resolve any websites](#0_45366)
+* ["Maximum document size exceeded" message in the system log file](#0_13841)
+* ["DrainIncomingChannel" message in the system log file](#0_76993)
+* ["No cop file" message in the system log file](#0_73746)
+* [Warning in system log file when manually editing `vaddrs.config`](#0_67754)
+* [Nontransparent requests fail after enabling 
`always_query_destination`](#0_57248)
+* [Traffic Server is running but no log files are created](#0_47006)
+* [Traffic Server shows an error indicating too many network 
connections](#0_82182)
+* [Low memory symptoms](#0_93012)
+* [Connection timeouts with the origin server](#0_56862)
+* [IBM Web servers do not work with Traffic Server](#0_13091)
+
+_
+
+### The throughput statistic is inaccurate ### 
{#throughputstatisticisinaccurate}
+
+_
+
+Traffic Server updates the throughput statistic after it has transferred an 
+entire object. For larger files, the byte count increases sharply at the end 
+of a transfer. The complete number of bytes transferred is attributed to the 
+last 10-second interval, although it can take several minutes to transfer the 
+object. This inaccuracy is more noticeable with a light load. A heavier load 
+yields a more accurate statistic.
+
+_
+
+### You are unable to execute Traffic Line commands ### 
{#YouareunableexecuteTrafficLinecommands}
+
+_
+
+ Traffic Line commands do not execute under the following conditions:
+
+* **When the `traffic_manager` process is not running**  
+ Check to see if the `**traffic_manager**` process is running by entering the 
following command:   
+` ps aux | grep traffic_manager `  
+  
+ If the `traffic_manager` process is not running, then enter the following 
command from the Traffic Server `bin` directory to start it:  
+`./traffic_manager`   
+  
+ You should always start and stop Traffic Server with the 
`start_traffic_server `and `stop_traffic_server` commands to ensure that all 
the processes start and stop correctly. For more information, refer to [Getting 
Started](getstart.htm). 
+* 
+* **When you are not executing the command from `$TSHome/bin`**   
+ If the Traffic Server `bin` directory is not in your path, then prepend the 
Traffic Line commands with `./` (for example, `./traffic_line -h`). 
+* 
+* ** When multiple Traffic Server installations are present and you are not 
executing the Traffic Line command from the active Traffic Server path 
specified in `/etc/traffic_server`**``  
+ Always switch to the correct directory by issuing the command:  
+`cd `cat /etc/traffic_server`/bin`   
+
+_
+
+### You observe inconsistent behavior when one node obtains an object from 
another node in the cluster ### 
{#Youobserveinconsistentbehaviorwhenonenodeobtainsanobjectfromanothernodeincluster}
+
+_
+
+As part of the initial system preparation, you must synchronize the clocks 
+on all nodes in your cluster. Minor time differences do not cause problems, 
+but differences of more than a few minutes can affect Traffic Server 
operation. 
+ 
+
+ You should run a clock synchronization daemon such as         
+         xntpd. To obtain the latest version of        
+         xntpd, go to `http://www.eecis.udel.edu/~ntp/`  
+
+_
+
+### Web browsers display an error document with a 'data missing' message ### 
{#Webbrowsersdisplayanerrordocumentwithadatamissingmessage}
+
+_ A message similar to the following might display in web browsers: 
+
+>      
+>        Data Missing    
+>      
+>      This document resulted from a POST operation and has expired from the 
cache. You can repost the form data to recreate the document by pressing the 
Reload button.
+
+ This is a Web browser issue and not a problem specific to (or caused by) 
Traffic 
+Server. Because Web browsers maintain a separate local cache in memory and/or 
+disk on the client system, messages about documents that have expired from 
+cache refer to the browser's local cache and _not _ to the Traffic Server 
cache. 
+There is no Traffic Server message or condition that can cause such messages 
+to appear in a web browser. 
+
+_
+
+### Traffic Server does not resolve any websites  ### 
{#TSdoesnotresolveanywebsites}
+
+_
+
+The browser indicates that it is contacting the host and then times out with 
+the following message: 
+
+> 
+>   
+> 
+>      
+>          The document contains no data; Try again later, or contact the 
server's Administrator...
+>   
+> 
+
+ Make sure the system is configured correctly and that Traffic Server can read 
+the name resolution file: 
+
+* Check if the server can resolve DNS lookups by issuing the   
+                               nslookup command (for example, `nslookup 
www.myhost.com`).
+*  Check if the `/etc/resolv.conf` file contains valid IP addresses for your 
DNS servers.
+*  On some systems, if the `/etc/resolv.conf` file is unreadable or has no 
name server entry, then the operating system uses `localhost` as a name server. 
Traffic Server, however, does not use this convention. If you want to use 
`localhost` as a name server, then you must add a name server entry for 
`127.0.0.1` or `0.0.0.0` in the `/etc/resolv.conf` file. 
+*  Check that the Traffic Server user account has permission to read the       
+                 /etc/resolv.conf file. If it does not, then change the file 
permissions to `rw-r--r--` (`644`)
+
+_
+
+### 'Maximum document size exceeded' message in the system log file ### 
{#Maximumdocumentsizeexceededmessageinsystemlogfile}
+
+_
+
+The following message appears in the system log file: 
+
+> 
+>   
+> 
+>      
+>          WARNING: Maximum document size exceeded
+>   
+> 
+
+ A requested object was larger than the maximum size allowed in the Traffic 
Server cache, so Traffic Server provided proxy service for the oversized object 
but did not cache it. To set the object size limit for the cache, modify the    
   
+         proxy.config.cache.limits.http.max_doc_size variable in the   
+         records.config file. If you do not want to limit the size of objects 
in the cache, then set the document size to` **0**`(zero).
+
+_
+
+### 'DrainIncomingChannel' message in the system log file  ### 
{#DrainIncomingChannelmessageinsystemlogfile}
+
+_
+
+The following messages may appear in the system log file: 
+
+> 
+>   
+> 
+>     `Feb 20 23:53:40 louis traffic_manager[4414]: ERROR ==>`
+>   
+> 
+>   
+> 
+>     `[drainIncomingChannel] Unknown message: 'GET http://www.telechamada.pt/`
+>   
+> 
+>   
+> 
+>     `HTTP/1.0'`
+> 
+>   
+> 
+>     `Feb 20 23:53:46 louis last message repeated 1 time`
+> 
+>   
+> 
+>     `Feb 20 23:53:58 louis traffic_manager[4414]: ERROR ==>`
+>   
+> 
+>   
+> 
+>     `[drainIncomingChannel] Unknown message: 'GET http://www.ip.pt/ 
HTTP/1.0'`
+>   
+> 
+
+ These error messages indicate that a browser is sending HTTP requests to one 
+of the Traffic Server cluster ports - either `rsport` (default port 8088) or 
+`mcport` (default port 8089). Traffic Server discards the request; this error 
+does not cause any Traffic Server problems. The misconfigured browser must 
+be reconfigured to use the correct proxy port. Traffic Server clusters work 
+best when configured to use a separate network interface and cluster on a 
private 
+subnet, so that client machines have no access to the cluster ports. 
+
+_
+
+### 'No cop file' message in the system log file ### 
{#Nocopfilemessageinsystemlogfile}
+
+_
+
+The following message appears repeatedly in the system log file: 
+
+> 
+>   
+> 
+>     `traffic_cop[16056]: encountered "config/internal/no_cop" file...exiting`
+>   
+> 
+
+ The file `config/internal/no_cop` acts as an administrative control that 
instructs the `traffic_cop` process to exit immediately without starting 
`traffic_manager` or performing any health checks. The `no_cop` file prevents 
Traffic Server from starting automatically when it has been stopped with the 
`stop_traffic_server` command. Without this static control, Traffic Server 
would restart automatically upon system reboot. The `no_cop` control keeps 
Traffic Server off until it is explicitly restarted with the       
+       start_traffic_server command.
+
+ The Traffic Server installation script also creates a         
+         no_cop file so that Traffic Server does not start automatically. 
After you have completed installation/configuration and have rebooted the 
operating system, use the  
+         start_traffic_server command to start Traffic Server.
+
+_
+
+### Warning in the system log file when manually editing `vaddrs.config ` ### 
{#Warninginsystemlogfilewhenmanuallyediting`vaddrs.config`}
+
+_
+
+ If you manually edit the      
+         vaddrs.config file as a non-root user, then Traffic Server issues a 
warning message in the system log file similar to the following:
+
+> 
+>   
+> 
+>      
+>          WARNING: interface is ignored: Operation not permitted
+>   
+> 
+
+ You can safely ignore this message; Traffic Server _does_ apply your 
configuration 
+edits. 
+
+_
+
+### Nontransparent requests fail after enabling `always_query_destination` ### 
{#Nontransparentrequestsfailafterenabling`alwaysquerydestination`}
+
+_
+
+ The variable  
+         proxy.config.arm.always_query_dest  in the    
+         records.config file configures Traffic Server in transparent mode to 
ignore host headers and always ask for the IP address of the origin server. 
When you enable this variable, Traffic Server obtains the origin server IP 
address from the existing NAT map list rather than trying to resolve the 
destination hostname with a DNS lookup. As a result, logged URLs contain only 
IP addresses and no hostnames. However, explicit requests (nontransparent 
requests, including requests on port 80) fail, as there is no matching map in 
the NAT list. The `always_query_destination` option works only on the primary 
proxy port.
+
+_
+
+### Traffic Server is running but no log files are created ### 
{#TSisrunningbutnologfilesarecreated}
+
+_
+
+Traffic Server only writes event log files when there is information to 
record. 
+If Traffic Server is idle, then it's possible/probable that no log files 
exist. 
+In addition: 
+
+Make sure you're looking in the correct directory. By default, Traffic Server 
creates log files in the         
+         logs directory. 
+Check the location of log files by checking the value of the variable  
+         proxy.config.log.logfile_dir  in the  
+         records.config file. Check that the log directory has read/write 
permissions for the Traffic Server user account. If the log directory does not 
have the correct permissions, then the        
+         traffic_server process is unable to open or create log files.
+Check that logging is enabled by checking the value of the     
+         proxy.config.log.logging_enabled variable in the      
+         records.config file. 
+Check that a log format is enabled. In the     
+         records.config file, select the standard or custom format by editing 
variables in the         
+         Logging Config section.
+_
+
+### Traffic Server shows an error indicating too many network connections ### 
{#TSshowsanerrorindicatingtoomanynetworkconnections}
+
+_
+
+ By default, Traffic Server supports 8000 network connections: half of this 
+number is allocated for client connections and the remaining half is for 
origin 
+server connections. A **connection throttle event** occurs when client or 
origin 
+server connections reach 90% of half the configured limit (3600 by default). 
+When a connection throttle event occurs, Traffic Server continues processing 
+all existing connections but will not accept new client connection requests 
+until the connection count falls below the limit. 
+
+ Connection throttle events can occur under the following conditions:
+
+*  If there is a **connection spike** (e.g., if thousands of client requests 
all reach Traffic Server at the same time). Such events are typically transient 
and require no corrective action.
+*  If there is a **service overload** (e.g., if client requests continuously 
arrive faster than Traffic Server can service them). Service overloads often 
indicate network problems between Traffic Server and origin servers. 
Conversely, it may indicate that Traffic Server needs more memory, CPU, cache 
disks, or other resources to handle the client load.
+
+ If necessary, you can reset the maximum number of connections supported by 
Traffic Server by editing the value of the 
`_proxy.config.net.connections_throttle _` configuration variable in the        
+       records.config file. Do not increase the connection throttle limit 
unless the system has adequate memory to handle the client connections 
required. A system with limited RAM might need a throttle limit lower than the 
default value. Do not set this variable below the minimum value of 100.
+
+_
+
+### Low memory symptoms ### {#Lowmemorysymptoms}
+
+_
+
+Under heavy load, the Linux kernel can run out of RAM. This low memory 
condition 
+can cause slow performance and a variety of other system problems. In fact, 
+RAM exhaustion can occur even if the system has plenty of free swap space. 
+ 
+
+ Symptoms of extreme memory exhaustion include the following messages in the 
+system log files (`/var/log/messages`):
+
+> 
+>   
+> 
+>     `WARNING: errno 105 is ENOBUFS (low on kernel memory), consider a memory 
upgrade`
+>   
+> 
+>   
+> 
+>     `kernel: eth0: can't fill rx buffer (force 0)!`
+>   
+> 
+>   
+> 
+>     `kernel: recvmsg bug: copied E01BA916 seq E01BAB22`
+>   
+> 
+
+ To avoid memory exhaustion, add more RAM to the system or reduce the load 
+on Traffic Server.
+
+_
+
+### Connection timeouts with the origin server ### 
{#Connectiontimeoutswithoriginserver}
+
+_
+
+Certain origin servers take longer than 30 seconds to post HTTP requests, 
which results in connection timeouts with Traffic Server. To prevent such 
connection timeouts, you must change the value of the configuration variable    
   
+         proxy.config.http.connect_attempts_timeout  in the    
+         records.config file to 60 seconds or more.
+
+_
+
+### IBM Web servers do not work with Traffic Server ### 
{#IBMWebserversdonotworkwithTS}
+
+_
+
+ IBM web servers do not support the TLS (Transport Layer Security) protocol. 
+For IBM web servers to work with Traffic Server, you must edit a configuration 
+variable. 
+
+#### To configure Traffic Server to work with IBM web servers: #### 
{#configureTSworkwithIBMwebservers}
+
+1.  In a text editor, open the `records.config` file located in the Traffic 
Server `config` directory.
+2.  Edit the following configuration variable:   
+**
+                                 
+ Variable
+                               ** **
+                                 
+ Description
+                               ** 
+                                 
+_
+                                 `proxy.config.ssl.TLSv1`_
+                               
+:   
+                                                 
+               
+                Set this variable to `**0**` (zero).
+               
+               
+                                               
+
+3.  Save and close the         
+                               records.config file.
+4.  Navigate to the Traffic Server `bin` directory. 
+5.  Run the command    
+                               traffic_line -x  to apply the configuration 
changes._  _  
+


Reply via email to