This tag is for questions about Drupal's performance, how to measure, and improve it.

learn more… | top users | synonyms (1)

0
votes
1answer
42 views

Is there any side effect to use APC installed on shared hosts? [closed]

I'm using a shared host for a Drupal6 site. And this shared host has an option to use "APC". I just tried this option on a test site as it can be enabled just by one click on my account page of the ...
3
votes
4answers
66 views

Designing different content types with the same fields' name (shared fields)

For my website I need several content types (at least five), but all that have some fields' name in common as title, subtitle, body, teaser, image and so on. Shall I use the same field (machine name) ...
2
votes
2answers
31 views

Is making a feature of literally everything available actually a smart thing to do?

I love features for all the benefits they have, especially for performance. It now seems like a logical step forward to make a feature out of everything available on the "create feature" page on a ...
0
votes
0answers
30 views

Elysia Cron for dummies [closed]

I just cannot see how to set Elysia Cron; I just don't understand the documentation. Help would be much appreciated. In config/system/cron do I set cron to never, or once every hour? In ...
0
votes
1answer
40 views

Why does Apache show such drastic differences in memory usage when using mod_php?

I've taken steps to reduce as much as possible the memory footprint of my Apache mod_php processes by disabling Apache modules as well as Drupal modules. When the server is under light load, I see ...
1
vote
1answer
47 views

Drupal 7 sites hogging my shared hosting account

Two months back I launced 3 new Drupal-7 based sites on my shared hosting account but soon I found that my account was touching maximum process limit of 25 in my account and that my D7 sites were ...
0
votes
0answers
24 views

Drupal + Varnish: cache revalidation

I have Drupal set up with Varnish cache. I have understood almost every part in the process of setting and using the cache. Yet, there is a subject I need some enlightenment on. Let's say I access my ...
1
vote
0answers
45 views

IE7 IE8 layout broken if advanced aggregation is enabled

When I install & enable Advanced CSS/JS Aggregation, my site layout breaks in IE7 and IE8. How could that happen? Is there CSS3 in the compiled/compressed CSS? What should I do?
4
votes
3answers
732 views

Nginx vs Apache - Are there any actual usage comparisons and statistcs out there?

I have a new server to play with, and I am staring at a blank canvas. I can put anything I want on it. While I am comfortable with Apache, I keep hearing how nginx can handle so much more traffic than ...
0
votes
1answer
24 views

When building Apache from scratch, what are the minimum modules needed for Drupal to run with clearn URLs?

I have a shiny, new, completely blank box of a LAMP server in front of me. I've heard tales of, even seen pictures of, Apache processes below 30 MB, but I have not seen in it in my Drupal lifetime. ...
2
votes
1answer
37 views

New Relic: “Application Code (in /theme)”

I have several Drupal sites with which I'm using New Relic to help monitor and debug performance issues. I've been finding that when viewing the "Web Transactions" section under "Monitoring", that a ...
0
votes
1answer
37 views

How can I decrease my page load times? [closed]

I have worked on a Drupal website, and on the site there is a presentation and videos section. I have created content types for them, and provided the source URL of the presentation and videos ...
0
votes
0answers
21 views

Unexplained slowness; profiling shows reasonable times and so does ping/wget

I've finally had some time to have an in-depth look at the slowness of my Drupal 7 site. The results are surprising. ping is a very stable 90ms (UK to California) wget a PHP script that just prints ...
1
vote
1answer
35 views

Detailed breakdown of what takes Drupal so long?

I'm trying to figure out why my Drupal 7 take so long to render. I've installed the "performance log" module, but it was underwhelming, to say the least. It tells me a page took 2785 ms to render, ...
6
votes
2answers
154 views

Compression in Drupal 7

I am running Drupal (latest version 7.22 ) on Apache 2.2 and I have also installed Varnish (module and proxy). In Apache, I have disabled the mod_deflate module. Reading around the web, it seems that ...
0
votes
0answers
19 views

Requirements for enabling compress and aggregation files in Drupal 7

Is there any requirement or module that I need to enable in Apache to properly use the option bandwidth optimization in performance? Do I need to enable the deflate module or I just need the headers ...
1
vote
0answers
32 views

