archive-com.com » COM » 2 » 2BITS.COM

Total: 372

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • Drupal | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    been suffering from slow downs that were not there before Upon investigating the history of resource utilization we found that memory usage has increased and at the same time the load average has increased as well To cut a long story short we found out that initially the site had neither dblog nor syslog modules were enabled and they were enabled before the issues started They started when syslog was enabled Tags Drupal Planet Drupal syslog Contents Articles Read more about Avoid excessive disk writes by avoiding PHP errors in your code 5 comments Add new comment Presentation Drupal Camp Toronto 2011 Web Site Performance Optimization and Scalability Together with Alan Dixon of Black Fly Solutions Khalid Baheyeldin of 2bits com Inc gave a presentation on Web Site Performance Optimization and Scalability at Drupal Camp 2011 The slides from the presentation are attached below Tags Drupal Planet Drupal Drupal Performance Contents Articles Read more about Presentation Drupal Camp Toronto 2011 Web Site Performance Optimization and Scalability 2 comments Add new comment Reducing server resource utilization for busy sites by implementing fast 404s in Drupal One of the things that a default Drupal installation does is that it handles 404s for static files within Drupal itself In other words a 404 for a css or jpg file causes a full Drupal bootstrap This is not necessary and wastes resources on a site that gets lots of 404s lots of code is executed many database queries are performed only to return a 404 for a static file Tags Drupal Planet 404 Drupal Performance Drupal Performance Server Resources Contents Articles Read more about Reducing server resource utilization for busy sites by implementing fast 404s in Drupal 12 comments Add new comment Drupal Server Installation Configuration and Tuning In order for your server to

    Original URL path: http://2bits.com/tags/drupal?page=1 (2016-05-02)
    Open archived version from archive


  • Drupal Planet | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    Contents Articles Read more about Node creation and editing slow in Internet Explorer Here is a solution Add new comment Correct Client IP Address with a Reverse Proxy or Content Delivery Network CDN Using a Reverse Proxy and or a Content Delivery Network CDN has become common practice for Drupal and other Content Management Systems One inconvenient aspect of this is that your web server no longer gets the correct IP address and neither does your application The IP address is that of the machine that the reverse proxy is running on In Drupal there is code in core that tries to work around this by looking up the IP address in the HTTP header HTTP X FORWARDED FOR or a custom header that you can set Tags Drupal Planet Apache Varnish Reverse Proxy CDN CloudFlare Contents Articles Read more about Correct Client IP Address with a Reverse Proxy or Content Delivery Network CDN Add new comment Beware when Drupal Pressflow displays messages for anonymous users We have mentioned before that both Pressflow 6 x and Drupal 7 x but not core Drupal 6 x disable page caching when a session is created for an anonymous user An extreme case of this happened recently because of a perfect storm Symptoms The client sends a newsletter to site users be they who have accounts on the site or others who just entered their email to get the newsletter Tags Drupal Planet Pressflow Varnish Sessions Anonymous Contents Articles Read more about Beware when Drupal Pressflow displays messages for anonymous users 1 comment Add new comment High server load because of repeating queries too many times One of the suboptimal techniques that developers often use is a query that retrieves the entire content of a table without any conditions or filters For example SELECT FROM table name ORDER BY column name This is acceptable if there are not too many rows in the table and there is only one call per page view to that function However things start to get out of control when developers do not take into account the frequency of these calls Here is an example to illustrate the problem Tags Drupal Planet Drupal Performance MySQL Contents Articles Read more about High server load because of repeating queries too many times 1 comment Add new comment Common Issues and Solutions for Dealing with Cloud Computing and VPS performance issues for Drupal The bulk of Drupal hosting for clients that we deal with is on virtual servers whether they are marketed as cloud or not Many eventually have to move to dedicated servers because increased traffic or continually adding features that increase complexity and bloat But there are often common issues that we see repeatedly that have solutions which can prolong the life of your current site s infrastructure We assume that your staff or your hosting provider have full access to the virtual servers as well as the physical servers that run on them Tags Drupal Planet Drupal Performance

    Original URL path: http://2bits.com/tags/drupal-planet?page=1 (2016-05-02)
    Open archived version from archive

  • Drupal Planet | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    peril Poor Performance In the Drupal community we always recommend using the Drupal API and best practices for development management and deployment This is for many reasons including modularity security and maintainability But it is also for performance that you need to stick to these guidelines refined for many years by so many in the community Tags Drupal Planet Drupal Drupal Performance Page Cache Views Caching API Theme Contents Articles Read more about Abuse Drupal Best Practices at your own peril Poor Performance 1 comment Add new comment Beware of Drupal modules that disable the page cache When doing performance assessment for large and complex sites to assess why they are not fast or scalable we often run into cases where modules intentionally disable the Drupal page cache Depending on how often it happens and for which pages disabling the page cache can negatively impact the site s performance be that in scalability or speed of serving pages How to inspect code for page cache disabling Tags Drupal Planet CAPTCHA Page Cache Caching Invite Flag Biblio Contents Articles Read more about Beware of Drupal modules that disable the page cache 14 comments Add new comment Solving High CPU usage and reducing page generation times due to Skinr module While doing a Drupal Performance Assessment for a clients Drupal 6 x site recently we found an odd problem Among other things page generation times was high and this was due to the function skinr module skinr preprocess was being called 190 times for each page load Tags Drupal Planet Skinr CPU Contents Articles Read more about Solving High CPU usage and reducing page generation times due to Skinr module Add new comment Admin Menu module Popular yet occasionally problematic We encounter this problem a lot the extremely popular and oft used Admin Menu module causes performance problems Here is an example from a site we recently did a Drupal performance assessment for Executed 3 169 queries in 584 11 milliseconds Page execution time was 4 330 86 ms As you can see the number of queries per request is horrendous and the site is a resource hog if left in that state Tags Drupal Planet Admin Menu Contents Articles Read more about Admin Menu module Popular yet occasionally problematic 14 comments Add new comment Drupal site excessive memory usage traced to APC and php5 memcached We were recently troubleshooting a client site running Drupal 7 x and main complaint was high memory usage on all the site s pages We were able to diagnose and solve two main causes that range from the common to unusual This is a Drupal 7 Commerce site with 173 modules and 3 themes enabled Apache Solr is used for search and there is custom code to talk over the network to a non Drupal backend server The site runs on a Debian Squeeze Xen VPS For most of the site s pages the client was seeing high memory usage as follows Problem high memory usage

    Original URL path: http://2bits.com/tags/drupal-planet?page=2 (2016-05-02)
    Open archived version from archive

  • Drupal Planet | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    to experience switches from the master to the geographically separate slave server as frequently as twice a week The site is an entertainment news site and its articles get to Google News on occasions The symptoms was increased load on the server a sudden influx of traffic causing over 800 simultaneous connections all in the ESTABLISHED state Tags Drupal Planet Performance Drupal Performance Botnet Browser Signature Contents Articles Read more about Botnet hammering web site causing outages 7 comments Add new comment Overcoming long Views rendering time on Drupal sites A client contacted us to assist them in finding a solution for slow page times for their site All the pages of the site were slow and taking 2 9 to 3 3 seconds Upon investigation we found that one view was responsible for most of that time However the query execution itself was fast around 11 ms But the views rendering time was obscenely high 2 603 48 ms So when editing the view you would see this at the bottom Query build time 2 07 ms Query execute time 11 32 ms View render time 2 603 48 ms Tags Drupal Planet Views Caching Contents Articles Read more about Overcoming long Views rendering time on Drupal sites 9 comments Add new comment Google Crawler hitting your site too aggressively If your Drupal site suffers occasional slow downs or outages check if crawlers are hitting your site too hard We ve seen several clients complain and upon investigation we found that the culprit is Google s own crawler The tell tale sign is that you will see lots of queries executing with the LIMIT clause having high numbers Depending on your site s specifics these queries would be slow queries too This means that there are crawlers that accessing very old content hundreds of pages back Here is an example from a recent client Tags Drupal Planet Crawler Google Contents Articles Read more about Google Crawler hitting your site too aggressively 2 comments Add new comment Avoid excessive disk writes by avoiding PHP errors in your code Recently a client complained that their site has been suffering from slow downs that were not there before Upon investigating the history of resource utilization we found that memory usage has increased and at the same time the load average has increased as well To cut a long story short we found out that initially the site had neither dblog nor syslog modules were enabled and they were enabled before the issues started They started when syslog was enabled Tags Drupal Planet Drupal syslog Contents Articles Read more about Avoid excessive disk writes by avoiding PHP errors in your code 5 comments Add new comment Presentation Drupal Camp Toronto 2011 Web Site Performance Optimization and Scalability Together with Alan Dixon of Black Fly Solutions Khalid Baheyeldin of 2bits com Inc gave a presentation on Web Site Performance Optimization and Scalability at Drupal Camp 2011 The slides from the presentation are attached below

    Original URL path: http://2bits.com/tags/drupal-planet?page=3 (2016-05-02)
    Open archived version from archive



  •