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

learn more… | top users | synonyms

1
vote
1answer
21 views

Is there a way to force some block caching despite system block caching option is disabled?

In /admin/config/development/performance settings page, my "cache blocks" options is disabled due to "Block caching is inactive because you have enabled modules defining content access restrictions." ...
1
vote
0answers
23 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?
0
votes
1answer
46 views

Drupal 7 - How and where would I be able to enable/disable gzip compression? [closed]

In drupal 7 where would i be able to enable/disable gzip compression? is there a module for this functionality?
1
vote
1answer
52 views

How to get rid of Deadlocks and Lock time out type issues?

I read multiple blogs, tired of google it but didn't found any satisfaction from any solution. I have the following issues : PDOException: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found ...
-1
votes
1answer
16 views

Custom module: working with nodes/field_collections/entities [closed]

I have build a custom module to upload an image where you can drag & drop icons on. This happens with jQuery UI and I have integrated it with Drupal. Now I create a field_collection for every icon ...
0
votes
2answers
31 views

Delete all users and there content apart from user 1

I have been asked to help look after a Drupal site that was created by a third party. This site has lots of users (~13,000) and for each user lots of items of content was created. I want to clean the ...
0
votes
1answer
12 views

Which modules help with loading of large images in a nice transition?

Currently I am using the single_page module that does the anchor page sliding thing on the page, but currently I'm loading big images onto this single page. Which modules or recommendations on how to ...
1
vote
1answer
855 views

Eliminate render-blocking JavaScript and CSS in above-the-fold content

I am Building a Drupal 7 site. Thess are some of the modules I use (it may help you understand which CSS & JS I use): Adaptivetheme (theme), Views & content panes, Panels & Mini panels ...
0
votes
0answers
16 views

Organic Groups - Versioning Role Assignment Changes

One of the content types on our site is "Articles". Each article has users assigned to different roles: author, co-author, reviewer, chief editor, admin, etc. Organic groups seems to be a good choice ...
3
votes
2answers
73 views

Minimizing the time taken for entity_load while using for apachesolr indexing

I am working on a site with a specific node type that has close to 50 fields, most of which are taxonomy term references, a couple of node references and a few conventional text and integer values. ...
4
votes
1answer
113 views

How to speed up node add form with around 50 fields?

I had a node add form with around 50 fields, mostly text with 1 field collection (with another 5 fields) and a few entity and term references. The page is taking around 30 seconds to load making it ...
0
votes
1answer
39 views

How to know what is slowing down my drupal site

My site is still in early stages of development and the page load is getting slower day by day. Even though i really think twice before installing a module for something and try to get it done with ...
1
vote
1answer
188 views

How to load the images in views using ajax?

There is a website with rich content (high resolution images). I wish to load that view block contents (3 view blocks), but not the image, during the page load. Image should load in AJAX after the ...
1
vote
0answers
27 views

Page views / hardware - Drupal.org

How many page views does drupal.org get each month? and what is the infrastructure used there?. I found this page about the infrastructure of drupal.org. It says that it's a relatively accurate list ...
0
votes
1answer
25 views

How to desactivate jquery_update logic for the homepage

The objective of this is to remove all legacy javascript files from the homepage except for the new javascript files I specifically want to load. Here is how I remove all the Javascript files I don't ...
0
votes
1answer
47 views

How to limit the number of authenticated users logged in simultaneously?

I'm building a project for a client who asked for: Limit the number of authenticated users logged in simultaneously. For example the site won't allow more than 20 users to be logged in at the same ...
1
vote
1answer
33 views

Custom Top Admin Menu: Intergrating Permissions

Looking into build a top bar to be used for clients for quick access to edit/add pages. Big question I have is, how do you hook this into the Permissions module in core? Say if I want to allow another ...
1
vote
1answer
20 views

What does General Cache Wipe mean

The definition of CACHE_TEMPORARY used in cache_set reads as follows. CACHE_TEMPORARY: Indicates that the item should be removed at the next general cache wipe. I am just curious as to what ...
0
votes
1answer
104 views

Long wait time for website and taking too much CPU+Memory [closed]

My drupal site is taking too long wait time, and it uses CPU + memory. My server setting is 16GB RAM, 8 processors. So it is good. I am using Commerce Kickstart distribution have enabled 180 ...
2
votes
1answer
144 views

Whenever I edit/update a node all the page caches for anonymous user are lost

I have the following cache settings on the performance page I have visited a few pages as anonymous user and made sure that they are being cached. Now I log in as admin in a different browser and ...
0
votes
1answer
44 views

Performance - custom php block or views to use in panels

I use panels to display block with node title on a custom position. My question is about performance - what is faster - to use following php code inside block <?php $node = menu_get_object(); ...
0
votes
1answer
45 views

Why is search disabled by default for anonymous users?

I noticed that search is only permitted to logged in users on drupal.org and I'm wondering why. Apparently it's also disabled for anonymous by default in Drupal 7, and I see people discussing how to ...
1
vote
1answer
165 views

Drupal files on NFS, performance degredation

Many people use NFS to keep the sites/default/files directory outside of the normal webroot of a Drupal install. However, I'm running the entire Drupal install over NFS. When the site has not been ...
0
votes
1answer
36 views

Is there any performance implications in calling a view programmatically and set necessary filters?

I have a view that list some items depending on the current node loaded. I also want to add few exposed filters to the view. The exposed filters cannot be shown to users directly. I want to provide a ...
1
vote
2answers
121 views

Query takes nearly 6 secs. Is it ok? [closed]

I switched on Devel logging on site (shop on Drupal Commerce), went to Shop->Orders and saw that 3818.231 views_plugin_query_default::execute P A E SELECT commerce_order.order_id AS order_id, ...
0
votes
1answer
31 views

