Jump to content

what ways to reduce server load on Apache server that host my kvs website?


naughtyking

Recommended Posts

Hi, I discovered that there are large files that my server created and content of files that growing every day and some of it is uneeded.
for example i discovered that there is  Giant Log files about 10GB size and some of this logs i can delete, but not the current log file, also i can delete error logs.

so, i want to hear from you guys some ways to delete/clean more uneeded files. not just un the server also in the website theme or cpanel.

Link to comment
Share on other sites

I would say your post title doesn't correspond to your post contents.

If you experience giant log files from Apache, then you should change its configuration to use rotating log file (please check official Apache docs for this).

If your rotating log file is growing to 10G, then something is wrong with your site, it may refer to many broken resources that would hit 404 errors into log file. You may need to examine the log file to see what URLs are triggering errors and identify how to get rid of them.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...