OpCache Constantly Restarting Itself

blue7

Member
Mar 1, 2016
14
7
53
Turkey
cPanel Access Level
Root Administrator
Hello,

I have problem with opcache, it keep restarting itself like every hour constantly. I've tried all solutions on the internet but no luck, problem still persist.

I am using CPanel, Centos 6.8 x64, Litespeed Webserver, EasyApache4, PHP 7.1.2

PHP Handler: FCGI

My Opcache Version is: Zend OPcache 7.0.4-dev

My Configration:
Code:
opcache.revalidate_freq=0

opcache.validate_timestamps=0

opcache.max_accelerated_files=95000

opcache.memory_consumption=1024

opcache.interned_strings_buffer=64

opcache.fast_shutdown=1
A ss from opcache control panel: Screenshot

P.S. : I've enabled error logs but there is no any record when it restart itself.

Any help really would be appericated. Thanks in advance.
Regards.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,254
463
Hello,

Could you browse to "WHM >> Apache Configuration >> Piped Log Configuration" and verify if Piped Apache Logs are enabled? If not, could you enable this option and let us know if the issue persists? This option will pipe Apache access logs to a separate process, so that Apache does not need to restart every time that it processes the logs.

Thank you.
 

blue7

Member
Mar 1, 2016
14
7
53
Turkey
cPanel Access Level
Root Administrator
Hello,

Could you browse to "WHM >> Apache Configuration >> Piped Log Configuration" and verify if Piped Apache Logs are enabled? If not, could you enable this option and let us know if the issue persists? This option will pipe Apache access logs to a separate process, so that Apache does not need to restart every time that it processes the logs.

Thank you.
Hello, first thank you for your help. Could you tell me how i can do this from command line? Atm i am not able to use WHM. Which file i should to edit for make this setting?
 

blue7

Member
Mar 1, 2016
14
7
53
Turkey
cPanel Access Level
Root Administrator
Hello,

Could you browse to "WHM >> Apache Configuration >> Piped Log Configuration" and verify if Piped Apache Logs are enabled? If not, could you enable this option and let us know if the issue persists? This option will pipe Apache access logs to a separate process, so that Apache does not need to restart every time that it processes the logs.

Thank you.
I've done that change following this guide but unfortuntaley problem still persists.

Enable piped Apache logs - cPanel KnowledgeBase
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,254
463