Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-30-2003, 05:59 AM
|
#1
|
|
Member
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549
Rep:
|
2.1 Gb size limit??
Hi all.
Ive had my apache logs grown to 2.1 Gb size and apache hangs.
Yesterday i had the same problem with gzip. It was creating a file and stopped at 2.1 Gb.
Is this an apache/gzip problem, or is it a kernel problem???
|
|
|
|
08-30-2003, 09:32 AM
|
#2
|
|
Senior Member
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577
Rep:
|
Is /var on it's own partition?? if so, how large is the partition set to??
if not, Why not?? If /var grows too big it will make your OS hang!!
/var should be on it own partition so it won't interfere with /etc, /usr, or the rest of your system!!
|
|
|
|
08-30-2003, 12:16 PM
|
#3
|
|
Moderator
Registered: Aug 2002
Posts: 10,691
|
It could be the kernel if you do not have large file support included. Do quota limits apply to logs?
Check ulimit -f to find out.
Anyway... you should setup the logs to rotate and delete the old stuff.
|
|
|
|
08-30-2003, 12:42 PM
|
#4
|
|
Member
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549
Original Poster
Rep:
|
I am rotating the logs weekly, the problem is that it just recieves a lot of hits 
For the kernel i always use a standard rpm. So it stays easy to upgrade.
|
|
|
|
08-30-2003, 12:51 PM
|
#5
|
|
Member
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549
Original Poster
Rep:
|
by the way, /var is on an own partition, but i put all my access_logs in a users home dir so they can view them. Disk space is not the problem here.
|
|
|
|
08-30-2003, 02:40 PM
|
#6
|
|
Moderator
Registered: Aug 2002
Posts: 10,691
|
Here is my swag... the kernel probably has large file support but apache might not be compiled to use it.
So the easist method would be to set the logrotate to limit the file size to less than 2 gb. I don't know the best method but you could probably find something by searching the web.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:07 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|