Results 1 to 4 of 4

Thread: Apache Daemon stuck error???

  1. #1
    Join Date
    Jan 2010
    Posts
    152

    Default Apache Daemon stuck error???

    One of my friend use Linux server and he is getting the error 'apache daemon is stuck'
    He sent me the following server logs which he received

    HTML Code:
    child pid 8260 exit signal File size limit exceeded (25)
    child pid 8261 exit signal File size limit exceeded (25)
    child pid 8263 exit signal File size limit exceeded (25)
    child pid 8264 exit signal File size limit exceeded (25)
    child pid 8264 exit signal File size limit exceeded (25)
    Can anybody provide solution for this error?

  2. #2
    Join Date
    Apr 2011
    Posts
    11

    Default

    Hello Alexander,

    The error you are getting is pointing towards the fact that Apache is trying to manage the file ( Log file ) more then its maximum allowed size.

    Apache version 2 has the maximum file size limit of 2GB, It might be the case that log rotation on your server is not working for some reasons .

    If this is the case, please enable the log rotation to timely rotate the server logs.

    But for now to fix this issue you'll just need to find out the file on the server whose size is more then 2 GB and empty the file.


    You may check entire server, looking for existence on any file over size 2 GB by following command


    find / -size +2000000k -printf "Size: %kK\tPath: %p\n"

  3. #3
    Join Date
    Jan 2010
    Posts
    152

    Default

    Hi Pratik, Thanks for providing this solution, I have one more question regarding it that by making changes to 'size +2000000k' can I check similarly for the different sizes?

  4. #4
    Join Date
    Apr 2011
    Posts
    11

    Default

    Hello Alexander,

    Indeed you can use the same command which I've provided you above to search/find the files on the server, which are above the certain size..

    Like the command I used

    find / -size +2000000k -printf "Size: %kK\tPath: %p\n"
    Is used to find all the files on the servers / ( entire ) partition on the server..

    The following parameter " - size " is searching for the files with the defined sizes like in the above cae we searched for file over 2 GB and hence we used +2000000k and " -printf " will print the output of the above command..

    Hope this information will will help you.. just change the value after "-size" parameter and you'll be able to use the same command to find files as per there sizes..


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •