Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Demasiadas conexiones  (Read 7527 times)

0 Members and 1 Guest are viewing this topic.

marioo

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 80
Demasiadas conexiones
« on: January 14, 2013, 09:24:14 pm »

Bueno pues, después de mucho tiempo vuelvo aquí porque me surge otro problema, el caso es que hoy quería entrar en mi galería y me ha salido este mensaje:

http://i50.tinypic.com/352owpl.png

Es verdad que hay cerca de 120 usuarios registrados en este momento (se espera un aumento del 200% en los próximos dos meses). Y supongo que este mensaje me sale porque demasiadas personas han intentado entrar a la vez (desconozco el número).
Mi pregunta es: ¿hay una solución para que esto no pase?, que la base de datos tenga más capacidad, no se... ¿dónde puedo saber cual es el límite?, si me sale esto ¿acabo de expulsar a todos los que estaban dentro de la web, o símplemente lo bloquea para nuevas visitas?


Tengo que decir que la galería está alojada en un servicio de one.com pero la web no la subo por temas de privacidad, espero que podáis entenderlo y gracias por todo


Mario :)
Logged

Veronica

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: se
  • Offline Offline
  • Posts: 106
  • Coppermine 1.5.22
Re: Demasiadas conexiones
« Reply #1 on: January 15, 2013, 12:02:22 am »

Me puse en contacto one.com apoyo en Inglés y esta es la respuesta traducido por Google
Quote
Camille: Gracias por utilizar One.com Soporte 24/7 en línea interactivo. Mi nombre es Camille. ¿En qué puedo ayudarle?

te: Tengo una pregunta con respecto a las conexiones de MySQL.

te: ¿cómo se configura el servidor MySQL con respecto a conexiones concurrentes?

Camille: One.com ofrece 24 conexiones simultáneas.

te: por cuenta?

Camille: sí.

Camille: Esto no quiere decir, que sólo puede tener 24 visitantes a su sitio al mismo tiempo. Cuando el script se ha realizado lo que debe en la base de datos, usted debe recordar para cerrar la conexión. Si está usando PHP, puede cerrar la conexión con la función mysql_close, http://us2.php.net/manual/en/function.mysql-close.php.

te: si lo entiendo.

vosotros, pero cuando un script finaliza la conexión de base de datos se borrarán?

te: Borrado cerrado, es decir.

Camille: sí.

usted: lo que si tiene transacciones que tienen mucho tiempo puede llegar a este límite de 24.

usted: es decir, una transacción de algunos selecciona 100.

Camille: si eso es correcto.

vosotros, y si su servidor tiene una alta carga puede tardar más tiempo que si usted tiene menos carga en general.

que: y la probabilidad de alcanzar este límite es superior a un servidor menos cargado.

Camille: sí.

usted: gracias Camille una respuesta muy buena y exacta.

Camille: de nada.

English:
Quote
Camille: Thank you for using One.com 24/7 Interactive Online Support. My name is Camille. How may I assist you?

you: I have one question regarding MySQL connections

you: how is your MySQL server configured regarding concurrent connections?

Camille: One.com offers 24 simultaneous connections.

you: per account?

Camille: yes

Camille: This does not mean, that you can only have 24 visitors at your site at the same time. When your script has performed what it should in the database, you should remember to close the connection again. If you are using PHP, you can close the connection with function mysql_close, http://us2.php.net/manual/en/function.mysql-close.php.

you: yes I understand that

you: but when one script terminates the database connection will be cleared?

you: cleared ie closed

Camille: yes

you: so if you have transactions that take a long time you may reach this limit of 24

you: ie a transaction of some 100 selects

Camille: yes that's correct

you: and if your server has a high load this may take longer time than if you have less load overall

you: and the probability for reaching this limit is higher than a less loaded server

Camille: yes

you: thanks Camille a very good and accurate reply

Camille: you're welcome
« Last Edit: January 15, 2013, 02:31:32 am by Veronica »
Logged