How to properly works in Chrome as a Drupal administrator? [closed]

Not sure if is there I can do from the Drupal side, then I'll close this question if not suitable here... I use Chrome to admin my drupal sites and I noticed that after some hours (let's say 3 or 4 ...
0
votes
0answers
21 views

How to improve performance term view

I built site with about 70k nodes (in 700 categories). View which show term nodes and childrens work slow. Rendering one term view take about 8-13s on 16 GB RAM machine. I use Boost for caching page, ...
0
votes
1answer
112 views

My hosting provider ask me to use xCache instead of the built in Drupal cache system

Just that I have a problem with a website (Drupal 7), the server falls down every night. My hosting provider ask me use xCache instead of built in Drupal cache system. Does it make any sense?
0
votes
1answer
57 views

Whats causing Drupal to freeze when creating/editing a mini-panel?

I'm quite new to drupal. Drupal has been freezing for me when I try and create or sometimes edit a minipanel. Once I select the panel layout and start adding content it just remains in the lightbox ...
3
votes
1answer
176 views

Advices for tunning my server for better performance and scalability

I am working on a web application which will primarily be used by authenticated users. The web application imports records from CSV files using the Feeds module, MongoDB was chosen to store this data ...
0
votes
1answer
51 views

Context Module Rehashing Blocks Slows Website on Development

So I'm working on a big website that runs fine on live (A bit on the slow side, but not unbearable), but when it comes to development servers it runs like ass (30 seconds to load a page ass). I used ...
1
vote
1answer
64 views

Performance -> Caching

In Configuration > Development > Performance, in the Caching area, [Cache pages for anonymous users] and [Cache blocks] are unchecked. When I check them and save, the page reloads and both boxes are ...
1
vote
0answers
41 views

Configure Read Replica in Drupal [closed]

I have hosted my drupal site on amazon and wanted to scale the dbserver to handle the increased traffic. I have enabled Read Replica of dbinstance of RDS. I dont know what all changes have to be done ...
0
votes
1answer
38 views

Turn off cron and hook_cron for every module in Drupal

How can I turn off cron and disable implement of hook_crons in every modules in Drupal my site is Drupal 6 Thanks
1
vote
2answers
96 views

Is it a good idea to split a Drupal site into multi-site one for editors/admins and another for front end users? [closed]

To illustrate: I have a multisites with a shared db edit.example.com and site.example.com. They share many tables but do not share all (a work in progress to determine what exactly need to be share). ...
1
vote
0answers
49 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: ...
0
votes
0answers
35 views

Drupal website page load time over 90 second? [duplicate]

I am new to Drupal. I have been completed drupal7 website, but it load page very slow over 90 second. The site name is: http://example.in/drupal_7/ Please check page speed test result this page: ...
2
votes
1answer
136 views

The correct and optimal way to check language and print field depending on language, without affecting performance

I have a multilingual site, and for many reasons (don't ask why) I'm not using the Entity Translation module. Instead, I have 3 separate description fields for each language, and I want to print those ...
3
votes
2answers
336 views

CPU spikes enabling / disabling modules when site is under load

We are in the process of migrating our website to Drupal 7 and we had a failed launch this past week. We performed load testing and were certain that our server was going to work just fine with our ...
6
votes
2answers
211 views

What trigger menu_rebuild flag in semaphore table?

Well, this question appear to be simple, but my problem is a little bit more complex. I'll try to explain my situation. I have a site with customized template and a bunch of modules (all 3rd party ...
0
votes
1answer
144 views

Slow page loads - unable to determine the cause

I am experiencing ~ 6 second page loads on every page of my Drupal 7 site. All of my scripts are loading from cache and relatively quickly except one, which will take 5.6-5.9 seconds to load (I am ...
1
vote
1answer
591 views

Why is the expire header set to some time in the past ('Sun, 11 Mar 1984 12:00:00 GMT') in Drupal 6/ PressFlow and Drupal 7?

I have been trying to understand why the expires header is set to the past. I read the comment In boostrap.inc drupal 6 but I am still a bit confused about it and the relation between expires and ...
0
votes
0answers
41 views

Very long time to the first byte [duplicate]

I recently migrated my website to a new host and the time to first byte (pretty much the same thing Devel calls time to create page?) has increased from under a second to over five seconds. My site ...
0
votes
2answers
152 views

Reset boost cache in a busy site without crash

We are having a high traffic Drupal 6.x site (25,000) uniques per day, mostly landing pages. Everythings works OK, with great performance, until we try to reset the boost cache. Once we reset it, ...
0
votes
0answers
83 views

Sort nodes based on the result of a user-dependent custom algorithm

A content type has a (single value) field and each user entity has a couple (single value) fields. There's a custom PHP function that calculates a 'score' for those content types based on the node ...
1
vote
1answer
94 views

Does using Views & Panels on every page will effect site performance (speed)? [duplicate]

I am building a community site. The site would have A LOT of data on it. I thought about creating a lot of content pane with views, and use them with panels - for every page. I will be happy to ...
0
votes
1answer
268 views

Embedding views in tpl files

I need an advice. Is there any downsides when embedding views in the page/node tpl files like the following: <?php print views_embed_view('course_videos', 'block_1'); ?> and this <?php $key ...
0
votes
0answers
67 views

Is it a good idea to create a mysql memory table for session instead of using memcached integration?

Based on the Memcached Integration documentation for Drupal, I realized the session handling is not fully functional in memcached especially if there are not multiple servers for Memcached. As an ...
1
vote
1answer
72 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 ...
0
votes
2answers
311 views

Watchdog table inserts taking too much of time

On my localhost on Windows 7 sometimes a page load(after all cache clear/cron run) takes even 2 minutes. I've already enabled devel query log generated at the bottom of site showing query ...