Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Apache2 stops working after a few minutes

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
7 posts • Page 1 of 1
leograce
Posts: 11
Joined: Sat Feb 18, 2017 9:03 pm

Apache2 stops working after a few minutes
  • Quote

Post by leograce » Sat Feb 18, 2017 9:09 pm

Please help me. installed Vesta CP on Ubuntu 16.04 with apache backend and nginx reverse proxy.

Everything seems to work perfect however every few minutes my website slows down and is inaccessible. However VESTA CP is accessible. My website starts again after I perform a restart on apache2

Code: Select all

service apache2 restart
After a few minutes of working it starts slowing down and is inaccessible. It can not be pinged.

I am wondering what the issue might be? I have to keep restarting apache2 for my website to stay up.
Last edited by leograce on Sat Feb 18, 2017 9:17 pm, edited 1 time in total.
Top

leograce
Posts: 11
Joined: Sat Feb 18, 2017 9:03 pm

Re: Apache2 stops working after a few minutes
  • Quote

Post by leograce » Sat Feb 18, 2017 9:12 pm

This is the error log.

Code: Select all

/var/log/apache2/error.log
[Fri Feb 17 23:14:37.555133 2017] [suexec:notice] [pid 13261] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Fri Feb 17 23:14:37.605149 2017] [:notice] [pid 13262] mod_ruid2/0.9.8 enabled
[Fri Feb 17 23:14:37.609026 2017] [mpm_prefork:notice] [pid 13262] AH00163: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operati$
[Fri Feb 17 23:14:37.609044 2017] [core:notice] [pid 13262] AH00094: Command line: '/usr/sbin/apache2'
[Fri Feb 17 23:15:16.161408 2017] [mpm_prefork:notice] [pid 13262] AH00169: caught SIGTERM, shutting down
[Fri Feb 17 23:15:17.256639 2017] [suexec:notice] [pid 14197] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Fri Feb 17 23:15:17.302431 2017] [:notice] [pid 14198] mod_ruid2/0.9.8 enabled
[Fri Feb 17 23:15:17.307113 2017] [mpm_prefork:notice] [pid 14198] AH00163: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operati$
[Fri Feb 17 23:15:17.307141 2017] [core:notice] [pid 14198] AH00094: Command line: '/usr/sbin/apache2'
[Fri Feb 17 23:15:19.556864 2017] [mpm_prefork:notice] [pid 14198] AH00171: Graceful restart requested, doing restart
[Fri Feb 17 23:15:19.646898 2017] [:notice] [pid 14198] mod_ruid2/0.9.8 enabled
[Fri Feb 17 23:15:19.647170 2017] [mpm_prefork:notice] [pid 14198] AH00163: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operati$
[Fri Feb 17 23:15:19.647179 2017] [core:notice] [pid 14198] AH00094: Command line: '/usr/sbin/apache2'
[Fri Feb 17 23:15:21.081969 2017] [mpm_prefork:notice] [pid 14198] AH00171: Graceful restart requested, doing restart
[Fri Feb 17 23:15:21.191153 2017] [:notice] [pid 14198] mod_ruid2/0.9.8 enabled
[Fri Feb 17 23:15:21.191433 2017] [mpm_prefork:notice] [pid 14198] AH00163: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operati$
[Fri Feb 17 23:15:21.191445 2017] [core:notice] [pid 14198] AH00094: Command line: '/usr/sbin/apache2'
[Fri Feb 17 23:19:15.407763 2017] [mpm_prefork:notice] [pid 14198] AH00171: Graceful restart requested, doing restart
[Fri Feb 17 23:19:15.518140 2017] [:notice] [pid 14198] mod_ruid2/0.9.8 enabled
[Fri Feb 17 23:19:15.518438 2017] [mpm_prefork:notice] [pid 14198] AH00163: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operati$
[Fri Feb 17 23:19:15.518449 2017] [core:notice] [pid 14198] AH00094: Command line: '/usr/sbin/apache2'
[Fri Feb 17 23:19:23.914392 2017] [mpm_prefork:notice] [pid 14198] AH00171: Graceful restart requested, doing restart
[Fri Feb 17 23:19:24.015517 2017] [:notice] [pid 14198] mod_ruid2/0.9.8 enabled
[Fri Feb 17 23:19:24.015806 2017] [mpm_prefork:notice] [pid 14198] AH00163: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operati$
[Fri Feb 17 23:19:24.015815 2017] [core:notice] [pid 14198] AH00094: Command line: '/usr/sbin/apache2'
[Fri Feb 17 23:41:16.368743 2017] [mpm_prefork:notice] [pid 14198] AH00169: caught SIGTERM, shutting down
[Fri Feb 17 23:41:17.452125 2017] [suexec:notice] [pid 22831] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Fri Feb 17 23:41:17.487623 2017] [:notice] [pid 22832] mod_ruid2/0.9.8 enabled
[Fri Feb 17 23:41:17.491292 2017] [mpm_prefork:notice] [pid 22832] AH00163: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operati$
[Fri Feb 17 23:41:17.491316 2017] [core:notice] [pid 22832] AH00094: Command line: '/usr/sbin/apache2'
[Sat Feb 18 09:40:49.119736 2017] [mpm_prefork:notice] [pid 22832] AH00169: caught SIGTERM, shutting down
[Sat Feb 18 09:40:50.265957 2017] [suexec:notice] [pid 15343] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Sat Feb 18 09:40:50.338696 2017] [:notice] [pid 15344] mod_ruid2/0.9.8 enabled
[Sat Feb 18 09:40:50.343344 2017] [mpm_prefork:notice] [pid 15344] AH00163: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operati$
[Sat Feb 18 09:40:50.343368 2017] [core:notice] [pid 15344] AH00094: Command line: '/usr/sbin/apache2'
[Sat Feb 18 09:40:50.788853 2017] [pagespeed:error] [pid 15348] [mod_pagespeed 1.11.33.5-0 @15348] /var/log/pagespeed/stats_log_global:0: opening output file: Permissi$
[Sat Feb 18 09:40:50.788875 2017] [pagespeed:error] [pid 15348] [mod_pagespeed 1.11.33.5-0 @15348] Error opening statistics log file /var/log/pagespeed/stats_log_globa$
[Sat Feb 18 09:40:50.821091 2017] [pagespeed:error] [pid 15348] [mod_pagespeed 1.11.33.5-0 @15348] Failed to make directory /var/cache/mod_pagespeed/v3: Permission den$
[Sat Feb 18 09:40:50.821112 2017] [pagespeed:error] [pid 15348] [mod_pagespeed 1.11.33.5-0 @15348] Could not create directories for file /var/cache/mod_pagespeed/v3/so$
Top

