kikis Posted January 5, 2015 Share Posted January 5, 2015 After my upgrade from 1.4 to 1.6 my site is very slow. You can see here a web page test http://www.webpagetest.org/result/150105_RT_D34/1/details/ I contact with my hosting company They said me that I use it at limits http://prntscr.com/5op5g6 And they can see a strange call " http://www.musclebody.gr/undefined?1420447935507 " and that is 404. They told me that this is the reason of the low speed.I don't believe it ofcourse.Can you give me your opinion?And what is this undefined? Can I disable it? Link to comment Share on other sites More sharing options...
JPresta.com Posted January 5, 2015 Share Posted January 5, 2015 They are right in the way that the page is still loading until the 404 is returned. To analyse your site, enable profiling. Link to comment Share on other sites More sharing options...
kikis Posted January 6, 2015 Author Share Posted January 6, 2015 (edited) I did it but I cannot understand many things... :/ What exactly to see? Are theese usefull? Notice: unserialize() [function.unserialize]: Unexpected end of serialized data in /_______/httpdocs/classes/cache/CacheFs.php on line 70Notice: unserialize() [function.unserialize]: Error at offset 20288 of 105258 bytes in /________/httpdocs/classes/cache/CacheFs.php on line 70 . Load time: 10754 msYou'd better run your shop on a toaster Hook processing: 9525 ms / 22.51 Mb61 methods called in 36 modules Memory peak usage: 45.9 Mb Total cache size (in Cache class): 2.31 Mb DB type: DbPDO SQL Queries: 174 queries Time spent querying: 558 ms Included files: 216 Size of included files: 3.49 Mb Edited January 6, 2015 by kikis (see edit history) Link to comment Share on other sites More sharing options...
kikis Posted January 6, 2015 Author Share Posted January 6, 2015 I just refresh my browser and now there aren't the Notice: unserialize() [function.unserialize]: Also now has Load time: 4278 msYou'd better run your shop on a toaster What's going on? Link to comment Share on other sites More sharing options...
JPresta.com Posted January 6, 2015 Share Posted January 6, 2015 Maybe there was a bad cached class. Your "Hook processing" part seems to be slow, can show us the details? Link to comment Share on other sites More sharing options...
kikis Posted January 6, 2015 Author Share Posted January 6, 2015 (edited) Hook processing: 3673 ms / 23.16 Mb 61 methods called in 36 modules Hook Processing displayHome 4.18 Mb in 1717 ms displayTop 6.88 Mb in 1488 ms displayFooter 1.56 Mb in 210 ms displayHomeTab 0.14 Mb in 118 ms displayHeader 5.90 Mb in 63 ms displayTopColumn 0.10 Mb in 46 ms moduleRoutes 4.28 Mb in 21 ms displayNav 0.12 Mb in 11 ms actionObjectAddBefore 0.00 Mb in 0 ms actionObjectAddAfter 0.00 Mb in 0 ms DisplayOverrideTemplate 0.00 Mb in 0 ms displayHomeTabContent 0.00 Mb in 0 ms actionObjectConnectionAddBefore 0.00 Mb in 0 ms actionObjectConnectionAddAfter 0.00 Mb in 0 ms displayBanner 0.00 Mb in 0 ms footTab 0.00 Mb in 0 ms actionDispatcher 0.00 Mb in 0 ms actionFrontControllerSetMedia 0.00 Mb in 0 ms footerAdvt 0.00 Mb in 0 ms Edited January 6, 2015 by kikis (see edit history) Link to comment Share on other sites More sharing options...
kikis Posted January 6, 2015 Author Share Posted January 6, 2015 Execution Memory (Mb) Total (Mb) config 20.99 21.1 constructor 0.00 21.1 init 4.92 26.3 checkAccess 0.00 26.3 setMedia 0.34 26.5 postProcess 0.00 26.5 initHeader 0.01 26.5 initContent 17.50 44.4 initFooter 1.58 45.7 display 0.78 46.9 Link to comment Share on other sites More sharing options...
JPresta.com Posted January 6, 2015 Share Posted January 6, 2015 You may have a slow module in displayHome and displayTop. You should check modules attached to these hooks, try to disable module one by one and see which one is slow. Link to comment Share on other sites More sharing options...
kikis Posted January 6, 2015 Author Share Posted January 6, 2015 From admin panel -> Positions I can see that I have displayTop 15modules displayHeader 57modules displayFooter 14modulesI must delete the modules that I don't use from positions or to disable the modules from "modules" page? Link to comment Share on other sites More sharing options...
JPresta.com Posted January 6, 2015 Share Posted January 6, 2015 From admin panel -> Positions I can see that I have displayTop 15modules displayHeader 57modules displayFooter 14modules I must delete the modules that I don't use from positions or to disable the modules from "modules" page? No, just disable it. Try to guess which one it is (it's probably not a preinstalled prestashop module) Check in displayHome and displayTop. Link to comment Share on other sites More sharing options...
kikis Posted January 6, 2015 Author Share Posted January 6, 2015 I check everything..Still slow.. I unistalled completely many useless modules. Here are the only modules that I am using..But what else to disable? Theese modules are working displayHome 5 Πρόσθετα 1 editorial Κειμενογράφος αρχικής σελίδας - v2.5 Μια ενότητα επεξεργασίας κειμένου για την αρχική σας σελίδα. 3 blockomicronsocial Block social - v1.0 Allows you to add extra information about social networks 4 ganalytics Google Analytics - v2.0 Gain clear insights into important metrics about your customers, using Google Analytics 5 omicronCategories Stylish Category Tab on home page - v2.2 Add a block which enables Stylish Category Tab on home page displayHeader 30 Πρόσθετα A hook which allow you to do things in the header of each pages 1 blockmyaccount My Account block - v1.3 Displays a block with links relative to a user's account. 4 blockuserinfo User info block - v0.3 Adds a block that displays information about the customer. 6 homeslider Προβολή διαφανειών εικόνων για την αρχική σας σελίδα - v1.4 Προσθέτει ένα χώρο προβολής διαφανειών εικόνων στην αρχική σας σελίδα. 9 themeconfigurator Ρυθμιστής θέματος - v1.1 Ρυθμίστε τα κύρια στοιχεία του θέματός σας. 12 blockfeaturedfooter Footer Feature Product in Homepage - v1.0 Footer Featured product in Homepage. 14 omicron_themecontroller Omicron controller - v1.0 Theme Customizer 15 blockwishlist Wishlist block - v1.1 Adds a block containing the customer's wishlists. 17 blockomicronnewsletter Omicron Newsletter block - v1.5 Adds a block for newsletter subscription. 18 omicrontags Omicron Tags block - v1.1 Adds a block containing your product tags. 20 omicronsearch Omicron Search block - v1.8 Adds a block with a quick search field. 21 blockcart Καλάθι - v1.5 Adds a block containing the customer's shopping cart. 22 blockcontactinfos Ταμπλό στοιχείων επικοινωνίας - v1.1 Προσθέστε ένα block για να προσθέσετε πληροφορίες σχετικά με την επικοινωνία με το κατάστημα 23 blockcms Ταμπλό CMS - v2.0 Προσθέτει ένα ταμπλό με πολλούς συνδέσμους CMS. 24 socialsharing Κοινοποίηση - v1.2 Εμφανίζει τα κουμπιά κοινοποίησης για κοινωνική δικτύωση (Twitter, Facebook, Google+ και Pinterest) σε κάθε σελίδα προϊόντος. 25 blockcontact Ταμπλό επαφών - v1.3 Σας επιτρέπει να προσθέσετε επιπλέον πληροφορίες για την εξυπηρέτηση πελατών 26 fblogin Facebook Login - v1.2 With this module you can allow your customers to log in with their facebook account. 27 blockomicronsocial Block social - v1.0 Allows you to add extra information about social networks 28 ganalytics Google Analytics - v2.0 Gain clear insights into important metrics about your customers, using Google Analytics 29 editorial Κειμενογράφος αρχικής σελίδας - v2.5 Μια ενότητα επεξεργασίας κειμένου για την αρχική σας σελίδα. 30 productscategory Προιόντα στην ίδια κατηγορία - v1.6 Προσθέτει ένα block στην σελίδα του προϊόντος που εμφανίζει προϊόντα από την ίδια κατηγορία. Link to comment Share on other sites More sharing options...
kikis Posted January 6, 2015 Author Share Posted January 6, 2015 Load time: 8197 ms You'd better run your shop on a toaster Execution Load time (ms) config 201 constructor 0 init 96 checkAccess 0 setMedia 28 postProcess 0 initHeader 0 initContent 7243 initFooter 205 display 424 Hook processing: 7500 ms / 19.77 Mb 51 methods called in 27 modules Hook Processing displayHome 10.04 Mb in 6813 ms displayFooter 1.48 Mb in 205 ms displayHeader 6.11 Mb in 170 ms displayHomeTab 0.14 Mb in 150 ms displayTop 1.78 Mb in 124 ms displayTopColumn 0.10 Mb in 27 ms displayNav 0.12 Mb in 10 ms moduleRoutes 0.00 Mb in 0 ms footTab 0.00 Mb in 0 ms displayHomeTabContent 0.00 Mb in 0 ms displayBanner 0.00 Mb in 0 ms actionDispatcher 0.00 Mb in 0 ms footerAdvt 0.00 Mb in 0 ms actionFrontControllerSetMedia 0.00 Mb in 0 ms DisplayOverrideTemplate 0.00 Mb in 0 ms Memory peak usage: 43.4 Mb Execution Memory (Mb) Total (Mb) config 16.17 16.3 constructor 0.00 16.3 init 5.30 21.6 checkAccess 0.00 21.6 setMedia 0.34 21.9 postProcess 0.00 21.9 initHeader 0.01 21.9 initContent 18.42 40.9 initFooter 1.49 42.0 display 0.79 43.4 Total cache size (in Cache class): 1.92 Mb DB type: DbPDO SQL Queries: 454 queries Time spent querying: 493 ms Included files: 188 Size of included files: 3.13 Mb Globals (> 1 Ko only): 355 Ko _MODULES ≈ 202.3 Ko _LANG ≈ 132.2 Ko _SERVER ≈ 5.7 Ko HTTP_SERVER_VARS ≈ 5.7 Ko _MODULE ≈ 1.8 Ko Link to comment Share on other sites More sharing options...
JPresta.com Posted January 6, 2015 Share Posted January 6, 2015 displayHome is very slow. My guess is on module 'omicronCategories'; disable it and see if it's faster. Link to comment Share on other sites More sharing options...
kikis Posted January 6, 2015 Author Share Posted January 6, 2015 (edited) Jesus What the hell is going on :( Load time: 56947 msYou'd better run your shop on a toaster Hook processing: 48916 ms / 19.91 Mb50 methods called in 27 modules displayHome 10.39 Mb in 42847 ms Edited January 6, 2015 by kikis (see edit history) Link to comment Share on other sites More sharing options...
kikis Posted January 6, 2015 Author Share Posted January 6, 2015 joemartin you are right!! Load time: 1108 ms You'd better run your shop on a toaster Hook processing: 610 ms / 13.77 Mb 47 methods called in 26 modules Memory peak usage: 36.9 Mb With some refreshed it shows Notice: unserialize() [function.unserialize]: Error at offset 8181 of 8192 bytes in /var/www/vhosts/musclebody.gr/httpdocs/classes/cache/CacheFs.php on line 70 And is gettining hook prosecing 4sec!What's that?Also what can I do with Omicron Stylish category module?How can I fix it? Link to comment Share on other sites More sharing options...
JPresta.com Posted January 6, 2015 Share Posted January 6, 2015 With some refreshed it shows Notice: unserialize() [function.unserialize]: Error at offset 8181 of 8192 bytes in /var/www/vhosts/musclebody.gr/httpdocs/classes/cache/CacheFs.php on line 70 And is gettining hook prosecing 4sec! What's that? Personnaly I don't use filesystem cache on my website (I don't see difference). But you are not alone :-) Try to disable this cache and see if it's better. Also what can I do with Omicron Stylish category module? How can I fix it? You can ask the developer of this module to optimize it. You can also install an HTML cache module like mine. Link to comment Share on other sites More sharing options...
Recommended Posts