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".
  • Quicktabs can sure use more caching | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    News FAQ Payments Site Map Navigation Payment Recent content Do you use any of our Drupal modules Did you find our Drupal WordPress and LAMP performance articles informative Follow us on Twitter 2bits for tips and tricks on Drupal and WordPress Performance Contact us for Drupal and WordPress Performance Optimization and Tuning Consulting In Depth Articles Client Testimonials Developing tracing and debugging Drupal Drupal Performance Tuning and Optimization for large web sites PHP op code caches accelerators Drupal large site case study Abuse Drupal Best Practices at your own peril Poor Performance Admin Menu module Popular yet occasionally problematic Another botnet spamming Drupal web sites causing performance issues Apache 2 and PHP5 on Ubuntu Feisty bloated Apache with fcgid acceptable performance and better resource utilization Avoid excessive disk writes by avoiding PHP errors in your code Benchmarking APC vs eAccelerator using Drupal Benchmarking Drupal 5 x vs 6 x which one is faster Benchmarking Drupal from the shell command line Benchmarking Drupal with PHP op code caches APC eAccelerator and XCache compared Benchmarking PostgreSQL vs MySQL performance using Drupal 5 x Benchmarking Zend Server Community Edition with Drupal Benchmarking strings overrides vs locale module Beware of Drupal modules that disable the page cache Beware when Drupal Pressflow displays messages for anonymous users Botnet hammering web site causing outages Bottleneck Replacing taxonomy term count nodes in taxonomy dhtml Bypassing Drupal core Node Access table joins to avoid outage caused by slow queries Can a Drupal web site handle a million page views a day Case study Views Quicktabs and template php Common Issues and Solutions for Dealing with Cloud Computing and VPS performance issues for Drupal Configuring Apache Solr 3 6 for Drupal on Ubuntu 14 04 with password authentication Configuring Apache Solr 4 x for Drupal with password authentication Configuring Drupal with multiple bins for memcached Correct Client IP Address with a Reverse Proxy or Content Delivery Network CDN Do not configure the Service Links module with TinyURL com Drupal 7 x and Pressflow pitfalls can reduce your site s performance Drupal core caching and contributed content caching modules Drupal not saving admin pages with large number of input fields Drupal on a dedicated servers vs Amazon AWS EC2 Drupal performance tuning and optimization userpoints seminar at Open Craft Drupal site excessive memory usage traced to APC and php5 memcached Examples for Drupal custom caching Adding a cache timestamp to cached pages and HTTP headers Fast Parallel MySQL Backups and Imports with Mydumper Free your content of PHP Moving PHP code out of blocks views and nodes Google Crawler hitting your site too aggressively High PHP execution times for Drupal and tuning APC for include once performance High Performance Drupal with Apache MPM Worker Threaded Server and PHP FPM High server load because of repeating queries too many times Hosting Virtualization Virtuozzo OpenVZ vs Xen which is best How Drupal s node access table can negatively impact site performance How Google and Bing crawlers were confused by quicktabs How relying

    Original URL path: http://2bits.com/articles/quicktabs-can-sure-use-more-caching.html (2016-05-02)
    Open archived version from archive

  • Reduce your server's resource usage by moving MySQL temporary directory to tmpfs | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    or other settings This scenario is very common in Drupal due to fields separate from the parent entities So most slow queries cannot be improved by tweaking buffers reply Thats perfectly fine The Submitted by Georg Wächter not verified on Mon 2013 04 01 13 22 Thats perfectly fine The point is not to prevent temporary tables but to let MySql create them in memory and not on hard disk reply The problem with the built in Submitted by Kenny not verified on Mon 2014 03 24 11 09 The problem with the built in memory tables is that they as far as I know don t work with e g BLOB fields These are always handled in MyISAM tables and thus written to disk reply Caching Submitted by D not verified on Tue 2013 03 19 11 21 Would this technique be beneficial for sites that are already running behind a caching proxy such as Varnish reply Depends Submitted by Khalid on Tue 2013 03 19 11 31 Depends on the site s specific situation If you are not seeing lots of slow queries being logged or high disk contention then no need to do it reply Also bear in mind that tmpfs Submitted by Owen Barton not verified on Tue 2013 03 19 14 00 Also bear in mind that tmpfs is not quite the same as a RAM disk it will use RAM if available but if the size of the disk exceeds available RAM which may be never or almost always depending on your typical temporary table size and what RAM you leave free after setting the InnoDB buffer pool it will also use disk based swap for storage See Tmpfs for more details reply Yes Submitted by Khalid on Tue 2013 03 19 15 09 Yes which is fine rather than running out of space on the temporary directory But the improvement in resource usage is remarkable as evidenced in the graphs reply I see what you mean Submitted by Khalid on Thu 2013 03 21 12 55 I see what you mean now Owen I started out trying to create the older style RAM Disk formatted as ext2 But the default sizes were too small 16MB Then I upgraded from 10 04 or was it 8 04 to 12 04 and noticed that there is already a tmpfs large enough to use without the hassle to create it from scratch reply start Job failed to start Submitted by Sean not verified on Thu 2013 03 21 10 19 Ubuntu 12 04 anyone getting start Job failed to start other than me MySQL doesn t seem to like the new directory Thanks reply Check the logs Submitted by Khalid on Thu 2013 03 21 11 28 Check var log upstart mysql log It will have some more specific info in it reply I got the same error it Submitted by CodeMonkey not verified on Tue 2013 03 26 12 09 I got the same error it turned out to be AppArmor and this fixed it for me http askubuntu com questions 175820 mysql doesnt update due to error in apparmor profile reply Apparmor Submitted by Khalid on Tue 2013 03 26 12 18 Yes I remember something like that then editing the file etc apparmor d usr sbin mysqld and adding the following to it run mysqltmp rwk But then reverted to using run mysqld We always disable apparmor since it is more of a pain than it is worth reply Got it working with Apparmor Submitted by Elijah Lynn not verified on Fri 2014 05 02 15 19 I also got the message start Job failed to start when following the instructions I am running Ubuntu 13 04 I ran sudo apparmor status to see if Apparmor was loading any policies for MySQL and it was I added the below to etc apparmor d local usr sbin mysqld Site specific additions and overrides for usr sbin mysqld For more details please see etc apparmor d local README run mysqld r run mysqld rwk Then I ran sudo service apparmor reload and the above instructions by Khalid worked Woohoo now I have a working MySQL tmp directory thanks Khalid Source https blogs oracle com jsmyth entry apparmor and mysql reply Thanks Submitted by Irish not verified on Fri 2013 04 26 14 06 A colleague linked me to your resource Thanks for the information reply Not working Submitted by Abhay Singh not verified on Thu 2014 02 20 02 39 Hi I followed all steps mentioned still mysql query is copying tmp table to disk Here are all that i did id mysql uid 101 mysql gid 104 mysql groups 104 mysql cat etc fstab grep tmpfs tmpfs data mysql tmp tmpfs rw gid 104 uid 101 size 10g nr inodes 10k mode 0700 1 2 mount a df kh grep tmpfs tmpfs 10G 0 10G 0 data mysql tmp mysql show variables like tmpdir Variable name Value slave load tmpdir data mysql tmp tmpdir data mysql tmp ls l grep tmp drwx 2 mysql mysql 40 Feb 20 12 54 mysql tmp etc init d mysql restart Shutting down MySQL OK Starting MySQL OK RAM Size 16GB top head grep Mem Mem 16436552k total 16217048k used 219504k free 46248k buffers free total used free shared buffers cached Mem 16436552 16219072 217480 0 46796 15138292 buffers cache 1033984 15402568 Swap 16779852 910012 15869840 Table size on disk ls lh db TRN ACT MY rw rw 1 mysql mysql 5 6G Dec 14 12 25 db TRN ACT MYD rw rw 1 mysql mysql 1 0K Dec 14 12 25 db TRN ACT MYI But still query uses disk mysqladmin proc i2 grep Q 2 root localhost mpulse Query 165 Copying to tmp table on disk select TASA TRANC DATE TASA OPERATOR CIRCLE ID TASA PRODUCT ID TASA PLATFORM ID TASA STATUS ID Kindly help am i doing it properly reply The query and table definition

    Original URL path: http://2bits.com/articles/reduce-your-servers-resource-usage-moving-mysql-temporary-directory-ram-disk.html (2016-05-02)
    Open archived version from archive

  • Reducing server load by eliminating anonymous sessions for Drupal 6.x | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    reading and watching the issue queue I get the feeling that memcache for session is not very mature or production worthy yet By the way the number of rows in the sessions table for that client is now a mere 1 117 A far cry from what it was before Here is a comparable client that does not yet need the above module Total sessions 1 104 499 Authenticated 6 319 Anonymous 1 098 184 My initial concern about storing all that in memcache was unfounded SELECT SUM LENGTH CONCAT uid sid hostname timestamp cache session AS size FROM sessions 67198952 So 70MB not much Can be stored for sure reply Very nice funny how a side Submitted by Visitor not verified on Mon 2009 06 08 13 50 Very nice funny how a side effect of one solution avoiding cookies can have such a useful application I see no reason not to put this on d d o reply Now on d o Submitted by Visitor not verified on Mon 2009 06 08 14 00 It is now on drupal org reply 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 FAQ Payments Site Map Navigation Payment Recent content Do you use any of our Drupal modules Did you find our Drupal WordPress and LAMP performance articles informative Follow us on Twitter 2bits for tips and tricks on Drupal and WordPress Performance Contact us for Drupal and WordPress Performance Optimization and Tuning Consulting In Depth Articles Client Testimonials Developing tracing and debugging Drupal Drupal Performance Tuning and Optimization for large web sites PHP op code caches accelerators Drupal large site case study Abuse Drupal Best Practices at your own peril Poor Performance Admin Menu module Popular yet occasionally problematic Another botnet spamming Drupal web sites causing performance issues Apache 2 and PHP5 on Ubuntu Feisty bloated Apache with fcgid acceptable performance and better resource utilization Avoid excessive disk writes by avoiding PHP errors in your code Benchmarking APC vs eAccelerator using Drupal Benchmarking Drupal 5 x vs 6 x which one is faster Benchmarking Drupal from the shell command line Benchmarking Drupal with PHP op code caches APC eAccelerator and XCache compared Benchmarking PostgreSQL vs MySQL performance using Drupal 5 x Benchmarking Zend Server Community Edition with Drupal Benchmarking strings overrides vs locale module Beware of Drupal modules that disable the page cache Beware when Drupal Pressflow displays messages for anonymous users Botnet hammering web site causing outages Bottleneck Replacing taxonomy term count nodes in taxonomy dhtml Bypassing Drupal core Node Access table joins to avoid outage caused by slow queries Can a Drupal web site handle a million page views a day Case study Views Quicktabs and template php Common Issues and Solutions for Dealing with Cloud Computing and VPS performance issues for Drupal Configuring Apache Solr 3 6 for Drupal on Ubuntu

    Original URL path: http://2bits.com/articles/reducing-server-load-eliminating-anonymous-sessions-drupal-6x.html (2016-05-02)
    Open archived version from archive

  • Reducing server resource utilization for busy sites by implementing fast 404s in Drupal | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    not affect it in any way since it gets triggered only if the static file does not exist If it exists it will be served directly by the web server itself You can easily adjust the code to allow sitemap xml and rss xml to go through Drupal but return 404s for other xml files reply Will break some modules Submitted by Visitor not verified on Thu 2010 08 12 05 32 In my case module Feedburner stops redirecting rss xml to Feedburner feed because of early terminating output with exit So beware reply good resources Submitted by drupal themes not verified on Fri 2011 04 01 01 49 my website was developed in drupal 6 i trying added this code but some error will showing i couldn t analyze the solution how to solve it reply When running cron via drush Submitted by Visitor not verified on Mon 2012 07 30 09 05 When running cron via drush I was getting several PHP notices from settings php Undefined index QUERY STRING settings php 295 0 08 sec 5 96MB notice You can avoid these by making the following tweek to the initial code Original if strpos SERVER QUERY STRING imagecache Fixed if isset SERVER QUERY STRING strpos SERVER QUERY STRING imagecache reply 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 FAQ Payments Site Map Navigation Payment Recent content Do you use any of our Drupal modules Did you find our Drupal WordPress and LAMP performance articles informative Follow us on Twitter 2bits for tips and tricks on Drupal and WordPress Performance Contact us for Drupal and WordPress Performance Optimization and Tuning Consulting In Depth Articles Client Testimonials Developing tracing and debugging Drupal Drupal Performance Tuning and Optimization for large web sites PHP op code caches accelerators Drupal large site case study Abuse Drupal Best Practices at your own peril Poor Performance Admin Menu module Popular yet occasionally problematic Another botnet spamming Drupal web sites causing performance issues Apache 2 and PHP5 on Ubuntu Feisty bloated Apache with fcgid acceptable performance and better resource utilization Avoid excessive disk writes by avoiding PHP errors in your code Benchmarking APC vs eAccelerator using Drupal Benchmarking Drupal 5 x vs 6 x which one is faster Benchmarking Drupal from the shell command line Benchmarking Drupal with PHP op code caches APC eAccelerator and XCache compared Benchmarking PostgreSQL vs MySQL performance using Drupal 5 x Benchmarking Zend Server Community Edition with Drupal Benchmarking strings overrides vs locale module Beware of Drupal modules that disable the page cache Beware when Drupal Pressflow displays messages for anonymous users Botnet hammering web site causing outages Bottleneck Replacing taxonomy term count nodes in taxonomy dhtml Bypassing Drupal core Node Access table joins to avoid outage caused by slow queries Can a Drupal web site handle a million page views a day Case

    Original URL path: http://2bits.com/drupal-planet/reducing-server-resource-utilization-busy-sites-implementing-fast-404s-drupal.html (2016-05-02)
    Open archived version from archive

  • Reducing the size and I/O load of Apache's web server log files | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    to combine all the logs together for webalizer We did this by adding LogFormat vhost v h l u t r s b Referer i User Agent i combined CustomLog usr bin logger p local1 info u var log httpd apache log socket combined to the httpd conf and then setting up syslog ng to create the socket and send the logs via UDP to a remote host On the recieving server we use syslog ng to filter based on the vhost v in the incoming stream to write to a file This solved alot of issues such as real time combining of all servers logs as well as off loading the log processing to another server reply or disable logging Submitted by Visitor not verified on Fri 2010 08 06 12 21 or disable logging altogether reply mod sflow Submitted by Peter Phaal not verified on Wed 2011 01 12 16 46 Another option is to use mod sflow for monitoring Instead of selectively logging filtered requests mod sflow uses random sampling to provide scalable real time monitoring of large Apache clusters In addition to sampling web requests the module maintains performance counters that can be trended using tools like Cacti For more information sFlow HTTP reply To dev null with you Submitted by Visitor not verified on Wed 2012 02 15 21 31 To dev null with you wretched access log reply 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 FAQ Payments Site Map Navigation Payment Recent content Do you use any of our Drupal modules Did you find our Drupal WordPress and LAMP performance articles informative Follow us on Twitter 2bits for tips and tricks on Drupal and WordPress Performance Contact us for Drupal and WordPress Performance Optimization and Tuning Consulting In Depth Articles Client Testimonials Developing tracing and debugging Drupal Drupal Performance Tuning and Optimization for large web sites PHP op code caches accelerators Drupal large site case study Abuse Drupal Best Practices at your own peril Poor Performance Admin Menu module Popular yet occasionally problematic Another botnet spamming Drupal web sites causing performance issues Apache 2 and PHP5 on Ubuntu Feisty bloated Apache with fcgid acceptable performance and better resource utilization Avoid excessive disk writes by avoiding PHP errors in your code Benchmarking APC vs eAccelerator using Drupal Benchmarking Drupal 5 x vs 6 x which one is faster Benchmarking Drupal from the shell command line Benchmarking Drupal with PHP op code caches APC eAccelerator and XCache compared Benchmarking PostgreSQL vs MySQL performance using Drupal 5 x Benchmarking Zend Server Community Edition with Drupal Benchmarking strings overrides vs locale module Beware of Drupal modules that disable the page cache Beware when Drupal Pressflow displays messages for anonymous users Botnet hammering web site causing outages Bottleneck Replacing taxonomy term count nodes in taxonomy dhtml Bypassing Drupal core Node Access table

    Original URL path: http://2bits.com/drupal-performance/reducing-size-and-io-load-apaches-web-server-log-files.html (2016-05-02)
    Open archived version from archive

  • Remember that the CAPTCHA module disables page caching | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    outages Contact us for Drupal and WordPress Performance Optimization and Tuning Consulting Contents Services Clients Testimonials News FAQ Payments Site Map Navigation Payment Recent content Do you use any of our Drupal modules Did you find our Drupal WordPress and LAMP performance articles informative Follow us on Twitter 2bits for tips and tricks on Drupal and WordPress Performance Contact us for Drupal and WordPress Performance Optimization and Tuning Consulting In Depth Articles Client Testimonials Developing tracing and debugging Drupal Drupal Performance Tuning and Optimization for large web sites PHP op code caches accelerators Drupal large site case study Abuse Drupal Best Practices at your own peril Poor Performance Admin Menu module Popular yet occasionally problematic Another botnet spamming Drupal web sites causing performance issues Apache 2 and PHP5 on Ubuntu Feisty bloated Apache with fcgid acceptable performance and better resource utilization Avoid excessive disk writes by avoiding PHP errors in your code Benchmarking APC vs eAccelerator using Drupal Benchmarking Drupal 5 x vs 6 x which one is faster Benchmarking Drupal from the shell command line Benchmarking Drupal with PHP op code caches APC eAccelerator and XCache compared Benchmarking PostgreSQL vs MySQL performance using Drupal 5 x Benchmarking Zend Server Community Edition with Drupal Benchmarking strings overrides vs locale module Beware of Drupal modules that disable the page cache Beware when Drupal Pressflow displays messages for anonymous users Botnet hammering web site causing outages Bottleneck Replacing taxonomy term count nodes in taxonomy dhtml Bypassing Drupal core Node Access table joins to avoid outage caused by slow queries Can a Drupal web site handle a million page views a day Case study Views Quicktabs and template php Common Issues and Solutions for Dealing with Cloud Computing and VPS performance issues for Drupal Configuring Apache Solr 3 6 for Drupal on Ubuntu 14 04 with password authentication Configuring Apache Solr 4 x for Drupal with password authentication Configuring Drupal with multiple bins for memcached Correct Client IP Address with a Reverse Proxy or Content Delivery Network CDN Do not configure the Service Links module with TinyURL com Drupal 7 x and Pressflow pitfalls can reduce your site s performance Drupal core caching and contributed content caching modules Drupal not saving admin pages with large number of input fields Drupal on a dedicated servers vs Amazon AWS EC2 Drupal performance tuning and optimization userpoints seminar at Open Craft Drupal site excessive memory usage traced to APC and php5 memcached Examples for Drupal custom caching Adding a cache timestamp to cached pages and HTTP headers Fast Parallel MySQL Backups and Imports with Mydumper Free your content of PHP Moving PHP code out of blocks views and nodes Google Crawler hitting your site too aggressively High PHP execution times for Drupal and tuning APC for include once performance High Performance Drupal with Apache MPM Worker Threaded Server and PHP FPM High server load because of repeating queries too many times Hosting Virtualization Virtuozzo OpenVZ vs Xen which is best How Drupal s node access table

    Original URL path: http://2bits.com/captcha/remember-captcha-module-disables-page-caching.html (2016-05-02)
    Open archived version from archive

  • Scalability of the Taxonomy Browser module: Restricting number of terms | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    match your criteria return The reason we do that is that if we left the other validator it will run and it will call taxonomy browser count nodes with a lot of terms to find out whether there are results or not before doing the redirect This check in itself kills the server Changing the term data table to InnoDB is also an option It would not make the long running query any faster but will potentially prevent other queries from locking waiting for it to finish But unless something else warrants it for this table we will stick with MyISAM for the time being Contents Articles Remember that the CAPTCHA module disables page caching up Server indigestion The Drupal contributed modules open buffet binge syndrome Add new comment Comments Is this available in a patch for the taxonomy browser project Submitted by Chris Charlton not verified on Sun 2010 10 24 15 32 Is this optimization available in a patch for the taxonomy browser project reply 698398 Submitted by Khalid on Sun 2010 10 24 15 48 It is not really a patch It is a form alter so portable and out of the module s code I submitted an issue for this in 698398 many months ago No response from the maintainer reply 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 FAQ Payments Site Map Navigation Payment Recent content Do you use any of our Drupal modules Did you find our Drupal WordPress and LAMP performance articles informative Follow us on Twitter 2bits for tips and tricks on Drupal and WordPress Performance Contact us for Drupal and WordPress Performance Optimization and Tuning Consulting In Depth Articles Client Testimonials Developing tracing and debugging Drupal Drupal Performance Tuning and Optimization for large web sites PHP op code caches accelerators Drupal large site case study Abuse Drupal Best Practices at your own peril Poor Performance Admin Menu module Popular yet occasionally problematic Another botnet spamming Drupal web sites causing performance issues Apache 2 and PHP5 on Ubuntu Feisty bloated Apache with fcgid acceptable performance and better resource utilization Avoid excessive disk writes by avoiding PHP errors in your code Benchmarking APC vs eAccelerator using Drupal Benchmarking Drupal 5 x vs 6 x which one is faster Benchmarking Drupal from the shell command line Benchmarking Drupal with PHP op code caches APC eAccelerator and XCache compared Benchmarking PostgreSQL vs MySQL performance using Drupal 5 x Benchmarking Zend Server Community Edition with Drupal Benchmarking strings overrides vs locale module Beware of Drupal modules that disable the page cache Beware when Drupal Pressflow displays messages for anonymous users Botnet hammering web site causing outages Bottleneck Replacing taxonomy term count nodes in taxonomy dhtml Bypassing Drupal core Node Access table joins to avoid outage caused by slow queries Can a Drupal web site handle a million page views a

    Original URL path: http://2bits.com/articles/scalability-taxonomy-browser-module-restricting-number-terms.html (2016-05-02)
    Open archived version from archive

  • Server indigestion: The Drupal contributed modules "open buffet binge" syndrome | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    0 0 9 8 0 06 52 apache2 9797 www data 15 0 275m 93m 33m S 0 0 9 4 0 03 81 apache2 10314 www data 15 0 275m 93m 33m S 0 0 9 4 0 03 73 apache2 10315 www data 15 0 275m 93m 33m S 0 0 9 4 0 03 67 apache2 9798 www data 15 0 275m 92m 34m S 0 0 9 2 0 04 24 apache2 16324 mysql 15 0 230m 15m 3880 S 0 0 1 5 18 00 42 mysqld 9793 root 15 0 219m 9292 4540 S 0 0 0 9 0 00 05 apache2 9796 www data 15 0 220m 6440 1408 S 0 0 0 6 0 00 01 apache2 The size of an apache process is 92 to 98 MB That is way too much On a server with 500MB of available RAM you can barely fit 5 processes at the same time in memory Better have Apache s MaxClients tuned to 5 otherwise if you get traffic spikes your server will go to thrashing hell Don t even think of running such a site on shared hosting with medium traffic Your host will quickly terminate your account for overuse of resources So far full featured sites seem to have about 80 to 110 modules I have seen a case where a site had 122 module Keeping the number of modules down can help a lot See our article on whether a Drupal site can handle a million page views a day Update July 2010 Check out our presentation on a site that does 2 8 million page views per day 70 million per month one server That site broke the record later and did 3 4 million page views in one day and 92 million in one month Update September 2010 We constantly see clients that go for an insanely large amount of modules For example we have seen several with 180 or so modules But it even goes beyond our worst nightmare I once woke up from sleep with a nightmare that a client called us to help with a site that had 200 modules Then it was in real life that a client called about a site with 228 modules and another had 231 modules Later another one with 238 engaged us in consulting for that poor site Update January 2011 Here is a real life case of the effect of the number of modules on importing of new nodes David Kent Norman has an article detailing how he made things much more speedy by disabling modules Update October 2012 New world record for number of enabled modules 381 modules More details at Presentation Huge Drupal site with 381 modules 174 GB MySQL database and tables over 200 million rows The good news is that we were able to get that down to 207 modules only It can be done Contents Articles Scalability of the Taxonomy Browser module Restricting number of terms up Similar Entries module Scalability issues and workarounds Add new comment Comments Definitely feeling the pain Submitted by Visitor not verified on Tue 2007 07 31 14 03 We have a similarly sized setup with 112 enabled modules and a total Drupal core modules code base size of 500 000 lines and are indeed having some little trouble with performance Code loading sure could be a tad more fine grained than it is at present paying for unused features hurts reply Drupal 6 op code cache and mind set Submitted by Visitor not verified on Tue 2007 07 31 14 20 Drupal 6 has several modules that are split into admin and user functions so we don t load everything all the time However with a PHP op code cache your code is compiled once and cached and the overhead of loading parsing compiling is not there The tests above were all conducted with APC enabled Can t even think how things would be much worse with APC off What is there is that hooks that get fired for each module allocating data structures etc My post was mainly towards the end user mind set where they oh there is a module that does X Let us have it Apart from bloat there is the ongoing care and feeding of modules If you want to upgrade to the next version and 20 modules are not yet available you either stay behind or pay someone to upgrade those modules So it is a problem from many angles One would hope that the features provided by those extra modules are indeed useful and worth those problems from a site functionality point of view 2bits Drupal consulting reply Devel module Submitted by Visitor not verified on Sun 2007 08 12 17 23 Are the numbers output from the Devel module equivalent or do they only include the PHP process not the RAM Apache uses I can t seem to get the same columns from top so I m not sure if I m comparing like for like Very useful post though I d never known quite how to go about deciding on the MaxClients setting thanks reply I do not think your high Submitted by Visitor not verified on Sat 2008 01 05 19 17 I do not think your high memory usage has most to do with module s code Take a look at this article that explains process shared memory and data http www kdedevelopers org node 1445 If by this rule of thumb we take a difference between RES and SHR this would come to each process allocating about 60M to data This could be caused by just a few even one memory hogger leaker modules not necessarily the number of modules itself I have no idea which one is prime suspect on your list I guess we need to think of better memory profiling tools reply This is nothing I inherited Submitted by Sborsody not verified on Fri

    Original URL path: http://2bits.com/articles/server-indigestion-the-drupal-contributed-modules-open-buffet-binge-syndrome.html (2016-05-02)
    Open archived version from archive



  •