Fórum cPanel: Maxclients no apache 2.2 - Fórum cPanel

Ir para


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Maxclients no apache 2.2

#1 Membro offline   Rogério 

  • Ele mora no fórum!
  • PipPipPipPipPipPipPip
  • Grupo: Membros
  • Posts: 714
  • Cadastrado: 14-dezembro 06

Posted 22 janeiro 2008 - 11:13

Olá

o apache 2.2 nao vem com essa variavel e parece que o maximo é 256

estou querendo colocar 500, já adicionewi a linha MaxClients 500 mas nao sai dos 256

alguem sabe como resolver isso?
0

#2 Membro offline   ergti 

  • Ele mora no fórum!
  • PipPipPipPipPipPipPip
  • Grupo: Membros
  • Posts: 682
  • Cadastrado: 06-agosto 06
  • Gender:Male
  • Location:Belo Horizonte

Posted 22 janeiro 2008 - 03:43

A edição do httpd.conf não é como na versão 1. Leia o cabeçalho e verá que precisará executar um ou dois comandos para validar sua alteração, caso contrário, ela é reescrita.



0

#3 Membro offline   Rogério 

  • Ele mora no fórum!
  • PipPipPipPipPipPipPip
  • Grupo: Membros
  • Posts: 714
  • Cadastrado: 14-dezembro 06

Posted 23 janeiro 2008 - 10:29

seria isso? por acaso sabe qual dos arquivos? recompilar? acrescentar algo?

# # # # # # # # # # # # # # # # # # # # # # # #
# Direct modifications to the Apache configuration file may be lost upon subsequent regeneration of the #
# configuration file. To have modifications retained, all modifications must be checked into the #
# configuration system by running: #
# /usr/local/cpanel/bin/apache_conf_distiller --update #
# To see if your changes will be conserved, regenerate the Apache configuration file by running: #
# /usr/local/cpanel/bin/build_apache_conf #
# and check the configuration file for your alterations. If your changes have been ignored, then they will #
# need to be added directly to their respective template files. #
# #
# This configuration file was built from the following templates: #
# /var/cpanel/templates/apache2/main.default #
# /var/cpanel/templates/apache2/main.local #
# /var/cpanel/templates/apache2/vhost.default #
# /var/cpanel/templates/apache2/vhost.local #
# /var/cpanel/templates/apache2/ssl_vhost.default #
# /var/cpanel/templates/apache2/ssl_vhost.local #
# #
# Templates with the '.local' extension will be preferred over templates with the '.default' extension. #
# The only template updated by the apache_conf_distiller is main.default. #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
0

#4 Membro offline   ergti 

  • Ele mora no fórum!
  • PipPipPipPipPipPipPip
  • Grupo: Membros
  • Posts: 682
  • Cadastrado: 06-agosto 06
  • Gender:Male
  • Location:Belo Horizonte

Posted 23 janeiro 2008 - 11:12

O comando dito ai é:

CODE
/usr/local/cpanel/bin/apache_conf_distiller --update

0

#5 Membro offline   Rogério 

  • Ele mora no fórum!
  • PipPipPipPipPipPipPip
  • Grupo: Membros
  • Posts: 714
  • Cadastrado: 14-dezembro 06

Posted 23 janeiro 2008 - 12:46

apareceu apenas isso

Distilled successfully

vou no httpd.conf e coloco o maxclients?
0

#6 Membro offline   x-php 

  • Super Membro
  • PipPipPipPipPip
  • Grupo: Membros
  • Posts: 172
  • Cadastrado: 17-agosto 06

Posted 23 janeiro 2008 - 07:49

Olá,

Testei aqui, editei o arquivo

CODE
/usr/local/apache/conf/extra/http-mpm.conf


Se eu não me engano é neste arquivo que tu tem que alterar.

Se caso o ergti confirmar que é ali, gostaria de saber se é necessário dar o comando citado.

Abraços e T+
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 membro(s), 1 visitante(s), 0 membro(s) anônimo(s)