Skip to main content

Website down due to httpd

Comments

4 comments

  • sohailkmu
    VPS on high average load due to httpd processes Dear Members, Kindly help me in resolving my issue. I have VPS based web hosting with 30GB disk space and 1.0 GB guaranteed RAM. My server remains overloaded (average load). I have multiple linnes of /usr/local/apache/bin/httpd -k start -DSSL consuming 5% of the memory each. I think this is the reason for high load average. How can I reduce it. Besides this whenever I make changes to apache configuration through WHM, following errors are displayed. [Tue Nov 19 12:58:57 2013] [crit] (EAI 9)Address family for hostname not supported: alloc_listener: failed to set up sockaddr for :: Configuration problem detected on line 172 of file /usr/local/apache/conf/httpd.conf.work.O60GBbOFSwotmcqu: Listen setup failed --- /usr/local/apache/conf/httpd.conf.work.O60GBbOFSwotmcqu --- 166# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # 167 168 169PidFile logs/httpd.pid 170LockFile logs/accept.lock 171Listen 0.0.0.0:80 172 ===> Listen [::]:80 <=== 173User nobody 174Group nobody 175ExtendedStatus On 176ServerAdmin webmaster@ xxx.edu.pk 177ServerName server. xxx.edu.pk 178LogLevel warn --- /usr/local/apache/conf/httpd.conf.work.O60GBbOFSwotmcqu --- Rebuilding configuration without any local modifications. Failed to generate a syntactically correct Apache configuration. Bad configuration file located at /usr/local/apache/conf/httpd.conf.work.O60GBbOFSwotmcqu Error: [Tue Nov 19 12:59:15 2013] [crit] (EAI 9)Address family for hostname not supported: alloc_listener: failed to set up sockaddr for :: Configuration problem detected on line 172 of file /usr/local/apache/conf/httpd.conf.work.O60GBbOFSwotmcqu: Listen setup failed --- /usr/local/apache/conf/httpd.conf.work.O60GBbOFSwotmcqu --- 166# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # 167 168 169PidFile logs/httpd.pid 170LockFile logs/accept.lock 171Listen 0.0.0.0:80 172 ===> Listen [::]:80 <=== 173User nobody 174Group nobody 175ExtendedStatus On 176ServerAdmin webmaster @ xxx.edu.pk 177ServerName server. xxx.edu.pk 178LogLevel warn --- /usr/local/apache/conf/httpd.conf.work.O60GBbOFSwotmcqu --- Restarting httpd (hard)... Apache successfully restarted. Done!
    0
  • Bidi
    Im not an expert but i gve an advice check if you install sompting strange or plugin on the platform witch is using lot of stuff and makes theath hapen.
    0
  • cPanelMichael
    Hello :) I reviewed a few other instances where the "(EAI 9)Address family for hostname not supported: alloc_listener: failed to set up sockaddr for" error message occurred and each time it was resolved by rebuilding Apache via EasyApache: # /scripts/easyapache
    Or; "WHM Home " Software " EasyApache (Apache Update)" As for the load issue, I recommend reviewing the following thread: Troubleshooting High Load On Linux Systems Thank you.
    0
  • sohailkmu
    Thanks alot for your reply. I already used /scripts/upcp. I ll give it a try as well.
    0

Please sign in to leave a comment.