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

Apache and nginx keeps restarting at irregular intervals

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
adamess
Posts: 2
Joined: Fri Apr 26, 2019 8:10 am

Os: Ubuntu 15x
Web: apache + nginx
Apache and nginx keeps restarting at irregular intervals
  • Quote

Post by adamess » Fri Apr 26, 2019 8:17 am

at intervals which vary, 5mins, 10 mins, 20 mins, I keep getting apache and nginx restarting... apache I think seems to use more and more memory, then restart...

apache error log:

[mpm_prefork:notice] [pid 2007] AH00171: Graceful restart requested, doing restart

Seems to cause a little problem with websites sometimes, not loading...

Anyone shade a little light in the issue? Its killing me...

Thanks in advance

:)
Top

adamess
Posts: 2
Joined: Fri Apr 26, 2019 8:10 am

Os: Ubuntu 15x
Web: apache + nginx
Re: Apache and nginx keeps restarting at irregular intervals
  • Quote

Post by adamess » Fri Apr 26, 2019 1:03 pm

In case anyone else has seen this an is concerned about it, I solved my own problem... (VestaCP on Ubuntu 16.04 64 bits)

History -- apache is pretty new to me I always worked with nginx.... but after some problems I inspected the log file here /var/log/apache2/error.log and assumed this as the error in the websites not loading, I now think that I needed to resolve the problem with failed updates in VestaCP...

So firstly I did this:

apt-get update -y && apt-get upgrade -y

Then this:

dpkg --configure -a #to resolve previous update problem

Then saved a little space, i next used this command:

apt autoremove

then updated Vesta Cp with this command:

v-update-sys-vesta-all

then I rebooted for good measure...

In fact, the log file just shows some startups/shutdowns of Apache workers, and its normal, I don't need to see this in the error log, so for me I changed this file:

/etc/apache2/apache2.confg

and changed:

LogLevel warn 'to' LogLevel error

then restarted apache with this command:

systemctl restart apache2.service

So I think all is well now, I hope this helps someone else in some way...
Top


Post Reply
  • Print view

2 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