PDA

View Full Version : Solved CPU usuge is rediculous!



Taurus
23-08-10, 14:58
Look at this:

11796 thebull 15 0 84476 35m 7564 S 54.8 1.7 1:28.29 lsphp5: /home/thebull/public_html/forums/vbenterpris
15670 thebull 16 0 77932 29m 7708 S 54.5 1.4 3:32.79 lsphp5: /home/thebull/public_html/forums/vbenterpris
22166 thebull 15 0 77860 29m 7752 R 52.8 1.4 4:48.72 lsphp5: /home/thebull/public_html/forums/vbenterpris
11785 thebull 15 0 82848 34m 7412 R 45.5 1.7 1:30.79 lsphp5: /home/thebull/public_html/forums/index.php
22033 thebull 15 0 81080 32m 7888 R 44.5 1.6 4:27.43 lsphp5: /home/thebull/public_html/forums/vbenterpris
15584 thebull 16 0 71080 22m 7648 S 43.8 1.1 1:20.93 lsphp5: /home/thebull/public_html/forums/vbenterpris
15588 thebull 16 0 82476 33m 7424 R 42.5 1.6 1:16.57 lsphp5: /home/thebull/public_html/forums/vbenterpris
11776 thebull 16 0 85312 36m 7644 S 41.8 1.8 1:19.96 lsphp5: /home/thebull/public_html/forums/vbenterpris
30114 thebull 15 0 90276 41m 7612 S 33.9 2.0 4:24.62 lsphp5: /home/thebull/public_html/forums/vbenterpris
12183 thebull 15 0 87864 39m 7772 S 29.9 1.9 3:46.36 lsphp5: /home/thebull/public_html/forums/vbenterpris

This VBET is consuming my CPU!

vBET
24-08-10, 05:02
Please note that your output doesn't show how vBET consumes your CPU, but how your whole forum consumes your CPU. You check see that you will still see /home/thebull/public_html/forums/vbenterpris even when vBET will be disabled, because your .htaccess is redirecting all forum requests (excluding index.php) to our front controller vbenterprisetranslator_seo.php which only sets some variables for vBSEO and includes vbseo.php So vbenterprisetranslator_seo.php acts more like intercepting filter for vbseo.php which is front controller. If you remove vBET completely, then in your output you will see that whole CPU is taken by vbseo.php - what will be also not true. This output is just misinterpreted.

So this is not CPU usage by vBET - this is CPU usage by whole your forum :)

Also please note that for not translated pages vBET does almost nothing - just add flags and parses langtitle globally (only if there is what to parse). So if your CPU usage grows after enabling vBET it is because you have additional traffic to translated pages. When translated page is used then vBET have to translate it and no matter how we will optimize our code (what we are doing all the time) it will always cost something. But...

But to be honest - not always. Because now you have great functionality of Guest Cache which allows your forum to generate responses much faster, even for normal (not translated) forum pages. Please note that this functionality is still in BETA state, but we already made there lot of updates basing on our users feedback. So if you didn't try to use it in last release - please try it - in last release we solved many issues related to Guest Cache :)

AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Translated to other languages thanks to vBET Translator 4.10.1