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".
  • Password | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    Apache Solr 4 x That article detailed a lot of manual steps involving downloading extracting setting permissions creating a startup script etc Tags Drupal Planet Drupal Apache Solr Authentication Password Solr Jetty Tomcat Contents Articles Read more about Configuring Apache Solr 3 6 for Drupal on Ubuntu 14 04 with password authentication 6 comments Add new comment Configuring Apache Solr 4 x for Drupal with password authentication Most of high traffic or complex Drupal sites use Apache Solr as the search engine It is much faster and more scaleable than Drupal s search module In this article we describe one way of many for having a working Apache Solr installation for use with Drupal 7 x on Ubunutu Server 12 04 LTS The technique described should work with Ubunut 14 04 LTS as well Tags Drupal Planet Drupal Apache Apache Solr Authentication Password Solr Jetty Tomcat Contents Articles Read more about Configuring Apache Solr 4 x for Drupal with password authentication 17 comments Add new comment Is your Drupal or WordPress site slow Is it suffering from server resources shortages Is it experiencing outages Contact us for Drupal and WordPress Performance Optimization and Tuning Consulting Contents Services Clients Testimonials News

    Original URL path: http://2bits.com/tags/password (2016-05-02)
    Open archived version from archive


  • Jetty | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    Apache Solr 4 x That article detailed a lot of manual steps involving downloading extracting setting permissions creating a startup script etc Tags Drupal Planet Drupal Apache Solr Authentication Password Solr Jetty Tomcat Contents Articles Read more about Configuring Apache Solr 3 6 for Drupal on Ubuntu 14 04 with password authentication 6 comments Add new comment Configuring Apache Solr 4 x for Drupal with password authentication Most of high traffic or complex Drupal sites use Apache Solr as the search engine It is much faster and more scaleable than Drupal s search module In this article we describe one way of many for having a working Apache Solr installation for use with Drupal 7 x on Ubunutu Server 12 04 LTS The technique described should work with Ubunut 14 04 LTS as well Tags Drupal Planet Drupal Apache Apache Solr Authentication Password Solr Jetty Tomcat Contents Articles Read more about Configuring Apache Solr 4 x for Drupal with password authentication 17 comments Add new comment Is your Drupal or WordPress site slow Is it suffering from server resources shortages Is it experiencing outages Contact us for Drupal and WordPress Performance Optimization and Tuning Consulting Contents Services Clients Testimonials News

    Original URL path: http://2bits.com/tags/jetty (2016-05-02)
    Open archived version from archive

  • Tomcat | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    Apache Solr 4 x That article detailed a lot of manual steps involving downloading extracting setting permissions creating a startup script etc Tags Drupal Planet Drupal Apache Solr Authentication Password Solr Jetty Tomcat Contents Articles Read more about Configuring Apache Solr 3 6 for Drupal on Ubuntu 14 04 with password authentication 6 comments Add new comment Configuring Apache Solr 4 x for Drupal with password authentication Most of high traffic or complex Drupal sites use Apache Solr as the search engine It is much faster and more scaleable than Drupal s search module In this article we describe one way of many for having a working Apache Solr installation for use with Drupal 7 x on Ubunutu Server 12 04 LTS The technique described should work with Ubunut 14 04 LTS as well Tags Drupal Planet Drupal Apache Apache Solr Authentication Password Solr Jetty Tomcat Contents Articles Read more about Configuring Apache Solr 4 x for Drupal with password authentication 17 comments Add new comment Is your Drupal or WordPress site slow Is it suffering from server resources shortages Is it experiencing outages Contact us for Drupal and WordPress Performance Optimization and Tuning Consulting Contents Services Clients Testimonials News

    Original URL path: http://2bits.com/tags/tomcat (2016-05-02)
    Open archived version from archive

  • Articles | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    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 Dedicated Servers Cloud Virtuozzo Xen VPS Contents Articles Read more about Common Issues and Solutions for Dealing with Cloud Computing and VPS performance issues for Drupal 6 comments Add new comment Installing Varnish 3 x on Ubuntu Server 12 04 LTS and using Munin to monitor it Ubuntu Server 12 04 LTS finally provides a stable long term support server distro that has a recent version of Varnish in its repositories Trouble is the repository provided package of Varnish has some issues Specifically the command line tools such as varnishhist varnishstat etc do not report anything Therefore one cannot know the hit miss rates hits per second or other useful information Moreover monitoring Varnish using Munin for such statistics does not work either There are two ways you can overcome this both are described below Tags Drupal Planet Ubuntu Varnish Monitoring Munin Contents Articles

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

  • Articles | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    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 Tags Drupal Planet PHP memcache APC memcached Contents Articles Read more about Drupal site excessive memory usage traced to APC and php5 memcached 12 comments Add new comment Presentation HUGE A Drupal site with 381 modules 174GB MySQL database and 200 million row tables Here are the slides from my Drupal Camp Toronto 2012 session The site is ScienceScape org a repository of scientific research going back to the 19th century down to the latest biotechnology and cancer release Update You can watch a video of the presentation on Vimeo Tags Drupal Planet MySQL Mydumper DrupalCamp Toronto Huge ScienceScape SSD Contents Articles Read more about Presentation HUGE A Drupal site with 381 modules 174GB MySQL database and 200 million row tables 10 comments Add new comment Memory usage revisited when the Open Buffet is not to blame rather Views We have written before about Drupal Memory usage by modules and the Open Buffet binge syndrome But this time it was different Modules were not to blame While inspecting a site that had several performance problems for a client we noticed

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

  • Articles | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    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 Podcast Khalid Baheyeldin on Drupal Performance Khalid of 2bits com Inc was interviewed by Modules Unraveled on Drupal Performance Tags Drupal Drupal Performance Contents Articles Read more about Podcast Khalid Baheyeldin on Drupal Performance 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 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 Remember that the CAPTCHA module disables page caching By design the Drupal CAPTCHA module disables page caching for pages it is enabled on So if you enable CAPTCHA for user login and or registration forms those pages will not be cached This is often acceptable However if you enable CAPTCHA for comments and have the comment form visible at the bottom of each node then a big portion of your site

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

  • Articles | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    for the search module ping module to notify remote sites of new content fetch new release information from drupal org poll other sites for RSS feeds and more Various contributed modules use this for various purposes such as mailing out newsletters cleaning up logs synchronizing content with other servers sites and much more Tags Drupal Planet Drupal Performance Elysia cron cron hook cron Contents Articles Read more about Improving the performance of Drupal s cron by using the Elysia cron module 10 comments Add new comment Drupal on a dedicated servers vs Amazon AWS EC2 With the Cloud being in vogue currently we see a lot of clients asking for cloud solutions mostly Amazon AWS Sadly this is normally done without really doing a proper evaluation into whether the cost is reasonable or the technology is suitable for their specific needs Amazon AWS provides some unique and compelling features Among those are instant provisioning of virtual servers billing for used resources only ability to provision more instances on demand a wide variety of instance types and much more Tags Drupal Planet Drupal Performance Dedicated Servers Amazon AWS EC2 ELB Contents Articles Read more about Drupal on a dedicated servers vs Amazon AWS EC2 8 comments Add new comment Reducing the size and I O load of Apache s web server log files Apache and all other web servers have a mechanism to write an access log recording every HTTP access to the server The information that is logged is valuable and includes things like the IP address of the user making the request the date and time the size of the request in bytes the return code from the HTTP protocol the request s URI the referer and the browser operating system that the user is using Tags Drupal Planet Drupal Performance Apache Disk I O Contents Articles Read more about Reducing the size and I O load of Apache s web server log files 12 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 Various ways of running PHP 5 2 on Ubuntu 10 04 Lucid Lynx The latest Long Term Support LTS release from Ubuntu has been with us for a bit over a month now and I love it so far on my laptop This is Lucid Lynx 10 04 and will be supported until

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

  • Articles | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    it can be of great assistance to users navigating your site Contents Articles Read more about Quicktabs can sure use more caching 4 comments Add new comment Presentation Linux toolbox for monitoring and performance This is a presentation done on November 2nd 2009 for the Kitchener Waterloo Linux Users Group on Linux toolbox for monitoring and performance Many tools are discussed including top htop atop vmstat netstat ntop vnstat iostat strace systemtap oprofile apachetop MySQL processlist Munin Awstats and Google Analytics Contents Articles Read more about Presentation Linux toolbox for monitoring and performance 2 comments Add new comment Presentation Free Software and Open Source Symposium FSOSS Open Source for Fun and Profit These are the slides from a talk done at the Free Software and Open Source Symposium FSOSS at Seneca College in Toronto The attendance was overwhelming with several people standing at the back of the room The talk is titled Open Source for Fun and Profit making a career out of FOSS and draws heavily from Khalid s experiences in the Drupal community Contents Articles Read more about Presentation Free Software and Open Source Symposium FSOSS Open Source for Fun and Profit Add new comment Presentation Ontario Linux Fest 2009 The LAMP Stack Linux Apache MySQL PHP Python Perl Attached are the slides from the presentation done at Ontario Linux Fest 2009 on October 24th 2009 It is an Introduction to the LAMP stack Contents Articles Read more about Presentation Ontario Linux Fest 2009 The LAMP Stack Linux Apache MySQL PHP Python Perl Add new comment Simple previous next navigation by node title We have posted before on how to display previous next thumbnails for image nodes We also have a module that is basically a Previous Next API for high volume high performance sites But sometimes you need a simpler solution for regular nodes just using the node title and a link to it This article explains how to achieve that for Drupal 6 in one simple function and a few changes to one tpl php file First we start off with the code that does the heavy lifting In your theme s template php add the first function from the attached file By default it provides paging for blog posts only You can change that to another type of node or multiple types The code is fast since it uses the nid as an index So if you use this on large sites it would not slow them down Then in your node tpl php or node TYPE tpl php add the second snippet in the attached file This provides calls to the next previous node with hyperlinked titles For the styling add the CSS from last snippet in the attached file Contents Articles Read more about Simple previous next navigation by node title 5 comments Add new comment Presentation The Apache Web Server at the KW Linux Users Group On Monday Sept 14th Khalid presented on the Apache Web Server at the Kitchener Waterloo Linux

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



  •