🔔 🔔 🔔 Duyuru: 24. Yılımıza özel indirimler sizleri bekliyor ! Kampanya Kodu : TDATA2024 | Detaylı bilgi için tıklayınız.

Enable piped Apache logs

Enable piped Apache logs

Piped logging is extremely powerful when used correctly, and has far more flexibility. The way it is described here, we will be attempting to negate the memory hungry apache processes that creep up when a server is hosting very low traffic websites (less than 1 request per second) with traditional Apache log configurations.

cat  /usr/local/apache/logs/error_log | grep Graceful
[Sun Jul 14 16:01:10 2013] [notice] Graceful restart requested, doing restart
[Sun Jul 14 18:14:40 2013] [notice] Graceful restart requested, doing restart
[Sun Jul 14 20:11:31 2013] [notice] Graceful restart requested, doing restart
[Sun Jul 14 21:16:42 2013] [notice] Graceful restart requested, doing restart

This error is caused due to log processing and its fixed after enabling piped Apache logs. This can be done by either of the following methods

You can enable piped logs via WHM using the following steps.

Backup your Apache configuration file

cp -r /usr/local/apache/conf/httpd.conf /usr/local/apache/conf/httpd.conf_bak

WHM » Service Configuration » Apache Configuration » Piped Log Configuration

Check the box labeled Enable piped Apache logs.


Enable piped Apache logs via command line.

vi /var/cpanel/cpanel.config

Add the following


Update modified changes.

/usr/local/cpanel/whostmgr/bin/whostmgr2 –updatetweaksettings

Rebuild the Apache config


Restart apache service

/etc/init.d/httpd restart

Thats all!!

Bu cevap yeterince yardımcı oldu mu?

Diğer Dökümanlar

  • What is cPanel and how to access it?

    CPanel is a fully featured web-based control panel that allows you to manage your domain through a web interface. cPanel gives you complete control over a vast amount of functions, streamlining...

  • CloudFlare Plugin install on cpanel

    CloudFlare is a performance and security service. With 14 points of presence around the world, a website on CloudFlare typically loads twice as fast, uses 65% less server resources, saves 60% of...

  • Enable Cronjob in cpanel and examples

    What is cron? It is the scheduling daemon of the Linux operating system Cron jobs allow you to automate repetitive tasks on the server that hosts your web site. This is a powerful tool that allows...

  • What is Anonymous FTP and how to enable it

    Anonymous FTP allows you and others that you give permission to, to access your “public_ftp” folder. There are two options available: 1. ftp://ftp.yourdomain.com –This allows...

  • Unable to connect cpanel using IP/whm and IP/cpanel

    If cpanel cannot be accessed using IP/whm and IP/cpanel, but can be accessed using IP:2086 and IP:2082, then here goes the solution for the same. The reason for this issue due to missing some...