leograce
Posts: 11
Joined: Sat Feb 18, 2017 9:03 pm

Re: Apache2 stops working after a few minutes
  • Quote

Post by leograce » Sat Feb 18, 2017 9:48 pm

I have solved the issue. It was pagespeed module. It has since stopped crashing.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Apache2 stops working after a few minutes
  • Quote

Post by skurudo » Tue Feb 21, 2017 10:55 am

pagespeed and mod_ruid2 module?
Top

demlasjr
Posts: 74
Joined: Thu Feb 27, 2014 8:50 pm

Re: Apache2 stops working after a few minutes
  • Quote

Post by demlasjr » Sat Apr 08, 2017 5:34 pm

Yes, I have installed mod_pagespeed too and it's crashing. It worked just fine in Ubuntu 12.04, but it's not working in Ubuntu 16.04.

I'm trying to find a fix but it looks pretty hard to find any news
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Apache2 stops working after a few minutes
  • Quote

Post by skurudo » Wed Apr 26, 2017 7:29 am

demlasjr, this is old and, as for me, it's unsolved problem. ;-(
Top

demlasjr
Posts: 74
Joined: Thu Feb 27, 2014 8:50 pm

Re: Apache2 stops working after a few minutes
  • Quote

Post by demlasjr » Sun Apr 30, 2017 8:23 pm

Yep, however...I fixed it by installing nginx module instead :D
Top


Post Reply
  • Print view

7 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password