Search through our group's posts (events, discussions, jobs, etc.) and their comments here. Results are displayed in order of post date. Use the pager below to browse results.
Site slow on only one server
Hi folks. I'm looking for some feedback and advise on a odd performance issue.
We have a Drupal 6 multisite that we've developed that currently houses 7 sites. The sites themselves are, as Drupal sites go, not particularly exciting or complex. It even has fewer modules than most sites we build. (All of the sites use the same modules and configuration.)
On our development server, performance is fine.
On the client's test server, performance is fine.
Read moreE accelerator Segmentation Error
Eaccelerator is causing a Segmentation fault on our server. When the segmentation fault occurs the site is accessible, only the node pages are not. There is no error logged in the eaccelerator log. Only error logged is a segmentation error in apache:
child pid <22103> exit signal Segmentation fault (11)
On restart the site starts functioning and error is fixed.
The server conf details:
Hardware Component:
2 Seagate \ 146GB:SAS:15K \ ST3146855SS
4 Generic \ 2048 MB \ DDR2 667 ECC
1 Intel \ 2.13 GHz 1066FSB - Kentsfield \ Xeon 3210 (Quad Core)
Autologout in High configuration sites
What is the effect of Autologout vs having active sessions for all users on high configuration site?
The session for an anonymous user is based on the PHP settings: in php.ini, session.gc_maxlifetime = 1440
Read moreAny alternate logging system to reduce the load from a statistics module?
Read moreIf your server has high load you may consider following approach:
1. Use logs of server (i.e. Apache) + awstats updated by cron.
2. run awstats to parse log on another server or nightly when no load.
3. Apache work slower with logging. I prefer to log only php,html - content, no jpg,css,js etc.
4. Why Apache? nginx works much faster. nginx + php-fpm + e-accelerator 2-3 times faster and don't use so much memory like apache.eaccelerator.shm_size="16" - you may consider to add some memory here
eaccelerator.compress="1" - there is no need if you use gzip/deflate in apache.
In reply to kbahey: apache vs nginx
Well, I read your article about fcgid.
Let's talk about architecture of apache + fcgid and nginx + php-fpm.
fcgid and php-fpm look similar in the way they spawning processes.
Both use preforked processes of php and respawn about 1000 times of running script.
Apache and nginx both use fastcgi to call php from itself.
Hence, the difference is between apache and nginx.
As i know, apache run by default 4 preforked processes and pass request to one of its workers.
fork is the only stable model of apache in linux. http://httpd.apache.org/docs/2.2/mod/event.html - experimental
Tips with tracing performance issue please
When I saw this posting, http://groups.drupal.org/node/20494, I thought déja vu but as it turned out, no such luck, though the end result is the same, or worse.
Situation:
development server: XAMPP 1.6.8 on vista premium, PHP Version 5.2.6, acquia drupal 6.10, eAccelerator 0.9.5.3 (couldn't get binary for APC for this PHP version).
Staging server: Ubuntu 8.10, PHP Version 5.2.6-2ubuntu4.1, APC 3.0.18
Read moreMultiple Drupal sites same server. How beefy?
We've got an issue with one of our servers that hosts multiple drupal sites. It was running just fine, and now there's a problem. We're looking to see if there are any other issues causing the server slow down. We're also reassessing our server requirements and so what kind of machine would we need - how many sites can you run serving what n number of requests? I know there's a bunch of variables, how many modules etc... but i'll try and be as specific as possible.
Read moreOptimizing Nodequeue Database tables
I suspect that the tables in the Nodequeue module can be optimized, but I'm not sure how to start. Nodequeue allows people to create arbitrarily ordered lists of nodes, and consists of queues and subqueues. A subqueue is a distinct list of nodes that inherits properties from its parent queue. Nodequeue's Smartqueue API allows modules to define new types of subqueues, such as a subqueue per-user or for each taxonomy term of one or more vocabularies. Below is the desc output of nodequeue's tables.
Read moreDrupal and Jmeter
In my never-ending quest to run larger and more complex drupal stacks for more and more users, I'm starting to hit the wall in what I'm able to accomplish with good old Siege, which has been my command-line tool of choice for benchmarking and performance testing for the past couple years. In particular, it breaks down too often in high-load simulations, and doesn't allow for any complex multi-threaded testing, making it very difficult to model near-reality user scenarios like "10 logged in users + 100 anons".
Lately, I've been getting into Jmeter, which has a lot more bells and whistles -- including a GUI! -- and which I think can offer a lot to Drupal developers. However, their basic web test plan barely scratches the surface of what's possible. With the right configuration, jmeter can effectively simulate complete user-behavior patterns like logging in, posting comments, etc.
I'm just getting started, but am curious if people "out there" are already way ahead of me, or if not if folks are interested in seeing the results of my testing work?
Read moreNeed to improve page execution time
I'm using Amazon EC2 small instance with EBS, which according to Amazon is:
Small Instance (default)*
1.7 GB memory
1 EC2 Compute Unit (1 virtual core with 1 EC2 Compute Unit)
160 GB instance storage (150 GB plus 10 GB root partition)
32-bit platform
I/O Performance: Moderate
Software wise:
Web server Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.5 with Suhosin-Patch mod_perl/2.0.3 Perl/v5.8.8
MySQL database 5.0.51a
I've installed APC and cache router, but wasn't really able to tell if it's working:
http://drupal.org/node/434950
http://drupal.org/node/436236




