Satış ve Destek +90 (216) 521 78 00

Sepetim Giriş Yap | Kayıt Ol
Tenik Data
Enable piped Apache logs - TeknikDATA Hosting Hizmetleri

Bilgi Merkezi

Ana sayfa > Bilgi Merkezi > English > cPanel > cPanel > 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

enable_piped_logs=1

Update modified changes.

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

Rebuild the Apache config

/scripts/rebuildhttpdconf

Restart apache service

/etc/init.d/httpd restart

Thats all!!

Bulut Hosting Bireysel Hosting Kurumsal Hosting Bayi Hosting Uygulama Hosting Wordpress Hosting Joomla Hosting Drupal Hosting E-Ticaret Hosting Haber Hosting Veritabanı Hosting MySQL Hosting MongoDB Hosting PostgreSQL Hosting
Bulut Sunucu Bulut Sunucu Sunucu Barındırma Sunucu Kiralama Sunucu Yük Dengeleyici Bulut Sunucu Standart Bulut Sunucu Enterprise Bulut Sunucu SSD Premium Bulut Sunucu Sunucu Yük Dengeleyici Kiralama Güvenlik Duvarı Kiralama
Kurumsal Email Sunucu Standart Email Sunucu Professional Email Sunucu Enterprise Email Sunucu Bulut Email Bulut E-Posta Hosting Hosted Zimbra Spam/Virüs Gateway Mail Back Up Smart Host ETRN Hizmeti E-Posta Servisleri
Domain Alan Adı Tescil Alan Adı Transfer Alan Adı Yenileme TÜrkçe Alan Adı Kayıt Marka Tescil Marka Tescil Başvuru
CDN Çözümleri Statik Cache Hizmeti İçerik Hızlandırma Coğrafi İçerik Dağıtımı CDN Depolama SSL Sertifika Comodo SSL QuickSSL True BusinessID SSL

LiveZilla Live Help