Jump to content

Log files getting huge

Recommended Posts

I currently have Revive Adserver doing about 2.5 million impressions a day.

The issue I have is in my apache2 log the dserver-access.log turns into a massive 20 gig file.  

I saw that in the admin panel I can choose what to log.  But I'm not sure that is necessary at the moment or how to have it auto delete it after it gets to a certain size?

Any help would be appreciated 

Link to comment
Share on other sites

Maybe it's cutting it off and suppose to be adserver-access.log?

, the log file contains a bunch of these - - [26/Jul/2016:17:23:24 -0400] "GET /www/delivery/afr.php?zoneid=2&cb=INSERT_RANDOM_NUMBER_HERE HTTP/1.1" 200 1303 "https://yout.com/video/TDOQZyFeAnE/e" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" - - [26/Jul/2016:17:23:24 -0400] "GET /www/delivery/afr.php?zoneid=5&cb=INSERT_RANDOM_NUMBER_HERE HTTP/1.1" 200 1290 "https://yout.com/watch?v=TYQpqSTc9ho" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36" - - [26/Jul/2016:17:23:24 -0400] "GET /www/delivery/afr.php?zoneid=2&cb=INSERT_RANDOM_NUMBER_HERE HTTP/1.1" 200 1213 "https://yout.com/watch?v=TYQpqSTc9ho" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36"

Edit #1:

I think it might be the apache server logs? Not really sure.  This box is only used for the revive ad server.  I had to edit the max number of conenctions and it's been working fine since, but this log file grows pretty quickly so I have to go in and delete it and not sure where it's being logged from.

Also side note @Erik Geurts your "We can host your Revive Adserver for you. Just have a look at Aqua Platform." link is broken

Edit #2:

I went ahead and set the log rotation to daily to see if that mitigates it.  As it seems weekly was too large for apache 2 in ubuntu.  If it happens again I will update if not assume this fixed it


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...