Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-01-2008, 06:15 AM   #1
Registered: Mar 2005
Posts: 135

Rep: Reputation: 17
SARG taking too long to generate reports


Recently I´ve been observing a strange behavior in my sarg report generation routine.
My average line count for access.log is about 250.000-300.000 daily.
And I´ve noticed my reports taking DAYS to generate.
This morning I checked my sarg process, and saw three running, the first of them having started last Thursday (today´s Monday).

I have no idea why this happening.
I tried running sarg with -z and -v parameters, but everything seens alright, but it takes a LOT of time to go from one IP records to another.

Anyone has ever seen anything like it?

Thank you

[EDIT]: For the record. This issue is happening in two Debian 4.0rc3.
I have other sites running Squid with a number of lines in access.log from 50.000 to 150.000, and their reports are created a LOT faster, altough they´re inferior hardware.

Last edited by Thakowbbery; 09-01-2008 at 12:21 PM.
Old 09-01-2008, 11:29 PM   #2
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

If this were a Windows PC, I'd say it sounds an awful lot like you might have a virus.

It turns out that Sarg has at least one critical vulnerability:

You could probably do worse than downloading and installing the latest/greatest version of Sarg and seeing if it makes a difference.

Another suggestion, if that doesn't help, is to build sarg with "-g" (full debugger symbols) and attach to one of these "hung" sessions with gdb. The resulting stack trace should give some useful clues as to what's going on...

Last edited by paulsm4; 09-01-2008 at 11:32 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to generate report with user id's in SARG jomy Linux - Networking 2 01-04-2011 03:05 AM
Squid Logs Reports with SARG kendrick Linux - Software 0 03-31-2008 08:51 AM
SARG not generating scheduled reports from Squid symesd Linux - Software 0 11-01-2007 04:52 PM
Sarg reports question (with Webmin) rickyinman Linux - Software 0 04-14-2006 08:01 AM
Seriously this is taking a long time!! Omega Linux - Newbie 13 04-25-2003 05:46 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:54 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration