awstats update very slow


 

Current User: Guest Login Register
Please consider registering

Search Forums:


 






awstats update very slow

Add a New Topic Reply to Post
UserPost

4:37 am
June 16, 2009


ebichu

New Member

posts 2

Hi,

I've been using awstats for several years on a machine, and I recently reinstalled a new system on this machine.
awstats update is very slow, (far worse than a nice 20 slow)

here are some lines from a ./awstats.pl -update -showsteps :

Phase 1 : First bypass old records, searching new record…
Direct access after last parsed record (after line 737547)
8192 lines processed (87000 ms, 94 lines/second)
16384 lines processed (158000 ms, 103 lines/second)
that sounds like a lot of time only to count carriage returns =)
anyone has a clue ?

2:03 pm
June 16, 2009


Jean-Luc

Admin

posts 691

Hi,


What do you mean by "a lot of time only to count carriage returns " ? I guess AWStats does a lot more than that after line 737547.


There can be many reasons why your AWStats setup is slow. Hard to say from here.


If you use

DNSLookup=1

consider using

DNSLookup=0

This could significantly impact speed.

2:22 am
June 17, 2009


ebichu

New Member

posts 2

thank you for your answer,

and "oh my god" you were right.

I didn't even bothered doing that for a very simple reason :

I tought "phase 1″ was supposed to "bypass old records" so I didn't bother trying. it was ok before, it must obviously be a dns configuration problem totally non related to awstats, as it worked like a charm before reinstalling the whole server.

and my problem is that my old resolv.conf is exactly like the new one, but this problem is beyond the scope of this forum.


Reply to Post


Reply to Topic:
awstats update very slow

Guest Name (Required):

Guest Email (Required):

NOTE: New Posts are subject to administrator approval before being displayed

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
4 + 10
   



About the InternetOfficer.com forum

Most Users Ever Online:

65


Currently Online:

5 Guests

Forum Stats:

Groups: 2

Forums: 7

Topics: 318

Posts: 1562

Membership:

There are 165 Members

There have been 181 Guests

There is 1 Admin

There is 1 Moderator

Top Posters:

cssfsu – 31

albert_newton – 30

x-plicit2009 – 14

Steve – 14

flwg – 12

dumpuse – 10

Administrators: Jean-Luc (691 Posts)

Moderators: Jean-Luc (691 Posts)