Veronica

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: se
  • Offline Offline
  • Posts: 106
  • Coppermine 1.5.22
Re: Demasiadas conexiones
« Reply #2 on: January 16, 2013, 01:37:38 pm »

Me puse en contacto one.com apoyo en Inglés y esta es la respuesta traducido por Google

Quote
Bienvenido al soporte de chat en One.com. Estamos haciendo nuestro mejor esfuerzo para responder a sus consultas en breve. Rogamos su comprensión de que nuestras respuestas pueden demorarse durante períodos de mucho trabajo.

Usted está ahora en el chat con 'Arjun'

Arjun: Gracias por utilizar One.com Soporte 24/7 en línea interactivo. Mi nombre es Arjun. ¿En qué puedo ayudarle?

usted: tengo respuesta de Camille que sus conexiones simultáneas MySQL se fijó para el 24 por cuenta.

Arjun: Hello.

Arjun: Sí, eso es correcto.

usted: Ahora mi pregunta es ¿cuál es el límite que ha establecido en el nivel de servidor.

Arjun: Me temo que no es un número de serie, ya que hay un número arbitrario de espacios web en cada servidor web. Para permitir que cada espacio web para tener un rendimiento óptimo, conexiones MySQL desde cada espacio web está limitado a 24 conexiones simultáneas.

usted: El número total de conexiones para todas las cuentas en un servidor one.com?

te: Pero hay 2 valores de configuración de la base de datos MySQL en un nivel de usuario y una a nivel de servidor.

Arjun: Desafortunadamente no hay un número específico que puedo darte, porque cada servidor web puede tener diferente número de espacios web, pero el límite es el mismo para cada espacio web, un máximo de 24 conexiones simultáneas MySQL. Dado que las variables del lado del servidor no se pueden editar, nuestros técnicos no revelar dicha información.

te: Hay 2 números de error diferentes en MySQL asignados a demasiadas conexiones.

Arjun: Desafortunadamente, esa información no se facilita ya que es una instalación de alojamiento compartido.

te: se trata de conexiones de usuario Demasiados y las conexiones También muchos otros.

Usted: Sí, si tienes el nivel del servidor el número máximo de conexiones establecidas a 150 este límite anulará el nivel de cuenta de valor max.

vosotros, y no habrá casos en los que puede obtener una cuenta limitada debido a otras cuentas de usuario.

usted: lo que el límite puede variar durante el día, dependiendo de otras cuentas y el límite de 24 CONEXIONES puede en realidad ser inferior a 10.

usted: bien o mal?

Arjun: Creo que tienes razón en esto, sin embargo, nuestros técnicos no revelará esta información específica.

usted: ¿por qué no? Se engaña a los clientes cuando no decirle a los verdaderos límites.

Arjun: Lamento que te sientas así, pero lo que hemos descrito es la información correcta, es decir, tiene un max. límite de 24 conexiones condiciones simultáneamente.

te: pero hay otro límite que tiene mayor prioridad que siempre limitará la cuenta de usuario.
vosotros, y límite que está oculto para sus clientes.

Arjun: El equipo de segundo nivel no está online en este momento, yo podría haber pedido esto de otra manera. Pero, por favor envíenos un correo electrónico a support@one.com y lo vamos a escalar a ellos, si se trata de información que se puede obtener de los técnicos, que serán proporcionados a usted.

English:
Quote
Welcome to the One.com chat support. We are doing our best to answer your queries soon. We kindly ask for your understanding that our answers may be delayed during busy periods.

You are now chatting with 'Arjun'

Arjun: Thank you for using One.com 24/7 Interactive Online Support. My name is Arjun. How may I assist you?

you: I got reply from Camille that your MySQL concurrent connections was set to 24 per account.

Arjun: Hello.

Arjun: Yes, that's correct.

you: Now my question is what is the limit you have set on the server level.

