LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-23-2007, 11:33 PM   #1
tanveer
Member
 
Registered: Feb 2004
Location: e@rth
Distribution: RHEL-3/4/5,Gloria,opensolaris
Posts: 525

Rep: Reputation: 37
Error logs in webserver


Hi all,

Recently, I have given charge of a webserver which has a monthly hit of around 1100000. Now the problem is its used to get this message in the error log file and the same message over and over again. After looking for solution I got the picture that if the log size is >2GB then this comes in log and my access_log was 2.2G. So I deleted all entry in access_log file and now its 0. But still this message comes in error_log.
In httpd.conf file I have the entry like this
Code:
ErrorLog /usr/local/apache/logs/error_log

CustomLog /usr/local/apache/logs/access_log common
Code:
[Tue Oct 23 22:56:35 2007] [notice] child pid 19560 exit signal File size limit exceeded (25)
[Tue Oct 23 22:56:35 2007] [notice] child pid 19562 exit signal File size limit exceeded (25)
[Tue Oct 23 22:56:35 2007] [notice] child pid 19564 exit signal File size limit exceeded (25)
[Tue Oct 23 22:56:36 2007] [notice] child pid 19566 exit signal File size limit exceeded (25)
[Tue Oct 23 22:56:36 2007] [notice] child pid 19568 exit signal File size limit exceeded (25)
[Tue Oct 23 22:56:38 2007] [notice] child pid 19557 exit signal File size limit exceeded (25)
[Tue Oct 23 22:56:41 2007] [notice] child pid 19489 exit signal File size limit exceeded (25)
[Tue Oct 23 22:56:46 2007] [notice] child pid 19570 exit signal File size limit exceeded (25)
[Tue Oct 23 22:56:47 2007] [notice] child pid 19539 exit signal File size limit exceeded (25)
[Tue Oct 23 22:56:47 2007] [notice] child pid 19569 exit signal File size limit exceeded (25)
[Tue Oct 23 22:56:48 2007] [notice] child pid 19572 exit signal File size limit exceeded (25)
[Tue Oct 23 22:56:48 2007] [notice] child pid 19573 exit signal File size limit exceeded (25)
[Tue Oct 23 22:56:49 2007] [notice] child pid 19574 exit signal File size limit exceeded (25)
[Tue Oct 23 22:56:50 2007] [notice] child pid 19576 exit signal File size limit exceeded (25)
[Tue Oct 23 22:56:52 2007] [notice] child pid 19580 exit signal File size limit exceeded (25)
[Tue Oct 23 22:56:53 2007] [notice] child pid 19583 exit signal File size limit exceeded (25)
Thanks in advance for any suggestions.
 
Old 10-24-2007, 03:28 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,294

Rep: Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698
You can use the apache rotatelogs program.

Regards
 
Old 10-24-2007, 06:24 AM   #3
tanveer
Member
 
Registered: Feb 2004
Location: e@rth
Distribution: RHEL-3/4/5,Gloria,opensolaris
Posts: 525

Original Poster
Rep: Reputation: 37
Thanks for your reply. But how to stop those errors in logs.
 
Old 10-24-2007, 07:12 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,294

Rep: Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698
Did you restart apache after deleting the 2.2 logfile?
 
Old 10-24-2007, 01:36 PM   #5
tanveer
Member
 
Registered: Feb 2004
Location: e@rth
Distribution: RHEL-3/4/5,Gloria,opensolaris
Posts: 525

Original Poster
Rep: Reputation: 37
No. Do you think that may be the cause of the errors still showing?
 
Old 10-25-2007, 02:49 AM   #6
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,294

Rep: Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698
Most likely apache still thinks that the size of the logfile is more than 2GB. It's better to stop apache, delete or rename the logfile and start apache again, so it creates a new one.
 
Old 10-31-2007, 06:19 AM   #7
tanveer
Member
 
Registered: Feb 2004
Location: e@rth
Distribution: RHEL-3/4/5,Gloria,opensolaris
Posts: 525

Original Poster
Rep: Reputation: 37
Thanks a lot. Restarting apache worked. Then I rotated the log.
 
  


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
error on my webserver micro_xii Linux - Newbie 18 11-16-2006 02:14 AM
Timeout Error When accessing WebServer LinuxStart Linux - Networking 2 07-09-2005 06:18 PM
Firefox logs user out? Where are error logs? case1984 Linux - General 0 10-09-2004 03:22 PM
::Apache Webserver error:: XxAndyxX Linux - Software 2 03-31-2003 07:21 PM
How do we use Error Logs? linuxfond Linux - Newbie 4 03-26-2003 08:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration