LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 11:47 PM   #1
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,275

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-18-2011, 12:51 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,411

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
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, 02:19 AM   #3
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,275

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, 09: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, 11:12 PM   #5
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,275

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


Reply


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 limit log file size with syslog-ng? AchimRS Linux - Software 2 01-05-2010 05: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 05:14 PM
log file size limit 2.1gb saurabh parli Linux - Software 6 06-18-2007 12:32 PM
Limit log file size Kevad Linux - General 6 09-28-2006 04:01 AM
File Size limit in apache? lucktsm Linux - Software 2 11-29-2005 06:58 AM

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

All times are GMT -5. The time now is 10:06 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration