LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-17-2011, 10:47 PM   #1
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278

Rep: Reputation: 148Reputation: 148
Apache access log file recommended size limit


Based on some web reference, apache access log file size increased more than 2Gb. It will effect apache performances. Is this correct?
System Specification:-RHEL5.3 32bit OS
Apache version httpd-2.2.3-31.el5
 
Old 01-17-2011, 11:51 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Personally I'd use the logrotate tool to rotate it at a more reasonble size eg 1GB; for strict 32 bit systems, 2GB is the limit.
http://linux.die.net/man/8/logrotate
Normally logrotate is part of the std install, try looking under /etc ; probably /etc/logrotate.d (a dir)
 
Old 01-18-2011, 01:19 AM   #3
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278

Original Poster
Rep: Reputation: 148Reputation: 148
Thanks Chrism, Yes I have awareness about logrotate but I need to prove that the apache performance may effect because of huge access log size(say about 2Gb for 32bit OS).
 
Old 01-18-2011, 08:09 AM   #4
geovg
Member
 
Registered: Mar 2010
Posts: 40

Rep: Reputation: 1
Quote:
Originally Posted by kirukan View Post
Thanks Chrism, Yes I have awareness about logrotate but I need to prove that the apache performance may effect because of huge access log size(say about 2Gb for 32bit OS).
yea, there will be issues with apache performance. I had experiences when apache was stopped due to the excess log size (more than 2GB).
 
Old 01-18-2011, 10:12 PM   #5
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278

Original Poster
Rep: Reputation: 148Reputation: 148
Which logrotate mechanism is most effective in heavy loaded apache webservers?
 
  


Reply



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 limit log file size with syslog-ng? AchimRS Linux - Software 2 01-05-2010 04:35 AM
In Apache server, How to change log file location and log format for access log fil? since1993 Linux - Server 1 08-19-2009 04:14 PM
log file size limit 2.1gb saurabh parli Linux - Software 6 06-18-2007 11:32 AM
Limit log file size Kevad Linux - General 6 09-28-2006 03:01 AM
File Size limit in apache? lucktsm Linux - Software 2 11-29-2005 05:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:18 AM.

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