Re: mysql ia pauza la 6000 clienti simultani

Mihai Badici <[email protected]>
Newsgroups gmane.org.user-groups.rlug.general
Message-ID <1915287.rtgR3s1LUu@hpdesktop>
On Friday 28 October 2016 21:43:01 Florin Popovici wrote:

> 1. Problema apare la 6k conn pe mysql, indiferent de numarul de 
webservers?
> 
> Daca da, problema e pe serverul de mysql. Incearca mytop, iti dai seama
> dintr-o privire daca masina e "coplesita" de slow queries -- situatia asta
> o poti intui daca 50x-ul vine "tarziu", gen dupa 30 sec. Daca nu vezi
> nimic, poti incerca sa activezi slow-query-log cu threshold la 1secunda.
> Poate si query-cache te poate ajuta.
> 
> Daca nu, e posibil ai "TCP port exhaustion/starvation" pe webserver[e],
> daca se fac conexiuni foarte rapide si scurte spre acelasi mysql. Cateva
> recomandari aici:
> http://serverfault.com/questions/660237/hitting-ephemeral-tcp-port-exhaustio
> n sau poate frameworkul de pe webservers stie de persistent database
> connections, te poate ajuta si la performanta cu cateva msec/req.
> 
> 2. moar details. "50x si-atat" nu e prea de ajutor, convinge cumva
> webserverul sa fie mai vorbaret.
> 
> HTH
> Flo

Banda disponibila intre mysql si serverul web ar putea fi o problemă? La 
aplicatiile "din zilele nostre" am vazut că se tin tot felul de prostii in mysql 
:)-- 
Mihai Badici[1] 

--------
[1] http://mihai.badici.ro
_______________________________________________
RLUG mailing list
[email protected]
http://lists.lug.ro/mailman/listinfo/rlug
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.