Arjun: I'm afraid that is not a set number as there are an arbitrary number of webspaces on each web-server. To allow each webspace to have optimal performance, MySQL connections from each webspace is limited to 24 simultaneous connections.

you: Total number of connections for all accounts on an one.com server?

you: But there are 2 configuration values for the MySQL database one at user level and one at server level.

Arjun: Unfortunately there is no specific number I can give you because each webserver may have different number of webspaces, but the limit is the same for every webspace, a maximum of 24 simultaneous MYSQL connections. Since the server side variables cannot be edited, our technicians do not disclose such information.

you: There are 2 different error numbers in MySQL assigned to Too many connections.

Arjun: Unfortunately, that information is not provided since this is a shared hosting setup.

you: one is Too many user connections and the other Too many connections.

you: yes if you have the server level max number of connections set to 150 this limit will override the account level max value.

you: and there will be cases where an account may get limited because of other user accounts.

you: so the limit may change during the day depending on other accounts and the limit of 24 connnections may in reality be less than 10.

you: right or wrong?

Arjun: I believe you are right on this, however, our technicians will not disclose this specific information.

you: why not ?  It's fooling customers when not telling the true limits.

Arjun: I am sorry you feel that way, but what we have disclosed is the right information, ie, you have a max. limit of 24 connections simulataneously.

you: but there is another limit which has higher priority which always will limit the user account.
you: and that limit is hidden for your customers.

Arjun: The second level team is not online at the moment, I could have asked them for this otherwise. But please send us an email to support@one.com and we will escalate it to them, if this is information that they can obtain from the technicians, it will be provided to you.
Logged

Veronica

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: se
  • Offline Offline
  • Posts: 106
  • Coppermine 1.5.22
Re: Demasiadas conexiones
« Reply #3 on: January 17, 2013, 07:56:05 pm »

Finalmente, un correo electrónico de respuesta de Camille relación con la pregunta sin respuesta en mi post anterior:

Quote
Hola,
 
He tenido una charla con su soporte de primer nivel y se pongan en contacto con soporte de segundo nivel para esta pregunta:
 
Su respuesta en cuanto al número máximo de conexiones simultáneas MySQL por nivel de la cuenta es de 24
pero también hay un número máximo de conexiones simultáneas servidor de MySQL
soporte de primer nivel que no proporcionará para mí.
Este nivel max server valor supuesto anular cualquier nivel de la cuenta valor configurado
por lo que el límite real en una cuenta puede ser inferior a 24 y el cambio de las horas extraordinarias en función de la carga del servidor.
 
¿Cuál es el límite de nivel de servidor en one.com para el número máximo de conexiones simultáneas MySQL?
 
Saludos

Responder:

Quote
Gracias por contactar con One.com.

One.com ofrece 24 conexiones simultáneas por cuenta de dominio.
El límite máximo de conexiones por servidor es 2048 pero esto es un límite en el servidor mysql que puede servir de conexiones de servidores múltiples.
Si tiene más preguntas, por favor no dude en contactar con nosotros a través de nuestro chat en línea 24/7 o envíenos un correo electrónico.

Saludos cordiales

Camille

English:
Quote
Hello,   
I have had a chat with your first level support and was asked to contact second level support for this question: 
Your reply regarding max number of concurrent MySQL connections per account level is 24
but there is also a server max number of concurrent connections for MySQL which first level support will not provide for me.

This server level max value will ofcourse override any account level configured value so the real limit on an account
may be less than 24 and changing overtime depending on the server load.
   

What is the server level limit at one.com for max number of concurrent MySQL connections?   

Regards

Reply:

Quote
Thank you for contacting One.com.

One.com offers 24 simultaneous connections per domain account.
The maximum connection limit per server is 2048 but this is a limit on the mysql server which may serve connections from multiple servers.
Should you have anymore inquiries please do not hesitate to contact us through our 24/7 online chat or email us.

Best Regards

