- Home
- Categorie
- Coding e Sistemistica
- Hosting e Cloud
- [Altri] Quante visite può supportare il mio sito?
- 
							
							
							
							
							[Altri] Quante visite può supportare il mio sito?Buongiorno a tutti! Negli ultimi mesi mi sono sempre preoccupato di reperire per il mio sito il traffico, ora visto che difficilmente si supera i 25 visitatori online nello stesso momento mi viene un dubbio atroce, quante persone riescono a visitare il mio sito contemporaneamente senza mandare in crash il vps? Premetto che non ho un hosting ma un vps con queste caratteristiche: Operating system Ubuntu Linux 10.04 
 Webmin version 1.580
 Time on system Thu May 3 12:45:10 2012
 Kernel and CPU Linux 2.6.18-194.26.1.el5.028stab079.2 on i686
 Processor information Quad-Core AMD Opteron(tm) Processor 8356, 2 cores
 System uptime 12 hours, 19 minutes
 Running processes 31
 CPU load averages 4.66 (1 min) 3.15 (5 mins) 2.20 (15 mins)
 Real memory 1024 MB total, 672.11 MB usede ho impostato apache cosi: <IfModule mpm_prefork_module> 
 StartServers 1
 MinSpareServers 1
 MaxSpareServers 6
 ServerLimit 16
 MaxClients 16
 MaxRequestsPerChild 8000
 </IfModule>Con KeepAlive On 
 max 550 request e timeout di keepalive a 2ora, siccome non sono espertissimo di ubuntu, qualcuno conosce un tool online che può dirmi se il mio sito è configurato bene e quanto traffico potrebbe mai gestire contemporaneamente? Spero di avere le vostre migliori risposte come sempre, se servono altri dati sono sempre online, vi rispondo in 2 minuti! Grazie a tutti<br /><b>Tipo</b>: <br />Altri<br /> 
 
- 
							
							
							
							
							
Si, il tool si chiama ab ed è fornito con apache. 
 
- 
							
							
							
							
							ab? potresti fornirmi il link che lo installo ? 
 
- 
							
							
							
							
							ok eseguito il test con questa stringa ab -n 1000 -c 100 http www riporto i parametri da VPS Benchmarking www allnewz it (be patient) 
 Completed 100 requests
 Completed 200 requests
 Completed 300 requests
 Completed 400 requests
 Completed 500 requests
 Completed 600 requests
 Completed 700 requests
 Completed 800 requests
 Completed 900 requests
 Completed 1000 requests
 Finished 1000 requestsServer Software: cloudflare-nginx 
 Server Hostname: www
 Server Port: 80Document Path: / 
 Document Length: 50406 bytesConcurrency Level: 100 
 Time taken for tests: 63.364 seconds
 Complete requests: 1000
 Failed requests: 0
 Write errors: 0
 Total transferred: 51565206 bytes
 HTML transferred: 50876358 bytes
 Requests per second: 15.78 [#/sec] (mean)
 Time per request: 6336.360 [ms] (mean)
 Time per request: 63.364 [ms] (mean, across all concurrent requests)
 Transfer rate: 794.73 [Kbytes/sec] receivedConnection Times (ms) 
 min mean[+/-sd] median max
 Connect: 34 669 307.4 778 1136
 Processing: 188 5448 2172.8 5027 13396
 Waiting: 73 2808 1290.1 2591 7821
 Total: 223 6117 2063.3 5865 13438Percentage of the requests served within a certain time (ms) 
 50% 5865
 66% 6019
 75% 6173
 80% 6312
 90% 6983
 95% 11699
 98% 12267
 99% 12530
 100% 13438 (longest request)come li vedete? 
 
- 
							
							
							
							
							
E' fornito nel pacchetto di apache. Se installi apache installi pure ab. 
 
- 
							
							
							
							
							fatto ho postato i risultati di un test, fammi sapere un tuo parere ed eventualmente dove dovrei intervenire 
 
- 
							
							
							
							
							
Ma perchè il server è lento? Io lì vedo che riesce a reggere 100 utenti contemporaneamente e non è poco. E soddisfa quasi 16 richieste al secondo e senza errori o perdite di connessione. 
 
- 
							
							
							
							
							be di sicuro c'è che webmin si inceppa e devo riavviare ogni 3 secondi! qualche problema c'è e non riesco a settarlo per bene per questo chiedevo una mano 
 
- 
							
							
							
							
							tra l'altro ho notato da diversi giorni questo errore che neppure so risolvere Request exceeded the limit of 10 subrequest nesting levels due to probable confguration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http www allnewz it 
 
- 
							
							
							
							
							
Il fatto che webmin s'inceppa può essere dovuto a bug del programa, non certo al server. Riguardo l'altro problema, setta LogLevel a debug e vedi che ti dicono i log del web server. 
 
- 
							
							
							
							
							infatti, appena settato, diversi errori che sto cercando di risolvere...tra una ventina di minuti li posto