PDA

Visualizza la versione completa: Risolto Traduttore consumare troppo la CPU e non esce correttamente



Simon Lloyd
13-12-10, 07:42
Ciao a Tutti, mi sono trasferito a un apposito programma, come mi è stato haing problemi sul mio 1gb vps, ma trovo im ancora problemi wwhich sono causati dal traduttore, è costantemente consumare più del 30% di cpu per OGNI traduzione, anche quando la traduzione ha avuto luogo, è stato accessi o di qualsiasi traduttore script non viene chiuso correttamente, è mancante di qualcosa, in modo che il server si presenta sempre con [PHP]<defunct>, it is NOT a server issue as my server, drivers and software are brand new out of the box, if it's any use to you here's a trace of one of the translator processes:
Process 6466 attached - interrupt to quit
clock_gettime(CLOCK_MONOTONIC, {78414, 549898071}) = 0
poll([{fd=20, events=POLLIN|POLLPRI}], 1, 648) = 1 ([{fd=20, revents=POLLIN}])
poll([{fd=20, events=POLLIN|POLLPRI}], 1, 0) = 1 ([{fd=20, revents=POLLIN}])
recvfrom(20, "HTTP/1.1 200 OK\r\nCache-Control: "..., 16384, 0, NULL, NULL) = 541
clock_gettime(CLOCK_MONOTONIC, {78414, 723610071}) = 0
clock_gettime(CLOCK_MONOTONIC, {78414, 723736071}) = 0
clock_gettime(CLOCK_MONOTONIC, {78414, 723815071}) = 0
clock_gettime(CLOCK_MONOTONIC, {78414, 723897071}) = 0
clock_gettime(CLOCK_MONOTONIC, {78414, 723981071}) = 0
clock_gettime(CLOCK_MONOTONIC, {78414, 724077071}) = 0
time([1292222225]) = 1292222225
close(20) = 0
clock_gettime(CLOCK_MONOTONIC, {78414, 724347071}) = 0
poll([{fd=19, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
write(19, "\375\0\0\0\3SELECT cache.originaltext a"..., 257) = 257
read(19, "\1\0\0\1\2k\0\0\2\3def\20thecodec_CCForum\5c"..., 16384) = 241
poll([{fd=19, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
write(19, "\347\0\0\0\3SELECT cache.originaltext a"..., 235) = 235
read(19, "\1\0\0\1\2k\0\0\2\3def\20thecodec_CCForum\5c"..., 16384) = 9268
poll([{fd=19, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
write(19, "\364\0\0\0\3SELECT cache.originaltext a"..., 248) = 248
read(19, "\1\0\0\1\2k\0\0\2\3def\20thecodec_CCForum\5c"..., 16384) = 984
poll([{fd=19, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
write(19, "\32\1\0\0\3SELECT cache.originaltext a"..., 286) = 286
read(19, "\1\0\0\1\2l\0\0\2\3def\20thecodec_CCForum\5c"..., 16384) = 4975
poll([{fd=19, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
write(19, "\375\0\0\0\3SELECT cache.originaltext a"..., 257) = 257
read(19, "\1\0\0\1\2k\0\0\2\3def\20thecodec_CCForum\5c"..., 16384) = 241
poll([{fd=19, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
write(19, "u\1\0\0\3SELECT cache.originaltext a"..., 377) = 377
read(19, "\1\0\0\1\2l\0\0\2\3def\20thecodec_CCForum\5c"..., 16384) = 2108
poll([{fd=19, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
write(19, "N\1\0\0\3SELECT cache.originaltext a"..., 338) = 338
read(19, "\1\0\0\1\2l\0\0\2\3def\20thecodec_CCForum\5c"..., 16384) = 2693
poll([{fd=19, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
write(19, "\376\0\0\0\3SELECT cache.originaltext a"..., 258) = 258
read(19, "\1\0\0\1\2k\0\0\2\3def\20thecodec_CCForum\5c"..., 16384) = 241
poll([{fd=19, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
write(19, "\375\0\0\0\3SELECT cache.originaltext a"..., 257) = 257
read(19, "\1\0\0\1\2k\0\0\2\3def\20thecodec_CCForum\5c"..., 16384) = 241
poll([{fd=19, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
write(19, "(\1\0\0\3SELECT cache.originaltext a"..., 300) = 300
read(19, "\1\0\0\1\2l\0\0\2\3def\20thecodec_CCForum\5c"..., 16384) = 243
poll([{fd=19, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
write(19, "&\1\0\0\3SELECT cache.originaltext a"..., 298) = 298
read(19, "\1\0\0\1\2l\0\0\2\3def\20thecodec_CCForum\5c"..., 16384) = 243
poll([{fd=19, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
write(19, "(\1\0\0\3SELECT cache.originaltext a"..., 300) = 300
read(19, "\1\0\0\1\2l\0\0\2\3def\20thecodec_CCForum\5c"..., 16384) = 243
poll([{fd=19, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
write(19, ",\1\0\0\3SELECT cache.originaltext a"..., 304) = 304
read(19, "\1\0\0\1\2l\0\0\2\3def\20thecodec_CCForum\5c"..., 16384) = 243
poll([{fd=19, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
write(19, "\373\0\0\0\3SELECT cache.originaltext a"..., 255) = 255
read(19, "\1\0\0\1\2k\0\0\2\3def\20thecodec_CCForum\5c"..., 16384) = 241
clock_gettime(CLOCK_MONOTONIC, {78414, 920421071}) = 0
clock_gettime(CLOCK_MONOTONIC, {78414, 920516071}) = 0
clock_gettime(CLOCK_MONOTONIC, {78414, 920599071}) = 0
time([1292222225]) = 1292222225
clock_gettime(CLOCK_MONOTONIC, {78414, 920816071}) = 0
clock_gettime(CLOCK_MONOTONIC, {78414, 920902071}) = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 20
fcntl(20, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(20, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(20, {sa_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr("173.194.36.95")}, 16) = -1 EINPROGRESS (Operation now in progress)
clock_gettime(CLOCK_MONOTONIC, {78414, 921475071}) = 0
poll([{fd=20, events=POLLOUT}], 1, 1000) = 1 ([{fd=20, revents=POLLOUT}])
clock_gettime(CLOCK_MONOTONIC, {78414, 930363071}) = 0
getsockopt(20, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
getpeername(20, {sa_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr("173.194.36.95")}, [85899345936]) = 0
getsockname(20, {sa_family=AF_INET, sin_port=htons(44624), sin_addr=inet_addr("91.215.181.165")}, [85899345936]) = 0
clock_gettime(CLOCK_MONOTONIC, {78414, 930819071}) = 0
clock_gettime(CLOCK_MONOTONIC, {78414, 930899071}) = 0
clock_gettime(CLOCK_MONOTONIC, {78414, 930977071}) = 0
clock_gettime(CLOCK_MONOTONIC, {78414, 931058071}) = 0
clock_gettime(CLOCK_MONOTONIC, {78414, 931136071}) = 0
sendto(20, "GET /ajax/services/language/tran"..., 1596, MSG_NOSIGNAL, NULL, 0) = 1596
poll([{fd=20, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
poll([{fd=20, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
clock_gettime(CLOCK_MONOTONIC, {78414, 931532071}) = 0
clock_gettime(CLOCK_MONOTONIC, {78414, 931611071}) = 0
clock_gettime(CLOCK_MONOTONIC, {78414, 931694071}) = 0
poll([{fd=20, events=POLLIN|POLLPRI}], 1, 1000) = 1 ([{fd=20, revents=POLLIN}])
poll([{fd=20, events=POLLIN|POLLPRI}], 1, 0) = 1 ([{fd=20, revents=POLLIN}])
recvfrom(20, "HTTP/1.1 200 OK\r\nCache-Control: "..., 16384, 0, NULL, NULL) = 541
clock_gettime(CLOCK_MONOTONIC, {78415, 458505071}) = 0
clock_gettime(CLOCK_MONOTONIC, {78415, 458618071}) = 0
clock_gettime(CLOCK_MONOTONIC, {78415, 458720071}) = 0
clock_gettime(CLOCK_MONOTONIC, {78415, 458804071}) = 0
clock_gettime(CLOCK_MONOTONIC, {78415, 458889071}) = 0
clock_gettime(CLOCK_MONOTONIC, {78415, 458982071}) = 0
time([1292222225]) = 1292222225
close(20) = 0
clock_gettime(CLOCK_MONOTONIC, {78415, 459334071}) = 0
clock_gettime(CLOCK_MONOTONIC, {78415, 459506071}) = 0
clock_gettime(CLOCK_MONOTONIC, {78415, 459593071}) = 0
clock_gettime(CLOCK_MONOTONIC, {78415, 459677071}) = 0
time([1292222225]) = 1292222225
clock_gettime(CLOCK_MONOTONIC, {78415, 459894071}) = 0
clock_gettime(CLOCK_MONOTONIC, {78415, 459981071}) = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 20
fcntl(20, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(20, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(20, {sa_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr("173.194.36.95")}, 16) = -1 EINPROGRESS (Operation now in progress)
clock_gettime(CLOCK_MONOTONIC, {78415, 460453071}) = 0
poll([{fd=20, events=POLLOUT}], 1, 1000) = 1 ([{fd=20, revents=POLLOUT}])
clock_gettime(CLOCK_MONOTONIC, {78415, 468506071}) = 0
getsockopt(20, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
getpeername(20, {sa_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr("173.194.36.95")}, [85899345936]) = 0
getsockname(20, {sa_family=AF_INET, sin_port=htons(44635), sin_addr=inet_addr("91.215.181.165")}, [85899345936]) = 0
clock_gettime(CLOCK_MONOTONIC, {78415, 468990071}) = 0
clock_gettime(CLOCK_MONOTONIC, {78415, 469071071}) = 0
clock_gettime(CLOCK_MONOTONIC, {78415, 469149071}) = 0
clock_gettime(CLOCK_MONOTONIC, {78415, 469230071}) = 0
clock_gettime(CLOCK_MONOTONIC, {78415, 469309071}) = 0
sendto(20, "GET /ajax/services/language/tran"..., 2038, MSG_NOSIGNAL, NULL, 0) = 2038
poll([{fd=20, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
poll([{fd=20, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
clock_gettime(CLOCK_MONOTONIC, {78415, 469704071}) = 0
clock_gettime(CLOCK_MONOTONIC, {78415, 469783071}) = 0
clock_gettime(CLOCK_MONOTONIC, {78415, 469864071}) = 0
poll([{fd=20, events=POLLIN|POLLPRI}], 1, 1000) = 1 ([{fd=20, revents=POLLIN}])
poll([{fd=20, events=POLLIN|POLLPRI}], 1, 0) = 1 ([{fd=20, revents=POLLIN}])
recvfrom(20, "HTTP/1.1 200 OK\r\nCache-Control: "..., 16384, 0, NULL, NULL) = 541
clock_gettime(CLOCK_MONOTONIC, {78415, 996664071}) = 0
clock_gettime(CLOCK_MONOTONIC, {78415, 996792071}) = 0
clock_gettime(CLOCK_MONOTONIC, {78415, 996874071}) = 0
clock_gettime(CLOCK_MONOTONIC, {78415, 996958071}) = 0
clock_gettime(CLOCK_MONOTONIC, {78415, 997044071}) = 0
clock_gettime(CLOCK_MONOTONIC, {78415, 997142071}) = 0
time([1292222226]) = 1292222226
close(20) = 0
clock_gettime(CLOCK_MONOTONIC, {78415, 997421071}) = 0
poll([{fd=19, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
write(19, "\352\0\0\0\3\n\t\t\t\t\tUPDATE vb_session\n\t\t\t"..., 238) = 238
read(19, "0\0\0\1\0\1\0\2\0\0\0(Rows matched: 1 Cha"..., 16384) = 52
poll([{fd=19, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
write(19, ":\0\0\0\3\n\t\tINSERT INTO vb_threadvie"..., 62) = 62
read(19, "\7\0\0\1\0\1\0\2\0\0\0", 16384) = 11
rt_sigaction(SIGPIPE, {0x1, [PIPE], SA_RESTORER|SA_RESTART, 0x3cef4302d0}, {0x1, [PIPE], SA_RESTORER|SA_RESTART, 0x3cef4302d0}, 8) = 0
poll([{fd=19, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
write(19, "\1\0\0\0\1", 5) = 5
shutdown(19, 2 /* send and receive */) = 0
close(19) = 0
munmap(0x2b227d4ac000, 585728) = 0
rt_sigaction(SIGPIPE, {0x1, [PIPE], SA_RESTORER|SA_RESTART, 0x3cef4302d0}, {0x1, [PIPE], SA_RESTORER|SA_RESTART, 0x3cef4302d0}, 8) = 0
write(1, "X-Powered-By: PHP/5.2.9", 23) = 23
write(1, "\r\n", 2) = 2
write(1, "Set-Cookie: vbet_language=af; Ma"..., 47) = 47
write(1, "\r\n", 2) = 2
write(1, "Set-Cookie: vbet_language=af; Ma"..., 47) = 47
write(1, "\r\n", 2) = 2
write(1, "X-Pingback: http://www.thecodeca"..., 59) = 59
write(1, "\r\n", 2) = 2
write(1, "Set-Cookie: tcclastvisit=1292222"..., 82) = 82
write(1, "\r\n", 2) = 2
write(1, "Set-Cookie: tcclastactivity=0; e"..., 76) = 76
write(1, "\r\n", 2) = 2
write(1, "Cache-Control: private", 22) = 22
write(1, "\r\n", 2) = 2
write(1, "Pragma: private", 15) = 15
write(1, "\r\n", 2) = 2
write(1, "X-UA-Compatible: IE=7", 21) = 21
write(1, "\r\n", 2) = 2
write(1, "Set-Cookie: vbet_sessionUsed=1; "..., 38) = 38
write(1, "\r\n", 2) = 2
write(1, "Set-Cookie: tccuserlgv=1; expire"..., 71) = 71
write(1, "\r\n", 2) = 2
write(1, "Set-Cookie: vbseo_loggedin=delet"..., 81) = 81
write(1, "\r\n", 2) = 2
write(1, "Content-type: text/html; charset"..., 38) = 38
write(1, "\r\n", 2) = 2
write(1, "Content-Encoding: gzip", 22) = 22
write(1, "\r\n", 2) = 2
write(1, "Content-Length: 19198", 21) = 21
write(1, "\r\n", 2) = 2
write(1, "\r\n", 2) = 2
write(1, "\37\213\10\0\0\0\0\0\0\377\355}\351r\33\307\222\356o1\302\357P\206\307&9\"\0\202\244("..., 19198) = 19198
setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={30, 0}}, NULL) = 0
rt_sigaction(SIGPROF, {0x5fae70, [PROF], SA_RESTORER|SA_RESTART, 0x3cef4302d0}, {0x5fae70, [PROF], SA_RESTORER|SA_RESTART, 0x3cef4302d0}, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [PROF], NULL, 8) = 0
fcntl(4, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=1}) = 0
fcntl(4, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=1}) = 0
brk(0x1439e000) = 0x1439e000
brk(0x1421e000) = 0x1421e000
munmap(0x2b227d73c000, 2101248) = 0
munmap(0x2b227d53b000, 2101248) = 0
munmap(0x2b227d42b000, 528384) = 0
munmap(0x2b227d22a000, 2101248) = 0
munmap(0x2b227d1a9000, 528384) = 0
munmap(0x2b227cfa8000, 2101248) = 0
setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
close(3) = 0
close(4) = 0
close(5) = 0
close(6) = 0
close(7) = 0
close(8) = 0
close(9) = 0
close(10) = 0
close(11) = 0
close(12) = 0
close(13) = 0
close(14) = 0
close(15) = 0
close(16) = 0
close(17) = 0
close(18) = 0
munmap(0x2b2270fa8000, 201326592) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
Process 6466 detached

mateuszr
13-12-10, 16:10
Il database crescerà quando si utilizza vBET. Ancora si prega di notare che non influenzerà la vostra generazione normali pagine (non tradotto), perché vBET utilizza le proprie tabelle per la cache - non aggiungere dati a tabelle vBulletin (solo lingua predefinita dell'utente nella tabella degli utenti, ma questa è piccola quantità di dati ). Non separiamo forum sulla lista per le sue dimensioni - è possibile controllare e rendere il vostro confronto proprio formato.

Si prega di notare che vBET è molto configurabile. Se si dispone di forum di grandi dimensioni e si ha paura di prestazioni si prega di iniziare con solo 2 lingue - l'originale e di alcuni altri. Quindi è possibile monitorare quattro prestazioni forum e aggiungere nuove lingue di volta in volta. vBET supporta 52 lingue (in prossima release verranno aggiunte più) e si può scegliere quale si desidera avere sul vostro forum. Alcuni dei nostri clienti non sono interessati ad avere tutti i possibili, alcuni dei nostri clienti che i limiti di prestazioni, alcuni dei nostri clienti utilizzano tutte le lingue.

Inoltre abbiamo la cache ospite che avrà grande quantità di vostro spazio su disco rigido, ma permetterà di dare risposte immediate senza alcuna query di database per la generazione - è perché per vBET gli ospiti possono memorizzare nella cache le risposte completo come file statici.

Quindi abbiamo molti miglioramenti delle prestazioni. Vi suggerisco di vedere i nostri suggerimenti prestazioni per maggiori dettagli:
vBET e le prestazioni (http://www.vbenterprisetranslator.com/forum/vbet4-general-discussions/408-vbet-performance.html)

Si prega di notare che il semplice confronto del numero di post e gli utenti su altri forum, non vi daranno abbastanza informazioni - non sarà possibile visualizzare le informazioni più importanti - come grandi sono le risorse per questo forum. Voglio dire il numero e la potenza della CPU, quantità di memoria, anche importanti possono essere specifica configurazione di Apache, MySQL, vBulletin. Una cosa è l'hardware, 2 ° è messa a punto di software per migliorare le prestazioni.

Mi auguro che queste informazioni aiuteranno:)

Simon Lloyd
13-12-10, 18:12
Vedo che hai il numero doppio messaggio anche qui!

Perché hai segnato questo RISOLTO prima ho avuto possibilità di replica?

Ho fatto andare vbet per un po ', le lingue sono stati accesi lentamente, io non uso la cache degli ospiti, il mio server è dotato di 8 CPU quad core e 2gb di ram PHP 5.2.9 MySQL Community 5, vBulletin 3.8.6.

Il mio problema segnalato NON è di spazio su disco, ha a che fare con la quantità di CPU che si sta usando E che il software non è uscita la sua chiamata in PHP correttamente che si traduce in [PHP]<defunct> on the server and until these drop off they occupy cpu time.

mateuszr
14-12-10, 09:30
Messaggi doppio - non era un problema, solo la mia connessione ISP sospeso e così è accaduto;]

Contrassegnati come RISOLTO - la correzione è stata fatta, mi dispiace per quello



Il mio problema segnalato non è spazio su disco, è a che fare con la quantità di CPU che sta usando
Che dire di questi link prestazioni suggerimenti mi hai nel post precedente? Ci sono diverse soluzioni per rendere il sistema meno carico.
Inoltre, vi suggerisco di attivare 'la cache ospite' - ha un notevole effetto per le prestazioni, soprattutto per il carico della CPU.
Se attivato, allora i risultati per gli ospiti sarà completamente memorizzato nella cache come esatta output HTML.
NOTA: per utilizzare questa opzione bisogna essere sicuri che il server avrà privilegi per creare file di cache nella directory vbet_guestcache e le sue sottodirectory (uso 'chmod 777-R vbet_guestcache').

Simon Lloyd
14-12-10, 11:44
Ho TUTTE le prestazioni modifiche già impostato, l'unico che non ho avuto set è stato ospite della cache, l'ho accesa con le vostre raccomandazioni, ma il mio spazio sulla mia macchina virtuale è di 50GB che 26GB è già utilizzato quindi potrebbe essere che ho a sua volta ospite della cache fuori per questo.

Comunque, al di là VBET è ancora uscita da un processo PHP sbagliato, in qualche modo, con conseguente [PHP]<defunct> do you have any suggestions or updated vbet files to cure this?

Simon Lloyd
14-12-10, 11:53
L'è al di sotto di una directory / usr / bin / php / home / thecodec / public_html / forumz / vbenterprisetranslator_seo.php che sta prendendo il 60% del tempo di cpu e non ci sono più molti di loro!

Processo di 26400 attaccato - interrompere per uscire
clock_gettime (CLOCK_MONOTONIC, {11988, 470791063}) = 0
poll ([{fd = 20, eventi = POLLIN | POLLPRI}], 1, 541) = 1 ([{fd = 20, revents = POLLIN}])
poll ([{fd = 20, eventi = POLLIN | POLLPRI}], 1, 0) = 1 ([{fd = 20, revents = POLLIN}])
recvfrom (20, "HTTP/1.1 200 OK \\ r \\ nCache-Control: "..., 16384, 0, NULL, NULL) = 3928
clock_gettime (CLOCK_MONOTONIC, {11988, 474643063}) = 0
clock_gettime (CLOCK_MONOTONIC, {11988, 474765063}) = 0
clock_gettime (CLOCK_MONOTONIC, {11988, 474844063}) = 0
clock_gettime (CLOCK_MONOTONIC, {11988, 474925063}) = 0
clock_gettime (CLOCK_MONOTONIC, {11988, 475011063}) = 0
clock_gettime (CLOCK_MONOTONIC, {11988, 475110063}) = 0
tempo ([1292323924]) = 1292323924
vicino (20) = 0
clock_gettime (CLOCK_MONOTONIC, {11988, 475378063}) = 0
poll ([{fd = 19, gli eventi = POLLIN | POLLPRI}], 1, 0) = 0 (Timeout)
scrivere (19, "\\ 204 \\ 26 \\ 0 \\ 0 \\ 3Inserire IGNORE INTO vb_vbent "..., 5768) = 5768
leggere (19 "0 \\ 0 \\ 0 \\ 1 \\ 0 \\ 27 \\ 0 \\ 2 \\ 0 \\ 0 \\ 0 (record: 64 duplicazione "..., 16384) = 52
poll ([{fd = 19, gli eventi = POLLIN | POLLPRI}], 1, 0) = 0 (Timeout)
scrivere (19 "~ \\ 27 \\ 0 \\ 0 \\ 3Inserire IGNORE INTO vb_vbent "..., 6018) = 6018
leggere (19 "/ \\ 0 \\ 0 \\ 1 \\ 0 \\ 17 \\ 0 \\ 2 \\ 0 \\ 0 \\ 0'Records: 18 duplicazione "..., 16384) = 51
poll ([{fd = 19, gli eventi = POLLIN | POLLPRI}], 1, 0) = 0 (Timeout)
scrivere (19, "\\ 36 \\ 20 \\ 0 \\ 0 \\ 3Inserire IN vb_vbenterprise "..., 4130) = 4130
leggere (19, "\\ 0 \\ 0 \\ 1 \\ 0 \\ 2 \\ 0 \\ 2 \\ 0 \\ 0 \\ 0 & Records: 2. Duplicat "..., 16384) = 50
BRK (0xa9d3000) = 0xa9d3000
BRK (0xaa53000) = 0xaa53000
BRK (0xa8d3000) = 0xa8d3000
BRK (0xa913000) = 0xa913000
BRK (0xa953000) = 0xa953000
poll ([{fd = 19, gli eventi = POLLIN | POLLPRI}], 1, 0) = 0 (Timeout)
scrivere (19, "\\ 354 \\ 0 \\ 0 \\ 0 \\ 3 \\ n \\ t \\ t \\ t \\ t \\ tUPDATE vb_session \\ n \\ t \\ t \\ t "..., 240) = 240
leggere (19 "0 \\ 0 \\ 0 \\ 1 \\ 0 \\ 1 \\ 0 \\ 2 \\ 0 \\ 0 \\ 0 (Righe trovati: 1 Cha "..., 16384) = 52
poll ([{fd = 19, gli eventi = POLLIN | POLLPRI}], 1, 0) = 0 (Timeout)
scrivere (19, "\\ 0 \\ 0 \\ 0 \\ 3 \\ n \\ t \\ tINSERT IN vb_threadvie "..., 63) = 63
leggere (19, "\\ 7 \\ 0 \\ 0 \\ 1 \\ 0 \\ 1 \\ 0 \\ 2 \\ 0 \\ 0 \\ 0", 16384) = 11
rt_sigaction (SIGPIPE, {0x1, [TUBO], SA_RESTORER | SA_RESTART, 0x3cef4302d0}, {0x1, [TUBO], SA_RESTORER | SA_RESTART, 0x3cef4302d0}, 8) = 0
poll ([{fd = 19, gli eventi = POLLIN | POLLPRI}], 1, 0) = 0 (Timeout)
scrivere (19, "\\ 1 \\ 0 \\ 0 \\ 0 \\ 1", 5) = 5
arresto (19, 2 / * inviare e ricevere * /) = 0
vicino (19) = 0
munmap (0x2aaafe3a8000, 585728) = 0
rt_sigaction (SIGPIPE, {0x1, [TUBO], SA_RESTORER | SA_RESTART, 0x3cef4302d0}, {0x1, [TUBO], SA_RESTORER | SA_RESTART, 0x3cef4302d0}, 8) = 0
write (1, "X-Powered-By: PHP/5.2.9", 23) = 23
write (1, "\\ r \\ n", 2) = 2
write (1, "Set-Cookie: vbet_language = Fa; Ma "..., 47) = 47
write (1, "\\ r \\ n", 2) = 2
write (1, "Set-Cookie: vbet_language = Fa; Ma "..., 47) = 47
write (1, "\\ r \\ n", 2) = 2
write (1, "X-Pingback: http://www.thecodeca "..., 59) = 59
write (1, "\\ r \\ n", 2) = 2
scrivere (1 ", Set-Cookie: tcclastvisit = 1292323 "..., 82) = 82
write (1, "\\ r \\ n", 2) = 2
write (1, "Set-Cookie: tcclastactivity = 0; e "..., 76) = 76
write (1, "\\ r \\ n", 2) = 2
write (1, "Cache-Control: private", 22) = 22
write (1, "\\ r \\ n", 2) = 2
scrivere (1 "Pragma: private",, 15) = 15
write (1, "\\ r \\ n", 2) = 2
write (1, "X-UA-Compatible: IE = 7", 21) = 21
write (1, "\\ r \\ n", 2) = 2
scrivere (1 ", Set-Cookie: vbet_sessionUsed = 1; "..., 38) = 38
write (1, "\\ r \\ n", 2) = 2
scrivere (1 ", Set-Cookie: tccuserlgv = 1; scadenza "..., 71) = 71
write (1, "\\ r \\ n", 2) = 2
scrivere (1 ", Set-Cookie: vbseo_loggedin = can "..., 81) = 81
write (1, "\\ r \\ n", 2) = 2
write (1, "Content-type: text / html; charset "..., 38) = 38
write (1, "\\ r \\ n", 2) = 2
write (1, "Content-Encoding: gzip", 22) = 22
write (1, "\\ r \\ n", 2) = 2
write (1, "Content-Length: 41315", 21) = 21
write (1, "\\ r \\ n", 2) = 2
write (1, "\\ r \\ n", 2) = 2
write (1, "\\ 37 \\ 213 \\ 10 \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ 377 \\ 354 \\ 275 [s [U \\ 2666 | \\ 235T \\ 361 \\ 37 e \\ 342 \\ RV6 \\ 266d \\ 311 \\ 347 "..., 41.315) = 41.315
setitimer (ITIMER_PROF, it_interval = {{0, 0}, it_value = {0, 0}}, NULL) = 0
setitimer (ITIMER_PROF, it_interval = {{0, 0}, it_value = {30, 0}}, NULL) = 0
rt_sigaction (SIGPROF, {0x5fae70, [PROF], SA_RESTORER | SA_RESTART, 0x3cef4302d0}, {0x5fae70, [PROF], SA_RESTORER | SA_RESTART, 0x3cef4302d0}, 8) = 0
rt_sigprocmask (SIG_UNBLOCK, [PROF], NULL, 8) = 0
fcntl (4, F_SETLKW, {type = F_WRLCK, da cui = SEEK_SET, start = 0, len = 1}) = 0
fcntl (4, F_SETLKW, {type = F_UNLCK, da cui = SEEK_SET, start = 0, len = 1}) = 0
BRK (0xa7d3000) = 0xa7d3000
BRK (0xa5d3000) = 0xa5d3000
munmap (0x2aaafe638000, 2.101.248) = 0
munmap (0x2aaafe437000, 2.101.248) = 0
munmap (0x2aaafe327000, 528384) = 0
munmap (0x2aaafe126000, 2.101.248) = 0
munmap (0x2aaafe0a5000, 528384) = 0
munmap (0x2aaafdea4000, 2.101.248) = 0
setitimer (ITIMER_PROF, it_interval = {{0, 0}, it_value = {0, 0}}, NULL) = 0
vicino (3) = 0
vicino (4) = 0
vicino (5) = 0
close (6) = 0
close (7) = 0
close (8) = 0
vicino (9) = 0
vicino (10) = 0
close (11) = 0
vicino (12) = 0
vicino (13) = 0
close (14) = 0
close (15) = 0
close (16) = 0
close (17) = 0
close (18) = 0
munmap (0x2aaaf1ea4000, 201326592) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
Processo di 26400 staccato

mateuszr
14-12-10, 14:11
Si prega di notare che l'output non mostra come vBET consuma la CPU, ma come tuo forum consuma tutta la CPU. Di controllare vedere che si continua a vedere / home / thebull / public_html / forum / vbenterpris anche quando vBET verrà disabilitato, perché la vostra. Htaccess è redirigere tutte le richieste nel forum (esclusi index.php) al nostro vbenterprisetranslator_seo.php front controller che definisce solo alcune variabili per vBSEO e comprende vbseo.php Così vbenterprisetranslator_seo.php agisce più come filtro per intercettare vbseo.php che è front controller. Se si rimuove vBET completamente, poi l'output vedrete che CPU intero viene prelevato da vbseo.php - quello che sarà, inoltre, non vero. Questa uscita è solo male interpretato.

Quindi questo non è l'utilizzo della CPU da vBET - questo è l'utilizzo della CPU da tutto il tuo forum

Inoltre tieni presente che per le pagine non tradotte vBET fa quasi nulla - è sufficiente aggiungere bandiere e analizza langtitle globale (solo se non vi è cosa da analizzare). Quindi, se l'utilizzo della CPU cresce dopo l'abilitazione vBET è perché avete ulteriore traffico di pagine tradotte. Quando pagina tradotta viene utilizzato poi vBET sono di tradurlo e non importa quanto ci consente di ottimizzare il nostro codice (quello che stiamo facendo tutto il tempo) sarà sempre qualcosa di costo. Ma ...

Ma ad essere onesti - non sempre. Perché ora avete la grande funzionalità di cache ospite che permette al vostro forum per generare risposte molto più veloce, anche per normali (non tradotto) le pagine del forum. Si prega di notare che questa funzionalità è ancora in fase beta, ma abbiamo già fatto molti aggiornamenti ci basandosi sul feedback dei nostri utenti. Quindi, se non si tenta di utilizzare in ultima release - si prega di provare - in ultima release abbiamo risolto molti problemi relativi alla cache cliente:)

Automatic Translations (Powered by Google, Microsoft®, Yandex, SDL Language Cloud, IBM Watson and Apertium):
AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Thanks to vBET 4.10.1 you can enjoy automatic translations