Questions tagged [performance]

Use it for questions about Drupal's performance, how to measure, and improve it.

90 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
1answer
221 views

How can I implement a flag module with caches but won't affect cache the flagging nodes?

According to a post here, I have installed flag module to implement product comparison. However I found that the CPU usage is very high 80-90%, then I tried to install boost and Views content cache to ...
3
votes
0answers
183 views

Warming up dynamic page cache for authenticated users

We're currently working on a rather complex Drupal 8 based website. After clearing caches, the majority of pages/routes require about 30-60 seconds for being rendered/returning the desired results. ...
3
votes
0answers
348 views

Forms get glitchy with too many nested paragraphs

We have built a complicated structure for building pages out of paragraph components, but are now quickly running into performance limitations. It seems that the node form is monolithic, and is built,...
3
votes
1answer
528 views

how to optimize inline images in ck-editor

Is it possible to optimize inline images uploaded via ck-editor. There is an image with size 11 MB and in default behavior its rendered original without any optimization applied to it.
3
votes
1answer
152 views

How do I profile a site that is on shared hosting?

I run a commerce website in a shared hosting, from time to time it's being too slow, I tryied many ways to find the cause (css/js agreggation,enable caching, views caching, disabling some big modules :...
2
votes
1answer
172 views

Serve Anonymous Pages when users are logged in for some pages

so essentially I have a Drupal website with great performance for anonymous users and terrible performance for logged in users. What I am looking for is a way to serve some pages that logged in users ...
2
votes
0answers
267 views

How do I get queries and query count for a page?

In Drupal 7 the query log of the Devel module contained a table which had a query log with a much better overview than what Webprofiler is offering for Drupal 8. In Drupal 8 there's no aggregation or ...
2
votes
0answers
958 views

How to deal with a rules related lock_wait that occurs after a cache clear and results in slow transactions

This application needs to run cron every 15 minutes which results in a cache_clear_all. Whenever this happens hundreds, sometimes thousands, of db_log entries happen for "Cache rebuild lock hit: ...
2
votes
0answers
186 views

What is the difference between Query build time Query execute time View render time in drupal veiws

I'm using drupal views and set Live preview settings enabled. I'm curious about the difference between three factors: build time, execute time and render time. Sometime when I change a filter or sort ...
2
votes
0answers
59 views

Custom module data storage

In Drupal 6, I'm writing a custom module that generates several pages (as a Drupal newbie). Mainly public form pages for soliciting donations - users fill out their info (amount, frequency, etc.) and ...
2
votes
0answers
55 views

In Facet API, if I select a item from one category then the count of items in other category will become zero. What can i do for this?

I'm working with facet API, if I have select a item from one category then the count of items in other category will become zero. What can I do for this ? this is before i select a item in a category ...
2
votes
1answer
53 views

Error entries in Watchdog duplicated dozen and hundreds of times

I have seen that the table watchdog in my MySQL database is growing enormously, and after TRUNCATE, I see that for each visit to a single page, it generates hundreds of inserts, and when seeing them, ...
2
votes
0answers
2k views

Low first time to byte for my Drupal 7

For the last months (without any significant change except modules and drupal core upgrades) I've been noticing that the First time to byte decreased from a not bad value (less than 300ms) to more ...
2
votes
0answers
1k views

recommend drupal form cache disable?

I have static page and form but in each load in devel show a lot of query (select and Insert) in cache_form table I see form_set_cache and operation but I think may disable cache_form completely is a ...
2
votes
1answer
213 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 ...
2
votes
1answer
277 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
0answers
218 views

Drupal performance expectations

Fairly new to Drupal, trying to determine what kind of performance we should expect from a stock Drupal install, with the optional modules (not the barebones option). We have a fresh dedicated Win ...
2
votes
0answers
1k views

How to optimize the unserialization of “variables” cache value

As we all know, the whole variable table is being cached in the drupal cache system and is being extracted into global $conf variable in each invoke. In one of our production site with the domain ...
1
vote
1answer
183 views

How should I deal with a vocabulary with many terms?

I'm trying to use Drupal 8, but if Drupal 7 is better for that, I'm ready to go back to Drupal 7. I have a vocabulary that must contain at least 10,000 terms, but they can also become more than 100,...
1
vote
0answers
185 views

Diagnosing slow requests between Varnish and Nginx

I have been trying to diagnose slow page load time in my local Drupal 7 environment when using Varnish. My local environment runs in Docker using docker-compose. I have a containerised Varnish ...
1
vote
0answers
44 views

Page not found errors for images

The site becomes painfully slow at times and when I look into "Recent Log Mesaages" logs such as this is frequently found. The Location shows: http://example.com/sites/default/files/styles/featured/...
1
vote
0answers
24 views

Site flashes intermediate 'Redirecting to …' page

On a local development site an intermediate 'Redirecting to ...' page flashes for a second before rendering the correct page. This seems to be happening at various places, even on cron run page. The ...
1
vote
0answers
152 views

What is the performance impact of having many modules in D8?

I like to keep my custom code as separated as possible (in the way it makes sense). In D7 I know it could be crucial (source) because every module used it's .module file and since module files getting ...
1
vote
0answers
34 views

Speed up AJAX loading on manage display page when moving fields among regions

When I'm switching my fields into different regions, it takes at least 20 seconds to make it change. I'm not able to change any other field while I wait. The only work around to this was to disable ...
1
vote
1answer
147 views

Is there any way to “linux nice” a process to have less priority

