Kuro Posted February 22, 2019 Report Share Posted February 22, 2019 Salut , Sunt nou pe aici si am zis totusi sa pun o intrebare, am un server la google unde am hostat un site. Pe acest site cand depaseste de 250 - 300 vizite in acelasi timp nu mai merge httpd. Adica pot intra in Administrator Plesk pentru ca am un Plesk instalat. Dar site-ul web nu merge, folosesc si cloudflare Care ar putea fi cauza ? Quote Link to comment Share on other sites More sharing options...
mariusdmm Posted February 24, 2019 Report Share Posted February 24, 2019 in principiu, ceva iti mananca resursele, iar kernelul iti opreste din servicii ( serverul web, mysql etc ). indicat ar fi sa stai cu htop-ul pe el in momentele alea sa vezi ce anume iti consuma resursele atat de mult. 1 1 Quote Link to comment Share on other sites More sharing options...
aelius Posted February 24, 2019 Report Share Posted February 24, 2019 Ai httpd mpm prefork. Schimba-l cu mpm event sau schimba-l cu totul (nginx) daca nu vrei sa consumi resurse aiurea 1 Quote Link to comment Share on other sites More sharing options...
iulik Posted February 24, 2019 Report Share Posted February 24, 2019 Daca nu te pricepi poti incerca si cu https://vestacp.com/install/ vine cu nginx + apache2. Quote Link to comment Share on other sites More sharing options...
Active Members Fi8sVrs Posted February 24, 2019 Active Members Report Share Posted February 24, 2019 (edited) Postezea eroarea 502, 504, sa vedem, fii explicit Edited February 24, 2019 by OKQL 4 Quote Link to comment Share on other sites More sharing options...
Kuro Posted February 24, 2019 Author Report Share Posted February 24, 2019 (edited) 11 minutes ago, OKQL said: Postezea eroarea 502, 504, sa vedem, fii explicit error_log este absolut gol, cand nu merge pur si simplu este ca si cand hostul este oprit Daca aveam o eroare as fi spuso Va multumesc tuturor pentru sfaturi @Gecko @aelius Da m-am gandit la sfaturile voastre si cred ca o sa incer cu nginx Si cred ca este o problema si la codul actual , o sa verific Edited February 24, 2019 by Kuro Quote Link to comment Share on other sites More sharing options...
mariusdmm Posted February 24, 2019 Report Share Posted February 24, 2019 (edited) cand iti mai cade vreun serviciu stai cu tailf pe logul serviciului respectiv, dai refresh la pagina si vezi ca indica log-ul sau poti rula "dmesg" in momentul de inactivitate si cauti sa vezi ce s-a intamplat sau instalezi "sysstat.x86_64" acum...si cand iti mai cade urmaresti istoricul load-ului de pe server prin comanda "sar -q" sau cum am mai zis cand nu-ti functioneaza, htop in consola si vezi ce anume iti consume resursele ( ram /cpu ) Edited February 24, 2019 by mariusdmm 1 Quote Link to comment Share on other sites More sharing options...
aelius Posted February 24, 2019 Report Share Posted February 24, 2019 200 online * 32 MB per process = 6,4 GB memorie - ~200 procese httpd worker - consum resurse mysql - consum os - sockets limit (e un virtual doar) - net.core.somaxconn cred ca este 128 default - httpd prefork are predefinit in config un numar maxim de 256 (MaxClients) - Daca se modifica limita de mai sus nu functioneaza pentru ca trebuie setat si ServerLimit si nu va functiona la reload. Este necesar stop/start Ai foarte multe limite impuse Quote Link to comment Share on other sites More sharing options...
Kuro Posted February 24, 2019 Author Report Share Posted February 24, 2019 6 hours ago, aelius said: 200 online * 32 MB per process = 6,4 GB memorie - ~200 procese httpd worker - consum resurse mysql - consum os - sockets limit (e un virtual doar) - net.core.somaxconn cred ca este 128 default - httpd prefork are predefinit in config un numar maxim de 256 (MaxClients) - Daca se modifica limita de mai sus nu functioneaza pentru ca trebuie setat si ServerLimit si nu va functiona la reload. Este necesar stop/start Ai foarte multe limite impuse Este un (4 vCPUs, 15 GB memory ) Cred ca totusi este ceva limitat din Plesk Administrator. Quote Link to comment Share on other sites More sharing options...
gaddafi Posted February 25, 2019 Report Share Posted February 25, 2019 13 hours ago, Kuro said: Este un (4 vCPUs, 15 GB memory ) Cred ca totusi este ceva limitat din Plesk Administrator. Ce ti-a zis aelius si ce ai inteles tu! Mai mult de o recomandare catre Cloudways/Managed VPS nu meriti. Quote Link to comment Share on other sites More sharing options...