Performance Implications when Views JOIN added twice?

I have a view with a flag (relationship, only show flagged nodes). I have modified it a few times and now I see in the query output that views has the join added twice: INNER JOIN {flag_content} ...
0
votes
1answer
46 views

Does unset($form['field']); in hook_form_alter stop entity reference views select list queries from running?

I have a slow load time in a node form and I suspect the reason is that I am populating entity reference select lists using views & therefore a number of queries are being run to populate those ...
0
votes
1answer
73 views

How can I speed up drupal's node_save() function?

I am having a lot of trouble with the inefficiency of node_save(). But is node save my problem? That's ultimately what I am trying to find out. I created a loop with 100,000 iterations. I created ...
0
votes
0answers
44 views

Are static html pages required to build a Drupal

Are static html pages required to build a Drupal based social networking site or should i go about creating content (views or modules etc) and assigning regions to them. I have already created a theme ...
0
votes
1answer
77 views

Panels vs theming

Panels versus themes: What is the best way? Since Panels is included in Drupal 8 core, isn't it the way forward? Do we still need to design static HTML pages and then integrate them with Drupal, or ...
1
vote
1answer
48 views

Memcache Slowing Down Drupal

Running seige (load tester) without memcache enabled I see stats similar to this: Transactions: 560 hits Availability: 100.00 % Elapsed time: 59.42 ...
1
vote
0answers
63 views

How can I increase my hit ratio in Memcache?

Memcache has been up and operational on my production site http://goniseko.com for a few months now. After getting everything configured and memory limits where they should be, I noticed that I have ...
0
votes
1answer
37 views

What are best practices for Drupal 7 my.conf settings?

I posted the following wiki to GDO to try to consolidate best practices for Drupal implementations: http://groups.drupal.org/node/289613 There's just so much written out there, but the documentation ...
5
votes
2answers
70 views

Will the site load slower when using a sub-theme of a sub-theme?

In Drupal, you have a base-theme, and maybe a sub-theme. That sub-theme can also have another sub-theme. Will Drupal be slower when using 3 themes, where each of them is a sub-theme of the previous ...
1
vote
1answer
28 views

Tons of file_usage queries

I'm attempting to debug a site with intermittent slowness, and I've managed to track it down to a long series of file_usage queries which appear to be coming from a search_index rebuild. SELECT ...
1
vote
2answers
90 views

drupal 7 on virtual server with debian linux - inconsistent response time

I have drupal 7 test installation on shared hosting. Caching turned off (I do not want to use caching), cron disabled. According to devel, query execution times on page with 228 queries are ...
1
vote
0answers
41 views

How can I create a Views type page without using Views?

I have a very intensive project that ultimately (and theoretically) was designed to house 33,600 Views pages. It's a census data project, and one page represents one city in the United States. The ...
2
votes
1answer
42 views

Is there any danger in caching forms, such as node edit, add, etc?

I am playing with authenticated caching modules to speed up performance while logged in. Currently I am using authcache. However, authcache and other caching modules often have node add, node edit, ...
1
vote
0answers
45 views

Tuning with New Relic

So I've finally delved into tuning up my aging Drupal 6 site using NewRelic and like most I'm amazed at what their product has to offer. Very useful for honing in on problem areas. However, being new ...
3
votes
1answer
115 views

Boost plus Cloudflare

Can we use Boost together Cloudflare? I am curious whether using both can be enabled on the site, and whether doing so will actually improve performance.
0
votes
0answers
47 views

Last-modified Header always displays current time even with cache enabled

This is what my Headers look like Date: Wed, 13 Mar 2013 14:18:17 GMT Server: Apache/2.2.12 (Linux/SUSE) Expires: Sun, 19 Nov 1978 05:00:00 GMT Last-Modified: Wed, 13 Mar 2013 ...
0
votes
0answers
195 views

What causes Drupal to run slowly in a Vagrant VM when connecting to an external database? [closed]

Our development team uses Vagrant VMs for development so that each person can have their own working directory for code changes while sharing a database on one of our dev servers to keep ...
1
vote
1answer
158 views

How to enable caching for ajax callbacks, escpacially for colorbox node?

