On Thu, Jun 3, 2010 at 8:20 PM, Paul Tader <[email protected]> wrote:
>
> Network?
>
> Is this consistent with every connection (even after restarting the
> VM/host)?
Yes
> Try running a traceroute from an external system to the VM to
> see if there is a network problem or network configuration error on the
> VM while the system is running slow.  Another thing to check would be if
> the VM can communicate reliably to outside systems.
Yes it can do it.
Here is a curl output
on said vm
these outputs are for well known websites.
curl -sw "t:%{time_total} n:%{time_namelookup} c:%{time_connect}\n"
http://www.yahoo.com|tac|head -1 > /root/curl.txt
for which the response time to access from the said VM are in ms

t:12.856 n:12.364 c:12.366      www.yahoo.com
t:5.227 n:5.120 c:5.121         www.google.com
t:0.075 n:0.004 c:0.005         www.gmail.com
</html>t:1.449 n:0.008 c:0.009  www.linuxquestions.org
t:7.460 n:5.795 c:5.796         www.linuxhomenetworking.com
t:11.226 n:10.385 c:10.386      www.mit.edu
t:4.341 n:3.780 c:3.781         www.lugin.org
t:11.398 n:11.124 c:11.125      www.facebook.com

So at least there is no issue with network.



After reading documentation
Apache Log Format documentation
http://httpd.apache.org/docs/2.2/mod/mod_log_config.html#formats

I added in
Code:
/etc/httpd/conf/httpd.conf
a Line


LogFormat "%v %{X-Forwarded-For}i %D %l %u %t \"%r\" %>s %b" resp
and in VirtualHost section added

CustomLog /var/log/httpd/site_in_question-resp_log resp
restarted httpd and checked the logs
to my surprise I did not found any thing in

CustomLog /var/log/httpd/site_in_question-resp_log resp
when I tried to browse from internet.

Did I do some mistake above ?
Or what is the correct way to get timestamp.



-- 
 Tapas Mishra
+91 8971248477

-- 
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup

Reply via email to