drupal.org - Deprecated - Performance and scalability http://drupal.org/taxonomy/term/49/0 See the High Performance group en Announcement: This forum has been deprecated http://drupal.org/node/261476 <p>This forum is no longer in use, discussion of performance can be found at: </p> <p><a href="http://groups.drupal.org/high-performance" title="http://groups.drupal.org/high-performance" rel="nofollow">http://groups.drupal.org/high-performance</a><br /> <a href="http://groups.drupal.org/coding-standards-and-performance-optimization" title="http://groups.drupal.org/coding-standards-and-performance-optimization" rel="nofollow">http://groups.drupal.org/coding-standards-and-performance-optimization</a></p> Deprecated - Performance and scalability Thu, 22 May 2008 12:17:40 +0000 catch 261476 at http://drupal.org FTP and Hosting , boost performance ? http://drupal.org/node/498464 <p>Hello everyone</p> <p>I have a 1 gb hosting ftp and 10, two separate accounts of each other. I put the drupal hosting account and my pictures on my ftp 10 giga.</p> <p>Is it that with this procedure, I really gained in performance? . Do you have another little trick to share the burden? .</p> <p>Best regards</p> http://drupal.org/node/498464#comments Deprecated - Performance and scalability Drupal 6.x Mon, 22 Jun 2009 09:39:18 +0000 grandjulien 498464 at http://drupal.org improve my performance please http://drupal.org/node/483854 <p>Hello everyone</p> <p>I come to you for some questions to find solutions, please. I am on a shared supply, and therefore inefficient.</p> <p>A compressed by the CSS and Javascript enabled and the cache. he does other way to boost the performance of the beast? kernel module or Drupal? .</p> <p>The site is beginning to be successful</p> <p>Thank you for your help</p> <p>Best regards</p> http://drupal.org/node/483854#comments Deprecated - Performance and scalability Drupal 6.x Sat, 06 Jun 2009 17:16:58 +0000 grandjulien 483854 at http://drupal.org Limit of account connected http://drupal.org/node/412330 <p>Hello,</p> <p>I've a project for a site with 1500 users accounts in prevision.<br /> So my question is : "is it possible to have 1000 logged in at the same time ?"</p> <p>I've read this article :<br /> <a href="http://drupal.org/node/248730" title="http://drupal.org/node/248730" rel="nofollow">http://drupal.org/node/248730</a></p> <p>But I would like to know if an equivalent web site with 1500 users accounts exists every where, and which is configuration server ?</p> <p>Thank you for help.</p> http://drupal.org/node/412330#comments Deprecated - Performance and scalability Drupal 6.x Tue, 24 Mar 2009 16:48:17 +0000 meinsier 412330 at http://drupal.org VIEW-THEME " can we create own view theme in exixting view for drupal 6.x " http://drupal.org/node/408158 <p>I have a problem in my exixting site ..there are block type view in drupal 6.x..<br /> now i wanna to change the theme of bolck view and add more feilds and "edit title , edit content.<br /> there are no body feild as drupal 5.x.how can we activate the body part for html, php coding...</p> http://drupal.org/node/408158#comments Deprecated - Performance and scalability Drupal 6.x Fri, 20 Mar 2009 09:34:55 +0000 kashpratik 408158 at http://drupal.org Low Memory system.module for Drupal 6.10 http://drupal.org/node/395002 <p>I have created a <a href="http://wtanaka.com/drupal/system-6" rel="nofollow">low memory version of system.module for Drupal 6.10 which can be found here</a>. I found it gave a modest performance improvement with low load performance testing on my development machine. Where it shines is under high load relative to tight memory conditions.</p> <p>With ab -c 100 -n 1000 <a href="http://example.com/user" title="http://example.com/user" rel="nofollow">http://example.com/user</a> on a real site, applying this patch gave somewhere around an 18% reduction in average time per request.</p> http://drupal.org/node/395002#comments Deprecated - Performance and scalability Drupal 6.x Sun, 08 Mar 2009 06:47:49 +0000 Wesley Tanaka 395002 at http://drupal.org white screen error !! http://drupal.org/node/380140 <p>when i add a new post in drupal it make it successfully.. but give me a white screen.<br /> PLZ I Need Help</p> http://drupal.org/node/380140#comments Deprecated - Performance and scalability Drupal 5.x Sun, 22 Feb 2009 15:17:26 +0000 m_dotcomegypt 380140 at http://drupal.org Performance Of the Site http://drupal.org/node/368938 <h3> Performance Of the Site </h3> <p> Hi all I am working on site on which i am planning to put around 1 billion nodes, 1 million term, 300 module enabled, 10 subdomain using domain module, Site Load donot know, its depend on users logged in (may be 100,000 at a time),10-20 Different Themes for users and so on. </p> <p> Now I had Achieved 3 million node, 100,000 term, 178 module, 3 sub domain , 10 users , 3 themes. For these i put APC and i did indexing and database tunning.</p> <p> Please help me by giving information on site of this kind and how to test Performance of the site and any help regarding database. please explain the answer in detail .</p> http://drupal.org/node/368938#comments Deprecated - Performance and scalability Drupal 5.x Wed, 04 Feb 2009 08:26:52 +0000 avinashDrupal 368938 at http://drupal.org phpaccelerator http://drupal.org/node/365214 <p>After I installed phpAccelerator on my server I'm receiving from time to time 500 Internal Error. Any idea why?</p> <p>Thank you!</p> http://drupal.org/node/365214#comments Deprecated - Performance and scalability Drupal 5.x Tue, 27 Jan 2009 22:20:57 +0000 sanatate 365214 at http://drupal.org Scaling up Drupal http://drupal.org/node/349540 <p>Hi,<br /> I wonder, how much can I scale Drupal? How can it be done?<br /> I mean, can it Support 50,000 users with 20,000 using it concurently. In that respect, can it build site like LinkedIn with milions of users?<br /> If it does scale up as CMS can it also be used as development framework to build heavy proprietary applications that are used by such large number of usres? </p> <p>Thanks,<br /> Gili</p> http://drupal.org/node/349540#comments Deprecated - Performance and scalability Drupal 6.x Sat, 20 Dec 2008 19:47:10 +0000 gili 349540 at http://drupal.org Slow loading module list page http://drupal.org/node/342020 <h2>Number one:</h2> <p>On the module list page count of SQL queries more than 1000. </p> <p>In sources I find this:</p> <p><div class="codeblock"><code>&nbsp; drupal_rebuild_theme_registry();<br />&nbsp; node_types_rebuild();<br />&nbsp; menu_rebuild();<br />&nbsp; cache_clear_all(&#039;schema&#039;, &#039;cache&#039;);</code></div></p> <p>I suggest to add check:</p> <p><div class="codeblock"><code>if ($form_state[&#039;post&#039;]) {<br />&nbsp; drupal_rebuild_theme_registry();<br />&nbsp; node_types_rebuild();<br />&nbsp; menu_rebuild();<br />&nbsp; cache_clear_all(&#039;schema&#039;, &#039;cache&#039;);<br />}</code></div></p> <p>After this, queries count bring down to 100+</p> <h2>Number two:</h2> <p>file menu.inc</p> <p><div class="codeblock"><code>&nbsp;&nbsp;&nbsp; foreach ($menu_links as $item) {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $existing_item = db_fetch_array(db_query(&quot;SELECT mlid, menu_name, plid, customized, has_children, updated FROM {menu_links} WHERE link_path = &#039;%s&#039; AND module = &#039;%s&#039;&quot;, $item[&#039;link_path&#039;], &#039;system&#039;));<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if ($existing_item) {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $item[&#039;mlid&#039;] = $existing_item[&#039;mlid&#039;];<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // A change in hook_menu may move the link to a different menu<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (empty($item[&#039;menu_name&#039;]) || ($item[&#039;menu_name&#039;] == $existing_item[&#039;menu_name&#039;])) {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $item[&#039;menu_name&#039;] = $existing_item[&#039;menu_name&#039;];<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $item[&#039;plid&#039;] = $existing_item[&#039;plid&#039;];<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $item[&#039;has_children&#039;] = $existing_item[&#039;has_children&#039;];<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $item[&#039;updated&#039;] = $existing_item[&#039;updated&#039;];<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</code></div></p> <p><a href="http://drupal.org/node/342020" target="_blank">read more</a></p> http://drupal.org/node/342020#comments Deprecated - Performance and scalability Drupal 6.x Wed, 03 Dec 2008 09:36:07 +0000 kilemol 342020 at http://drupal.org Choosing a Hosting Company http://drupal.org/node/335196 <p>Hi All,</p> <p>I am planning to order a virtual dedicated server service plan from APThost.com but I have just found that they do host porn sites with their services. I am wondering if this will affect google's indexing for my site. Please share with me your experiences if you have used their services before. Recommendation of other hosting companies also welcome. (I like apthost.com because they offer very good price and also read some good comments on their services from other rating websites)</p> <p>Thanks =)</p> <p>bb</p> http://drupal.org/node/335196#comments Deprecated - Performance and scalability Drupal 6.x Mon, 17 Nov 2008 03:34:52 +0000 blueblade 335196 at http://drupal.org Drupal with millions of nodes http://drupal.org/node/312420 <p><a href="http://wtanaka.com/drupal/million-nodes-6" rel="nofollow">The (few) problems I've discovered so far trying to run a Drupal 6 site with millions of nodes</a></p> <p>And the corresponding issues I've filed:<br /> <a href="http://drupal.org/node/312393" title="http://drupal.org/node/312393" rel="nofollow">http://drupal.org/node/312393</a><br /> <a href="http://drupal.org/node/312390" title="http://drupal.org/node/312390" rel="nofollow">http://drupal.org/node/312390</a><br /> <a href="http://drupal.org/node/312395" title="http://drupal.org/node/312395" rel="nofollow">http://drupal.org/node/312395</a></p> http://drupal.org/node/312420#comments Deprecated - Performance and scalability Drupal 6.x Tue, 23 Sep 2008 19:14:20 +0000 Wesley Tanaka 312420 at http://drupal.org MySQL (xampp) error while enabling modules on my drupal site http://drupal.org/node/299541 <p>Warning: MySQL server has gone away query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:2339772:\"MySQL server has gone away\nquery: UPDATE batch SET token = &#039;cdbb5786c4572b68d748c885d88b8cef&#039;, batch = &#039;a:10:{s:4:\\&quot;sets\\&quot;;a:2:{i:0;a:12:{s:7:\\&quot;sandbox\\&quot;;a:0:{}s:7:\\&quot;results\\&quot;;a:0:{}s:7:\\&quot;success\\&quot;;b:0;s:10:\\&quot;operations\\&quot;;a:1:{i:0;a:2:{i:0;s:20:\\&quot;_locale_batch_import\\&quot;;i:1;a:1:{i:0;s:46:\\&quot;sites/all/modules/lightbox2/translations/de.po\\&quot;;}}}s:5:\\&quot;title\\&quot;;s:32:\\&quot;Importing interface translations\\&quot;;s:12:\\&quot;init_message\\&quot;;s:26:\\&quot;Starting import&amp;am in C:\xampp\htdocs\includes\database.mysqli.inc on line 128<br /> Warning: MySQL server has gone away query: SELECT data, created, headers, expire, serialized FROM cache WHERE cid = 'theme_registry:pixture' in C:\xampp\htdocs\includes\database.mysqli.inc on line 128</p> <p>Im getting this error now whenever im uploading a module on my drupal site and enabling it. I went through some of the solutions that were posted here but they are not helping.</p> <p><a href="http://drupal.org/node/299541" target="_blank">read more</a></p> http://drupal.org/node/299541#comments Deprecated - Performance and scalability Drupal 6.x Mon, 25 Aug 2008 04:46:27 +0000 y_b 299541 at http://drupal.org Cron http://drupal.org/node/294129 <p>Hello,</p> <p>I have this problem that everytime I run the cron task I receive an error message...</p> <p> * warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\drupal\modules\cck\content.module on line 1112.<br /> * warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\drupal\modules\cck\content.module on line 1152.<br /> * warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\drupal\modules\cck\modules\content_permissions\content_permissions.module on line 35.<br /> * warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\drupal\modules\taxonomy\taxonomy.module on line 1189.<br /> * warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\drupal\modules\flashvideo\flashvideo.module on line 1058.</p> http://drupal.org/node/294129#comments Deprecated - Performance and scalability Drupal 6.x Tue, 12 Aug 2008 02:53:45 +0000 chope_07 294129 at http://drupal.org can't login http://drupal.org/node/292216 <p>i read Pro Drupal Development book , i see</p> <blockquote><p>Since Drupal still uses the LOCK TABLE command with InnoDB tables, be sure to disable autocommit<br /> mode within MySQL, or MySQL and InnoDB will both take on table locks</p></blockquote> <p>i am modify my.ini file. insert " init_connect = ' SET AUTOCOMMIT = 0 ' " ,<br /> but, i can't login my drupal site , why? like 'select' is good ,but insert,set,delete is incorrect .<br /> i from china .sorry just a lot english , somebody help me? thanks</p> http://drupal.org/node/292216#comments Deprecated - Performance and scalability Drupal 5.x Thu, 07 Aug 2008 03:03:18 +0000 mengweifu1985 292216 at http://drupal.org Adding new field in user profile http://drupal.org/node/281288 <p>Hi All,</p> <p> I am working on Drupal 6.0. I have enabled my profile module and done all settings. Now, in the profile page from where we add fields in user profile, listing seven fields which are</p> <p>single-line textfield<br /> multi-line textfield<br /> checkbox<br /> list selection<br /> freeform list<br /> URL<br /> date</p> <p>Now, I want one more field i.e. radio field in the above list. So, may anyone help me to doing such modification. I am unable to do this since I am completely new in both i.e. Drupal and PHP.</p> <p>Thanks</p> http://drupal.org/node/281288#comments Deprecated - Performance and scalability Drupal 6.x Fri, 11 Jul 2008 08:11:21 +0000 arijeet 281288 at http://drupal.org Change in create user account setting http://drupal.org/node/281285 <p>Hi All,</p> <p> I have an issue, is there anyone who can solve my problem? I am using Drupal 6.2 version, the problem is very simple but since I am new in Drupal and PHP also, so I am not able to find out that how to solve this.</p> <p>well, I want a simple modification on the user registration page. in current drupal's reg page user have to fill two field i.e. user id and e-mail address. but I wants user will fill only one field ie his/her email address and this email address will be user id also. </p> <p>if anyone can help me to acheive this, then please tell me the process and the steps.</p> <p>Thanks</p> http://drupal.org/node/281285#comments Deprecated - Performance and scalability Drupal 6.x Fri, 11 Jul 2008 07:55:10 +0000 arijeet 281285 at http://drupal.org Integrating webfm with either storm or pm module http://drupal.org/node/271823 <p>I want to integrate webfm module with my strom module.</p> <p>Is thr any way it can be done ??</p> <p>Integration with either storm or pm module will do gud.</p> <p>Kindly help me to solve this issue.</p> <p>If it can not be done then also reply to this post along with the reason.</p> <p>Any help in this regard will be appreciated.</p> http://drupal.org/node/271823#comments Deprecated - Performance and scalability Drupal 6.x Wed, 18 Jun 2008 05:05:56 +0000 amit_singh15 271823 at http://drupal.org Indexing and scaling a Drupal site with 160,000 mySQL database items http://drupal.org/node/271494 <p>We have a new Drupal website at <a href="http://www.contentrealtime.com" title="www.contentrealtime.com" rel="nofollow">www.contentrealtime.com</a> On our test site (not yet moved to live BETA) we have now added 160,000 records to our MySQL database in the form of eBook data elements (that can be searched, displayed and purchased). We have run into serious "SLOW PERFORMANCE" issues, both the main page of the site and any search we do. Any thoughts on how to tweak indexes or have Drupal respond reasonably to such a database record size? The Admin shows all items are indexed. Anyone sized a server to run this type of database with a Drupal website?</p> <p>Respond to <a href="mailto:jim@contentrealtime.com" rel="nofollow">jim@contentrealtime.com</a> or <a href="mailto:jduster@yahoo.com" rel="nofollow">jduster@yahoo.com</a></p> <p>Thanks!</p> http://drupal.org/node/271494#comments Deprecated - Performance and scalability Drupal 5.x Tue, 17 Jun 2008 13:43:56 +0000 jduster 271494 at http://drupal.org Spammers: a lot of queries to non existing pages http://drupal.org/node/268817 <p>I have big problem: a lot of queries per second to non existing pages like www.site.com/' uri '/' uri '/' uri '/' uri '/' uri '/' uri '/' uri '/' uri '/' uri '/' uri '/' uri '/' uri '/' uri '/' uri ' and so on.</p> <p>My site bandwidth is up 15-20 times up to 20GB per day :(<br /> my server is often downtime...</p> <p>Which module could fight to these types of attacks?<br /> Please help!</p> <p>Thanks for any answer</p> http://drupal.org/node/268817#comments Deprecated - Performance and scalability Drupal 5.x Tue, 10 Jun 2008 08:44:16 +0000 tomceek 268817 at http://drupal.org it's the Hook system realy efcient http://drupal.org/node/262971 <p>I'm wondering if it's convenient that every time Drupal calls a hook it's invoked in all modules that implements it. This fact doesn't attempt against the performance of the site ????????<br /> Assuming you are using using the core modules.<br /> Thanks.</p> http://drupal.org/node/262971#comments Deprecated - Performance and scalability Mon, 26 May 2008 20:20:52 +0000 aenr 262971 at http://drupal.org About Onclick Event http://drupal.org/node/262794 <p>Dear Friends<br /> i made a static page with the help of TinyMC<br /> in my page i want some Java Script calling in onclick Event<br /> and for this i choose Full HTML as input type<br /> but still when ever i submit the page and run the onclick event dissappears<br /> plz help me that how can i call onclick event on my page which creates with the help of TinyMC</p> http://drupal.org/node/262794#comments Deprecated - Performance and scalability Drupal 5.x Mon, 26 May 2008 10:31:22 +0000 adityadubay 262794 at http://drupal.org Event Module functionality http://drupal.org/node/261049 <p>Hi Friends<br /> i have one website where Teachers create events for their students<br /> i am able to create Events with the help of Event module but the problem is<br /> Events created by Teacher is not coming on Group Calander<br /> Like there is a teacher of Mathematics and he is having a group known as Maths and there are 5 students who are member of this group<br /> So whenever Maths Teacher creates event it must appear on group's calander and group members calanders but it will not appear even on Maths Teacher's calander<br /> plz tell me why this is happening<br /> and guide me towards solution</p> http://drupal.org/node/261049#comments Deprecated - Performance and scalability Drupal 5.x Wed, 21 May 2008 11:54:15 +0000 adityadubay 261049 at http://drupal.org Problem of Image in Drupal 5.6 http://drupal.org/node/260947 <p>Hello,<br /> I am doing 1 site using drupal 5.6, in that site, i have put one image .<br /> Problem is that, when we go for new user registration, that image is not displayed, but on the other form, the same image is displayed properly.....</p> <p>Regards,</p> <p>Manjiri</p> http://drupal.org/node/260947#comments Deprecated - Performance and scalability Drupal 4.6.x Wed, 21 May 2008 05:49:35 +0000 manjireee 260947 at http://drupal.org