The following warnings occurred:
Warning [2] "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? - Line: 613 - File: inc/plugins/myadvertisements.php PHP 7.3.33 (Linux)
File Line Function
/inc/class_plugins.php 38 errorHandler->error
/inc/class_plugins.php 38 require_once
/inc/init.php 239 pluginSystem->load
/global.php 20 require_once
/printthread.php 16 require_once
Warning [2] "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? - Line: 654 - File: inc/plugins/myadvertisements.php PHP 7.3.33 (Linux)
File Line Function
/inc/class_plugins.php 38 errorHandler->error
/inc/class_plugins.php 38 require_once
/inc/init.php 239 pluginSystem->load
/global.php 20 require_once
/printthread.php 16 require_once
Warning [2] "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? - Line: 701 - File: inc/plugins/myadvertisements.php PHP 7.3.33 (Linux)
File Line Function
/inc/class_plugins.php 38 errorHandler->error
/inc/class_plugins.php 38 require_once
/inc/init.php 239 pluginSystem->load
/global.php 20 require_once
/printthread.php 16 require_once
Warning [2] "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? - Line: 749 - File: inc/plugins/myadvertisements.php PHP 7.3.33 (Linux)
File Line Function
/inc/class_plugins.php 38 errorHandler->error
/inc/class_plugins.php 38 require_once
/inc/init.php 239 pluginSystem->load
/global.php 20 require_once
/printthread.php 16 require_once
Warning [2] "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? - Line: 801 - File: inc/plugins/myadvertisements.php PHP 7.3.33 (Linux)
File Line Function
/inc/class_plugins.php 38 errorHandler->error
/inc/class_plugins.php 38 require_once
/inc/init.php 239 pluginSystem->load
/global.php 20 require_once
/printthread.php 16 require_once



Linux & WebHosting Discussion and Support Forum
Error receiving response: ReceiveResponse: receive pkg hdr failed: ReceivePkgHdr: not - Printable Version

+- Linux & WebHosting Discussion and Support Forum (https://serveradminsupport.com/forum)
+-- Forum: Hosting Forums (https://serveradminsupport.com/forum/forumdisplay.php?fid=3)
+--- Forum: Hosting Software/Plugins and Control Panels (https://serveradminsupport.com/forum/forumdisplay.php?fid=24)
+--- Thread: Error receiving response: ReceiveResponse: receive pkg hdr failed: ReceivePkgHdr: not (/showthread.php?tid=70)



Error receiving response: ReceiveResponse: receive pkg hdr failed: ReceivePkgHdr: not - Chris.G - 04-02-2017

Hi Guys

Any idea on this error ?

Error receiving response: ReceiveResponse: receive pkg hdr failed: ReceivePkgHdr: nothing to read from backend socket


RE: Error receiving response: ReceiveResponse: receive pkg hdr failed: ReceivePkgHdr: not - sumesh - 04-02-2017

Hi Chris

Long time :Smile I guess you have Mod_LSAPI running in your server. Can you please confirm if that is the case. 

If you have cloudlinux installed , then please check the below things

1. Check the site for any resource limit faults and especially memory related limits. 

You can check the lve details using the below command 



# lveinfo --by-fault ep


2. Another thing is if you are having mod_lsapi , please disable lsapi_terminate_backends_on_exit  value in /etc/apache2/conf.d/lsapi.conf and restart Apache and check the issue again. 

3.  Another possiblity is mix installation of opcache like APC, Opcache etc . Please try disabling the opcaches completely 

4. Also try increasing values like lsapi_backend_pgrp_max_idle, lsapi_backend_max_process_time to higher values . 

Let me know chris whch ones works for you so that others can also get help from this at some point of time.