LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > Stats Error Message

Reply
 
Thread Tools Display Modes
  #1  
Old 08-06-2008, 06:48 AM
zoom zoom is offline
Senior Member
 
Join Date: Nov 2005
Posts: 92
Default Stats Error Message

I seem to be getting this message when awstats runs.

File already exists: [/www/site1.com/logs/access_log.awstats], Awstats updating might be in progress.

The ownership and rights are fine and I'm running 3.3.15 LSWS. Any idea why this message keeps appearing? I should mention that when I do get the message awstats stops processing the stats for other sites.
Reply With Quote
  #2  
Old 08-06-2008, 07:47 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
You need to remove that file manually. we will add an function to remove old files automatically in the new release.
Reply With Quote
  #3  
Old 08-06-2008, 07:56 AM
zoom zoom is offline
Senior Member
 
Join Date: Nov 2005
Posts: 92
Thanks mistwang.

Removing the file worked. What's the ETA on the new version?
Reply With Quote
  #4  
Old 08-06-2008, 01:58 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
You can try latest 3.3.16 build by changing the version number in the download link.
If *.awstats was not accessed in 1800 seconds, it will be removed automatically.
Reply With Quote
  #5  
Old 08-07-2008, 08:49 PM
zoom zoom is offline
Senior Member
 
Join Date: Nov 2005
Posts: 92
mistwang,

After upgrading to 3.3.16 build I'm still noticing a number of problems with awstats processing.

ERROR fork() failed
ERROR Unable to rename [/www/site1/logs/access_log.awstats], remove it.
ERROR Unable to rename [/www/site2/logs/access_log.awstats], remove it.
ERROR Unable to rename [/www/site3/logs/access_log.awstats], remove it.

I found it strange that the server wasn't able to rename the file since it has full group rights to the directory and files. The interesting thing is that the file "access_log.awstats" for each of the sites doesn't exist, so many the message is incorrect. Perhaps it couldn't rename it because it wasn't there to rename.

The fork messages concern me as well. I've increased the memory soft/hard limits and the process soft/hard limits (see below). My understanding of the process directive is to limit the number of process a user can launch. I guess I'm not sure what should be set at the server level for process awstats for my 300 sites.

Memory Soft Limit (bytes) 300M
Memory Hard Limit (bytes) 450M

Process Soft Limit: 800
Process Hard Limit: 850

The sites which are hosted are based on a template which uses the suexec method of delivery. Each site is set to use the DocRoot ID, however, the web server is part of each site group. Do I need to increase the process changes at the site level? or is it something at the server level?? ideas??

Thanks.
Reply With Quote
  #6  
Old 08-07-2008, 10:23 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
You should set "Update Offset" to different value for vhosts to avoid start awstats update for all sites at the same time. Create a few similar vhost templates instead of only one.
Reply With Quote
  #7  
Old 08-08-2008, 08:58 AM
zoom zoom is offline
Senior Member
 
Join Date: Nov 2005
Posts: 92
mistwang,

After some consideration I decided not the use the awstats addon provided in LiteSpeed. Instead I choose to handle awstats by just using awstats to do the job.

Even though it's a good idea to include awstats in LiteSpeed I have to question why? The web server should handle what it needs to do best which is serve up pages. It doesn't need to handle the job of processing stats, awstats perl scripts handle this fine.
Reply With Quote
  #8  
Old 08-13-2008, 11:08 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
The built-in awstats is good for server hosting a few large websites, instead of mass shared hosting.
It is developed at early stage. we have shift the focuse on working with hosting control panels instead of having this kind of feature built-in.
Reply With Quote
  #9  
Old 08-13-2008, 02:41 PM
zoom zoom is offline
Senior Member
 
Join Date: Nov 2005
Posts: 92
Wise move. LiteSpeed has been spectacular for us when it comes to serving up the pages/php, security etc. I'm looking forward to LS 4.0 with the Mono & Python LSAPI support.

Last edited by zoom; 08-13-2008 at 02:44 PM..
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:32 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.