• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 140
  • Last Modified:

Two Server Issues

Hi,

I am on a VPS.

When I try to restart Apache, I get this error:

service httpd restart
WARNING: MaxClients of 64 exceeds ServerLimit value of 8 servers,
 lowering MaxClients to 8.  To increase, please see the ServerLimit
 directive.
[Fri Oct 03 07:54:53 2014] [warn] NameVirtualHost x.x.x.x:443 has no VirtualHosts
0
Computer Guy
Asked:
Computer Guy
1 Solution
 
David AtkinIT ProfessionalCommented:
Check your httpd.conf file to see if it specifies a 'ServerLimit'.  Increase the ServerLimit to 64 if needed and then restart apache.
0
 
Computer GuyAuthor Commented:
Will that be a problem on my host? I have a vps and don't want problems.

What is the server limit tag and what does it do?
0
 
David AtkinIT ProfessionalCommented:
If you have a VPS and your monthly amount includes support from the provider then I suggest that you raise a ticket with them to confirm the issue.  I imagine it is an issue with your host but if you pay support then they will advise or fix the issue for you.  If you're not confident with editing the config files then I would leave it to your hosting provider.

ServerLimit:
http://httpd.apache.org/docs/2.2/mod/mpm_common.html#serverlimit
0
 
SandyCommented:
increase the server limit and restart apache.

TY/SA
0
 
gheistCommented:
Your apache will restart anyway
WARN and WARNING are non-fatal errors.
It just tells apache will serve 8 connections at a time (4 users browsing site at a time)

If you identify your linux (e.g Debian or CentOS) I could tell where to get apache confiiguration right
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now