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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > [Resolved] 4.0.14 Breaks cPanel HTTP bandwidth tracking

Reply
 
Thread Tools Display Modes
  #1  
Old 05-12-2010, 02:38 PM
AndrewT AndrewT is offline
Senior Member
 
Join Date: Jan 2010
Posts: 66
Default [Resolved] 4.0.14 Breaks cPanel HTTP bandwidth tracking

Since upgrading to 4.0.14 all of our cPanel servers have not been recording HTTP bandwidth usage. Our servers using Apache are not affected. Additionally, I reverted a couple to 4.0.13 and bandwidth usage was once again being recorded correctly. Under 4.0.14 running /scripts/runweblogs <user> results in a bunch of these warnings being displayed which may be related:

Code:
warn [cpanellogd] http Bytes overflow /usr/local/apache/domlogs/<domain>-bytes_log.bkup: 9604820573581 -4294967296 .

warn [cpanellogd] http Bytes overflow /usr/local/apache/domlogs/<domain>-bytes_log.bkup: 10167461289357 -4294967296 .

warn [cpanellogd] http Bytes overflow /usr/local/apache/domlogs/<domain>-bytes_log.bkup: 3115124989325 -4294967296 .

warn [cpanellogd] http Bytes overflow /usr/local/apache/domlogs/<domain>-bytes_log.bkup: 12052951932301 -4294967296 .
Upon switching back to 4.0.13 these warnings also do not appear.

Last edited by NiteWave; 05-13-2010 at 09:23 AM..
Reply With Quote
  #2  
Old 05-12-2010, 02:41 PM
AndrewT AndrewT is offline
Senior Member
 
Join Date: Jan 2010
Posts: 66
Another side effect which prompted this investigation is incredible RAM usage by cpanellogd. I've seen it use over 2GB of RAM while running on an account that receives a lot of traffic. Seems like 4.0.14 is not logging the data correctly.
Reply With Quote
  #3  
Old 05-12-2010, 04:30 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Can you send a sample log file to bug@litespeed... ?
Reply With Quote
  #4  
Old 05-12-2010, 05:21 PM
AndrewT AndrewT is offline
Senior Member
 
Join Date: Jan 2010
Posts: 66
Seems like you should be able to reproduce this on your own given that this is occurring on every server that we have LiteSpeed 4.0.14 on. Here are some excerpts from a bytes log under 4.0.14:

Code:
7749394709592 -4611723848499331072 .
7684970200447 -4611723848499331072 .
7706445037232 34359738368 .
7680675233752 -4611720687403401216 .
7693560135943 -4611723848499331072 .
7702150070831 -4611723848499331072 .
7659200398176 0 .
2651268531070 0 .
2694218204031 0 .
44024688493523 585762277077024768 .
Here are some from 4.0.13:

Code:
1273707235 1776 .
1273707534 1780 .
1273707833 1786 .
1273708133 1797 .
1273708434 1771 .
1273708735 1775 .
1273709035 1794 .
1273709335 1787 .
1273709434 617 .
1273709436 627 .
There are so many things wrong there I don't even know where to begin. In regards to the 4.0.14, the first number certainly isn't a valid date/time and those outrageously large / negative bytes are simply not possible.
Reply With Quote
  #5  
Old 05-12-2010, 05:24 PM
AndrewT AndrewT is offline
Senior Member
 
Join Date: Jan 2010
Posts: 66
To be clear, this only affects the bandwidth reporting of cPanel/WHM itself. Alternative stats programs (like AWStats) which rely on the domain's log file directly (not the bytes log) work normally as these values are being written correctly.
Reply With Quote
  #6  
Old 05-12-2010, 08:25 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
It should be fixed in the updated 4.0.14 package, please try a "Force upgrade" from web console or manually from command line.
Reply With Quote
  #7  
Old 05-13-2010, 07:13 AM
AndrewT AndrewT is offline
Senior Member
 
Join Date: Jan 2010
Posts: 66
Looks good so far. Thanks.
Reply With Quote
  #8  
Old 06-13-2010, 08:49 AM
anewday anewday is offline
Senior Member
 
Join Date: Nov 2007
Location: New York
Posts: 723
George, you forgot to update the build number for 4.0.14 in the download page.
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 03:20 PM.



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