domain log getting fat and server goes down

ساخت وبلاگ

Yesterday, 02:33 AM #1

Hello
One of our directadmin accounts make fat domain logs in /var/log/httpd/domains/domainname.com.error.log
It growth up to 300 GIG or even more..
And make our hard drive full, then mysql goes down.

Is there anyway to prevent this issue?
We use Centos 6.x and cloudlinux


Yesterday, 10:45 AM #2

It was added a feature for this in DirectAdmin 1.514, please see https://directadmin.com/features.php?id=1939

Yesterday, 01:46 PM #3

I think generated error logs should have a built-in auto-protection that kicks in when servespace is getting low, and not just keep generating errors.

But why not fix the cause of the error first?


DirectAdmin Forums...
ما را در سایت DirectAdmin Forums دنبال می کنید

برچسب : نویسنده : ایمان اصلاحی directadmin بازدید : 249 تاريخ : يکشنبه 26 آذر 1396 ساعت: 0:47