Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [performance]

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

4
votes
1answer
219 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
1answer
150 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 :...
3
votes
0answers
100 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
258 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,...
2
votes
0answers
235 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
881 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
170 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
52 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
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
0answers
217 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
0answers
26 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
23 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
140 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
0answers
136 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
27 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
0answers
105 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
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
280 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
303 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
252 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
406 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
0answers
241 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
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
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
62 views

Loading a view page is very slow

On Drupal 8.7.3 and a very powerful VPS server with php 7.2, I have a view (page) that will list all available nodes of a specific content type. The display of the view is "Footable" taken from the ...
0
votes
0answers
34 views

Overload Site with Database Inserts to cache discovery

In my production enviroment i have a problem with the performance of my site, this begin to execute many request to database, when I see the process list of the database y see many process with ...
0
votes
0answers
35 views

Solr-based View, Row cache

Context: Drupal 8.5, Search API Solr 2.2 There's a Solr-based view with Field display mode, as the results are not just nodes, there are non-Drupal content too. Right now the dynamic page cache is ...
0
votes
0answers
51 views

Very slow menu_tree_check_access query - how to debug

I have a Drupal System which is running fine in production and locally but the dev/cons Db seems to have a problem. After looking a bit deeper into it I found that menu_tree_check_access takes 3.8 Sec ...
0
votes
0answers
262 views

Performance hit from using the Statistics module?

For a site that we will have 99% of users seeing Varnish/Memcached layers, what is the general performance hit to enabling the core Statistics module? The site may have thousands of visitors daily. ...
0
votes
0answers
21 views

SQL View of Collection Field taking a long time to complete

I have a View which would count the number of items related to a Taxonomy term. The view counts Field Collections, and inside each field collection there is one or more taxonomy terms. I have a ...
0
votes
0answers
257 views

IMCE with Amazon S3 loads images very very slow

I am using D7 with Amazon s3, imce, imce filefield module to upload images through CKEditor. And when I clicked on image upload button in CKEditor it is taking around 3-5 minutes to load the CKEditor ...
0
votes
0answers
282 views

Varnish is working but X-Drupal cache is missed

I have configured varnish on a Digital Ocean server and installed Drupal varnish module. I have confirmed that varnish is running but once i do a test on my site using blazemeter.com the server CPU ...
0
votes
0answers
128 views

Too many “insert” queries to the “cache_views” table.

I have a bad performance in my website. Checking the database queries I see that there are too many "insert" queries to the "cache_views" table. How can I start to trace this problem?
0
votes
0answers
62 views

How to know what beans are not in use?

After looking into new-relic I found that bean_block_info was taking a high % of total load time. In the code I found that this function loads all the beans on first time access (before leveraging ...
0
votes
0answers
265 views

How to optimize performance rendering node with two entity reference fields without using Views?

I'm challenging myself to not use Views and instead rely on EntityFieldQuery() or Dynamic Database Queries. I have a node Event with a date field and two entity field references to artists that will ...
0
votes
0answers
495 views

My drupal 7 is very slow even if I did many improvements

I'm builind a Drupal 7 web site using commerce kickstart 2 distribution, the site became very slow, mainly the admin pages. I read many answers here in stackexchange, and some articles talk about ...
0
votes
0answers
423 views

Commerce Kickstart 2 Admin Functions Extremely Slow Shared Hosting

I'm having a problem similar to some others posted here: Extremely slow performance in Admin for certain operations, most notably: Adding an Order or saving a View. Basically, it -feels- like SQL ...
0
votes
0answers
760 views

Slow loading in edit mode - only on some pages Drupal 7.22

On editing some pages, there's a 20 second wait, and on others it's only 1-2 seconds. Both are the same content types. I seem to always get the following error message: Notice: Trying to get ...
0
votes
0answers
149 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 http://...
0
votes
0answers
256 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, ...
0
votes
0answers
28 views

First site, after content loading

I have a one page template. So, my site is slowly... I use node_load function for all content and want, first css/javascript load, after content load... Is it possible? Any module or other solution?
0
votes
0answers
1k views

How to fix slow queries?

I've logged slow mysql queries on D6 and came up with a large list. So I'm wondering where the queries are located and what is the best strategy to fix them? I also appreciate if you could point me to ...