We have some high resource views that would have less impact on the overall performance if they ran at a low priority, e.g. linux nice'd to a low priority.
1
vote
0answers
154 views

Performance or other implications of sharing fields in Drupal 8?

There already exists quite a popular question asking about the implications of sharing fields between node/entity types: What's a good balance between reusing fields versus creating new ones in ...
1
vote
0answers
29 views

What is best practice for the amount of entity bundles, related to performance

My site uses ECK entities In my use case it is easier to work with many bundles under one entity type instead of multiple entity types (because in Panels, Views, Flags, separate entity types require ...
1
vote
1answer
28 views

Is performance affected on local server?

I have my drupal on a server that doesnt have access to internet. Does this hurt the preformance? I am getting this error on the status report : "HTTP request status Fails" If it does, how can ...
1
vote
0answers
129 views

AdvAgg Update & Settings Problem

I see this warning I go to update the database. Notice: Constant ADVAGG_MOD_CSS_DEFER already defined in include_once() (line 172 of /home/valerie/public_html/permanentmakeupcornwall.com/sites/...
1
vote
0answers
37 views

Turning on performance breaks Drupal (PHP fatal error)

I am not certain if I turn on CSS/JS aggregation or caching which breaks Drupal. The error I get is similar to this: 'home/user/mysite.com/commons/includes/includes/bootstrap.inc' does not exist....
1
vote
0answers
82 views

Manage multiple feeds import using cli

How can I optimize multiple feed importer from cli? Is there any way to optimize multisites using multicron for each site in drupal 7.? I want to implement like this https://www.drupal.org/node/...
1
vote
1answer
100 views

What causes very long initial visit load times intermittently?

I'm working on what is basically a one page site externally: http://drupals.badgerfort.com. There's very little to it. But I'm getting reports that it's sometimes loading so slow to the point that ...
1
vote
1answer
169 views

Views performance issue

I have a website with 4 views (and sometimes 5 views) on the homepage. The problem is that when I try to open the website, it takes minutes to load and the cpu goes crazy because of mysql processes. ...
1
vote
0answers
33 views

Drupal cache not here?

I'm in charge of a website that have an huge amount of queries all the time, so we activated drupal cache (in performance). It was great, for all guests the page was very fast to load (not so fast for ...
1
vote
0answers
296 views

Solr search much slower for logged in users

I've set up Solr on a Drupal installation with around 11000 indexed nodes. I'm using Apache Solr Search Integration module and the FacetAPI interface. However, I'm finding that searches take around ...
1
vote
0answers
315 views

db_merge : Making a query slow

I am using userpoints module to provide points for different actions that they do on my site. mysql> desc userpoints; +-------------+---------+------+-----+---------+----------------+ | Field ...
1
vote
0answers
256 views

Drupal 7 - How do I cache / gzip a webform page?

I have my frontpage as a webform and want to know how I can provide compression to this page as drupal does not cache/gzip a webform page due to the forms. What are some possible solutions to this?
1
vote
0answers
475 views

AB testing with caching ON\OFF

I'm having weird benchmarking results with my drupal site. The command I used (from my home PC) is: ab -n 100 -c 10 http://www.mysite.it/ Results with caching disabled: Document Path: ...
1
vote
1answer
107 views

Autologin feature killing my website

I have a drupal 7 site. Running a auto login feature when people click on my newsletter. A hook is fired when they visit the site to check for the cookie. my setup : Background info : I am already ...
1
vote
0answers
244 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?
1
vote
1answer
284 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} ...
1
vote
0answers
64 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 ...
1
vote
1answer
367 views

Alternative to .htaccess compression with Boost

My hosting provider doesn't support mod_deflate directives in .htaccess to provide compressed HTTP responses. I am using Drupal 7 with Boost and wish to compress HTML, CSS and JS responses. Is there ...
1
vote
0answers
21 views

Drupal Theme Extra Load on a Site

I'd like to know if any extra tpl.php file in drupal theme has additional resourse loading? Will drupal site work faster with less tpl.php files?
1
vote
0answers
122 views

Using GD w/imagecache vs. imagecache_optimize or imagecache_smushit

My understanding of PHP GD is that when it writes a file, no meta information is included. If that's the case, is there any specific advantage to running imagecache_optimize or imagecache_smushit in ...
1
vote
0answers
62 views

How can we enable cache for a page in drupal5 for authenticated users?

I am using drupal5 for my website. Certain pages in my site are loading very slowly. I came across several posts suggesting to use the caching capabilities of Drupal. After enabling cache pages ...
0
votes
0answers
25 views

Implementing hook_entity_type_build causes 500 error on cache clear

I recently attempted to display custom form modes based on the currently logged in user. My searching led me to implement hook_entity_type_build. However, I am finding that even just having this ...
0
votes
0answers
34 views

For performance, one multi-value field or four individual fields?

I have a node content type that needs to store four different int values: Score A Score B Score C Score D Each node of the content type always has all four int values. I could store this one of two ...
0
votes
0answers
18 views

Select which assets and scripts should load on certain pages

This is to avoid loading other assets and scripts that are not needed for certain content types, pages, etc. I have seen this in wordpress, there are performance plugins that allow you to selectively ...
0
votes
0answers
35 views

How do I further debug this Internal Server Error problem? (mod_fcgid related)

I was asked to help with a Drupal 7 site that I've helped to tweak several times before. The problem is, most of the site pages are not shown and "Internal Server Error" 500 page is shown instead (it ...