Questions tagged [performance]

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

Filter by
Sorted by
Tagged with
1
vote
2answers
407 views

Improve performance by using drush functions instead of Drupal module functions

I am trying to improve the import performance of a drupal website we are working on. The site makes use of the queue api to import individual items. Currently this process is very slow. I have hear ...
0
votes
1answer
292 views

Boost crawler - maximum time to use for crawling on every cron run?

I have a drupal 7 site. The site is really big and has few content types, and a lot of content. I use boost and Cache expiration to improve performance. I will be happy to get some information ...
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 ...
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 ...
0
votes
1answer
448 views

DB queries fast, Apache response slow, high PHP CPU

Working with D6, trying to get a page running more efficiently. I made a lot of progress by installing the Cache Backport module and configuring Redis, so devel shows my DB queries are a fraction of ...
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 ...
0
votes
2answers
3k views

DrupalDatabaseCache is causing performance issues

I have devel query log / page execution time enabled on my site and most of the queries which are slowing down my site are related to DrupalDatebaseCache. DrupalDatabaseCache::set Sample Query : ...
0
votes
2answers
5k views

Drupal 7 Really Slow on admin pages

I have a Drupal 7 installation and several admin pages are incredibly slow and time out after 30 seconds. I've tried several things without success: APC is enabled innodb_buffer_pool_size is set to ...
5
votes
2answers
2k 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
254 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?
8
votes
1answer
5k views

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?
15
votes
2answers
21k views

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

I read multiple blogs, tried to google, it but didn't find any satisfaction from any solution. I have the following issues : PDOException: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found ...
3
votes
4answers
2k 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
30 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 ...
30
votes
2answers
33k views

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

I am building a Drupal 7 site. These are some of the modules I use: Adaptivetheme (theme), Views and Content Panes, Panels, Mini panels, Panels everywhere, Page manager, Superfish for menus, Addthis, ...
3
votes
2answers
1k 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. ...
7
votes
1answer
1k 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
769 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 ...
3
votes
1answer
2k 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 ...
0
votes
1answer
51 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 ...
-1
votes
1answer
595 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
89 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 ...
4
votes
1answer
848 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
2k 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 ...
3
votes
1answer
2k 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
176 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
109 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 ...
2
votes
1answer
2k 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
111 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
903 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
78 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
1answer
723 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
534 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
659 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
176 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
94 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 ...
0
votes
1answer
325 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
423 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
424 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: ...
3
votes
1answer
1k 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
1k 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
3k views

What trigger menu_rebuild flag in semaphore table? [closed]

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
742 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 ...
4
votes
1answer
14k 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
2answers
499 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, ...
1
vote
1answer
1k views

Can I host Drupal alongwith Google App Engine?

I am new to Drupal as well as Google App Engine. I want to create a scalable website with few specialized apps in Google app engine and integrate with Drupal. Given both the platforms are extensively ...
1
vote
1answer
345 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 ...
2
votes
1answer
1k 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 =...
1
vote
1answer
106 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
2k 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 performance....