Camille
« Last Edit: January 17, 2013, 08:03:11 pm by Veronica »
Logged

Veronica

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: se
  • Offline Offline
  • Posts: 106
  • Coppermine 1.5.22
Re: Demasiadas conexiones
« Reply #4 on: January 18, 2013, 02:20:46 am »

https://dev.mysql.com/doc/refman/5.5/en/too-many-connections.html

Quote
Una gran cantidad de sitios sólo sufren de este problema cuando Google o cualquier otro robot de búsqueda se encuentra de visita.
La mejor manera de resolver esto es agregar el parámetro "Crawl-delay 'en el archivo robots.txt o para ponerlo en un mayor número de segundos.

English:
Quote
A lot of sites only suffer from this problem when Google or any other search bot is visiting.
The best way to resolve this is to add the 'Crawl-delay' parameter in your robots.txt or to set it to a higher number of seconds.
Logged

Veronica

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: se
  • Offline Offline
  • Posts: 106
  • Coppermine 1.5.22
Re: Demasiadas conexiones
« Reply #5 on: January 18, 2013, 02:57:55 am »

Quote
Lamentablemente no se puede cambiar la configuración de rastreo de Google en un fichero robots.txt, simplemente lo ignoran.
La mejor manera de limitar la tasa de ellos está utilizando la configuración personalizada de rastreo en las Herramientas para webmasters de Google.
(busque en la sección Configuración del sitio> Configuración)

Google Webmaster Tools: https://www.google.com/webmasters/tools/

English:
Quote
Unfortunately you can't change crawl settings for Google in a robots.txt file, they just ignore it.
The best way to rate limit them is using custom Crawl settings in Google Webmaster Tools.
(look under Site configuration > Settings)
« Last Edit: January 18, 2013, 03:47:04 am by Veronica »
Logged

Veronica

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: se
  • Offline Offline
  • Posts: 106
  • Coppermine 1.5.22
Re: Demasiadas conexiones
« Reply #6 on: January 18, 2013, 07:33:56 pm »

He hablado con mi hosting hoy y dicen que el robot de Google no es un problema
pero otros motores de búsqueda puede bloquear un sitio totalmente y se puede comparar a los ataques DDoS.
Sugerencia fue probar arrastran retrasos de hasta 30 segundos mientras oraba Estos bots cosechar un sitio de más de 5 IP diferente.

He tratado de conseguir más valores de conexiones simultáneas MySQL hoy en día y la única respuesta fue http://www.servage.net/
y por dominio tienen 20 conexiones simultáneas MySQL. Por decirme la limitación nivel de servidor que requiere mi dirección de correo electrónico.

Todos los demás intentos fueron rechazados y sólo quería darle el valor después de haber registrado una cuenta de web hosting.
No es un buen punto de venta pero la publicidad sobre otros recursos ilimitados y libre es más interesante para ellos.

Mi hosting es un costo medio compartido https://www.oderland.se/ de alojamiento donde el límite es de 500 conexiones MySQL
pero las entradas de proceso en el servidor web Apache está limitado a 75 conexiones.

English:

I talked to my hosting today and they say that the Google bot is not a problem
but other search engines can block a site totally and can be compared to DDoS attacks.
Suggestion was to test crawl delays up to 30 seconds as these bad bots harvest a site from more than 5 different IP's.

I have tried to get more values of concurrent MySQL connections today and the only one responding was http://www.servage.net/
and per domain they have 20 concurrent MySQL connections. For telling me the server level limitation they required my email address.

All other attempts were refused and they only wanted to give the value after I had signed up for a web hosting account.
It's not a good selling point but advertising about unlimited and free other resources is more interesting for them.

My hosting is a medium cost shared hosting https://www.oderland.se/ where the MySQL limit is 500 connections
but the process entries in apache web server is limited to 75 connections.
« Last Edit: January 18, 2013, 08:21:47 pm by Veronica »
Logged
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 18 queries.