republican-creole
Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Tech and Talk » OS and Software » Webmasters and Developers » deep drilling access_logs
Search Topic:
Uniqs:
223
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
large backgrounds »
AuthorAll Replies
-


Jafo232
You Can't Spell Democrat Without Rat.
Premium
join:2002-10-17
Boonville, NY
·RoadRunner Cable

reply to Devanchya
Re: deep drilling access_logs

Just grep the log for what you are looking for?

Example:


--
Custom PHP/Perl Development. Vbulletin And Wordpress Mods Too!


sporkme
drop the crantini and move it, sister
Premium,MVM
join:2000-07-01
Morristown, NJ
·Optimum Online

reply to Devanchya
If you strongly suspect mysql is the problem, turn on the slow query log:

»dev.mysql.com/doc/refman/5.0/en/···log.html
--
with every mistake we must surely be learning


Devanchya
Smile
Premium
join:2003-12-09
Ajax, ON
·Bell Sympatico

reply to Devanchya
I have a bunch of logging already in. the 'easy read' part of it was never built.

So I did figure out what happened:

3-4 of my users were infected by FunWebProducts. They were creating 2-3 connections a second each to the server. Now the site is busy enough that I didn't see it right away. I happened to catch them just as th PC were obviously turned on in the morning.

I have created a rule against this product and will be doing research on how to help prevent this type of fun.

Luckly the FWP was not able to get into the secure part of the website, though I know anything visible on the screen is visible to any viruses.
--
»www.codecipher.com - Marking the way to tomorrow's solutions -- Did you know that Perl is not Dead? »perlisalive.org/


cowboyro

join:2000-10-11
Shelton, CT
reply to Devanchya
Modify the app to log execution times for various steps. Then you'll be able to focus on the issue. I've seen issues where the database seemed to be lagging, yet the cause was the app trying to process too much data. YMMV.


geekamongus
Real Slump Quality
Premium,MVM
join:2004-07-27
Asheville, NC

reply to Devanchya
This sort of thing can usually be best figured out by comparing a number of things during times which the web site freezes up.

Apache logs can be helpful for seeing who was on your site at the time, and how many people were on your site at the time.

You would also want to monitor the performance of MySQL during peak hours as well. Here are some tips for doing that.

Checking the MySQL error logs could also be helpful.

It would also be wise to monitor your server's performance to make sure you aren't looking at a memory and/or processor bottleneck.
--
geekamongus tech blog | moi


nil
Java Geek
join:2000-11-27
reply to Devanchya
Apache logs probably won't help you as much as you think. Do you have any application logs?
--
Life is too short to be boring


Devanchya
Smile
Premium
join:2003-12-09
Ajax, ON
·Bell Sympatico

There is a weird issue going on a site I manage.

During peak points of the day, the website is freezing up. I know it is related to the database (mysql) and I have tried to track down the exact cause.

The main issue is tracking down where the issue is occuring. I have apache logs and individual user logs.

Anyone recommend any stat genertors that will let me drill down deeply through the logs. Everything I can find will give me general stats but I can't seem to find one that will let me focus on "3pm on Monday June 22" and see what is happening "around' that time or see what is being driven.

I know I can open the log file and read it directly, but that doesn't seem to be giving the over all map I need.

Thanks.
--
»www.codecipher.com - Marking the way to tomorrow's solutions -- Did you know that Perl is not Dead? »perlisalive.org/
Forums » Tech and Talk » OS and Software » Webmasters and Developerslarge backgrounds »


Thursday, 10-Dec 21:42:31 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.
page compression OFF
Most commented news this week
· [200] Sprint Sued For Distracted Driving Death
· [136] AT&T Launching New 24 Mbps U-Verse Tier
· [87] AT&T Hints At Usage-Based iPhone Data Pricing
· [82] 3G Network Test Says AT&T Is Tops
· [74] WPA Cracker: Test WPA-PSK Networks In 20 Minutes
· [72] Mediacom Unveils 105 Mbps Pricing
· [66] Sprint Poised For A Turnaround?
· [55] Average American Consumes 34 Gigabytes Daily
· [51] The Future Of Wi-Fi Is Bright
· [50] Sprint, T-Mobile Merger Rumor Lives
Most people now reading
· New Mediacom Email [Mediacom]
· [WIN7] Well, I was dumb, but do I have recourse? [Microsoft Help]
· malware has been found hidden inside an Ubuntu screensaver [Security]
· IMG 1.7 (IMG Updates and Discussion) [Verizon FIOS TV]
· Windows 7 boot manager editing questions [Microsoft Help]
· ICC strats [World of Warcraft]
· [How to] Install Asterisk on an Asus WL-520GU router [VOIP Tech Chat]
· ICC Strats??? [World of Warcraft]
· Equal speeds ruling [Canadian Broadband]
· Lawyers Claim Palin Hack Suspect's PC Had Spyware [Security]