I am using colorbox node module on my site, and it looks like the ajax callbacks for rendering the node are not cached at all. Tested it with a simple snippet in the node template: ...
2
votes
1answer
132 views

Is there any gain using Memcached module when APC is running good on large Drupal 7 site (one server)

I am successfully using the APC Cache module on my prod website (single server). APC is performing good, caching is done very well. I wonder could I gain anything more by implementing Memcache. I ...
2
votes
1answer
56 views

Writing to a drupal table form javascript as fast as possible

I have a table in my Drupal database this is simply a name value pair for each entry. I need to write to this table from javascript and get back as soon as possible. My first attempt was to create a ...
0
votes
1answer
26 views

Performance implications of many user roles

How does each additional user role affect Drupal performance? Looking for insights from benchmarking (preferred) and/or code analysis. Specifically: Do additional user roles impact performance on ...
0
votes
0answers
22 views

Cron Cache is not working with Cache Expire

I'm using the Cron Cache module to automoatically flush my database cache especially the Cache Form table that will become 1Go in few days if i did not . And also i'm using the Boost module as a ...
2
votes
0answers
41 views

When programmatically adding views, what is a more efficient way to add them other than include them in mymodule.views_default.inc?

I have written a module that writes views programmatically, and my mymodule.views_default.inc file is enormous. Currently there are 150 individual views, and 780 will be the target. But, even with ...
2
votes
2answers
32 views

Is there a reason I need to unset CSS files provided by contrib modules if I have CSS aggregation enabled?

As this question makes clear, stylesheets provided by modules can be unset. Some themes, such as Adaptivetheme 3.x, also provide a GUI for unsetting the stylesheets provided by modules. My question ...
0
votes
2answers
69 views

Drupal response time incredibly slow, but only from some end-users [closed]

I am running across a super strange issue that is killing me. I am seeing response times coming back from my Drupal site of nearly 5+ minutes, but only for some end-users. I have tested and ruled out ...
1
vote
2answers
112 views

When should I not use Views for listing content? [closed]

Views is the most popular module of Drupal 7. I don't doubt it's the best solution for listing content on Drupal, as one of the Drupal strengths. However, Views is not used everywhere. For example, ...
0
votes
0answers
49 views

Spam bots hitting user/register non cached pages generate load, how to prevent?

I have SpamBot installed, still bots can hit the user/register page that is not cached by Boost and generate load if they do it recursively. Any tips to prevent them? Or, the only solution is ...
0
votes
0answers
38 views

Submitting forms by anonymous user cause all cached pages to be invalidated for current user

I am facing following problem with D7 - with core cache enabled (both settings set to 1 day) and all pages precached, I as an anonymous user visit a page with a form (comment form). After submitting ...
-1
votes
2answers
87 views

Drupal High Volume Site [closed]

I have a site with a medium of 80 concurrent users and I am experiencing problems with memory consumed by apache processes. My current configuration for a 2GB of RAM server is: <IfModule ...
0
votes
1answer
59 views

Is there an easier way to print taxonomies in the tpl? I get this working code, but it should be a “shorter” way!

After a painful day and a half I get this code, that prints out in my node.tpl.php the taxonomy terms associated to that particular node that the user is viewing. It works just fine. As it is quite ...
2
votes
2answers
90 views

How to get Views caching working with contextual filters?

Using Drupal 7.19 and Views 3.5 cache is not respecting contextual filter argument- it is displaying the same cache result no matter what argument given. How to get this working properly?
0
votes
0answers
78 views

Custom hardcoded functions : in node.tpl.php or theme_preprocess_node?

For a specific content type, I have many hardcoded functions, to format, display my content, use some ajax, JS, etc. I was wondering, for performance, scalability and, more globally, best practice, ...
1
vote
1answer
41 views

What are the performance implications of running a frequent simplenews cron task to send emails?

In the Simplenews docs there is the following tip: The Elysia Cron module (http://drupal.org/project/elysia_cron) can be used to start the simplenews cron hook more often than others, so that ...
2
votes
2answers
402 views

how to gzip compress js/css in drupal 7

My site will run on D7. but it will too slow. i want to compress (gzip) js and css. I have check my site on https://developers.google.com/speed/pagespeed/insights and it will told me for compression ...

1 2 3 4 5 6