May 1st, 2009
Apache: MaxClients of 1000 exceeds ServerLimit value of 256 servers.
Published on May 1st, 2009 @ 12:30:11 am , using 138 words, 10527 views
Our apache cluster was not able to serve all the requests so we need to raise MaxClients paramenter on each node. Unfortunatly the new value was exceeding the ServerLimit value so we had to raise it accordingly. Despite this on restart apache was again complaining that MaxClients was exceeding ServerLimit value:
# /etc/init.d/apache2 restart
* Forcing reload of web server (apache2)...
WARNING: MaxClients of 1000 exceeds ServerLimit value of 256 servers,lowering MaxClients to 256. To increase, please see the ServerLimitdirective.
These are the interesting lines in /etc/apache2/apache2.conf.
Can you see something wrong here? It was hard for me to figure out how to fix the problem!
StartServers 10 MinSpareServers 10 MaxSpareServers 20 MaxClients 1000 ServerLimit 1000 MaxRequestsPerChild 0
Here the right one.
The point is: ServerLimit must be put before MaxClients directive!
StartServers 10 MinSpareServers 10 MaxSpareServers 20 ServerLimit 1000 MaxClients 1000 MaxRequestsPerChild 0
Hope this help you!
April 28th, 2009
Oracle Buying Sun, Gets MySQL
Published on April 28th, 2009 @ 11:04:09 pm , using 124 words, 537 views
Interesting news this morning, just as the 2009 MySQL Conference is starting. As is being reported all over the place, Oracle has agreed to buy Sun at $9.50 per share, giving them to a ton of great technology (Solaris, ZFS, MySQL, DTrace, etc.).
One one of the biggest threats to Oracle's core database business (at the low end, at least) for a while now has been MySQL. And now they're poised to own MySQL after Sun bought it not long ago. (It seems like yesterday that Oracle bought Innobase.)
As I noted a while back, the MySQL landscape is changing.
This news is sure to make the conference more... interesting.
Oracle, please get the InnoDB team together with the MySQL team and see about GPLing ZFS.
April 16th, 2009
Load2Test by DBA InfoPower is a the best for MySQL load testing - they can record actual MySQL production traffic and replay it in staging multiple ways, like "as is", "load parallelization", "think time reduction", etc and generate performance issues root cause analysis on a spot.
I used it with number of my customers and it takes no time to do load testing and get analytics and root cause analysis back (like gathering slow-log data without any impact on a system and more), compare runs, etc
They are small startup that operates "under the radar". I got introduced to this product through the person who works there - and I really like the tool!!!
Load2Test official page - load2test.com
| Database Journal News |
|---|
|
July 29, 2010: Examining the Oracle Database 10053 Trace Event Dump File Ever wonder what the Oracle Database Cost Based Optimizer (CBO) was doing behind the scenes or how it comes up with an execution plan? While other tools or settings show us WHAT the CBO comes up with, the 10053 trace event setting tells us HOW the CBO came to its decision (the final execution plan). |
|
July 28, 2010: Building a Data Warehouse Blueprint for Success One of the most integral components and critical success factors of any enterprise data warehousing initiative is the Solutions Architecture document, a high-level conceptual model of a data warehousing solution. Learn why this collaborative effort that addresses the needs of all major stakeholders, including both the business units and Information Technology (IT), is essential. |
|
July 28, 2010: I/O Performance Tuning Tools for Oracle Database 11gR2 Oracle Database 11g Release 2 (11gR2) makes it easier than ever to isolate and identify potential root causes of poor I/O performance. This article focuses on the various Oracle and non-Oracle tools to generate sample workloads to provide sufficient metrics for detection and eventual resolution of performance bottlenecks within the database's underlying input/output (I/O) subsystem. |
|
July 27, 2010: Five Handy Tips for MySQL's Powerful UPDATE Statement Rob Gravelle explores the MySQL UPDATE statement, which is used to modify existing records in a table. Among its many features, he looks at how to update multiple tables, avoiding mistakes, and how to limit how many rows are updated. |
|
July 26, 2010: IBM DB2 pureScale: The Next Big Thing or a Solution Looking for a Problem? In October 2009, IBM announced that some rather neat technology known as data sharing would be delivered for the IBM DB2 for Linux, Unix and Windows product, in an optional facility dubbed pureScale. Julian Stuhler takes a closer look at this technology and the possible implications for the entire IBM DB2 world. |
|
July 26, 2010: Implementing SSIS Package Configurations Marcin Policht demonstrates how to leverage SQL Server Integration Services (SSIS) package variables in order to modify SSIS properties without directly editing package content. |
|
July 23, 2010: Going Mobile: Data Management Solutions for Mobile Devices Crunched by the economy and squeezed by competition, businesses and consumers alike are turning to mobile computing. This report wraps up our overview of the top contenders in the mobile database market with a look at Sybase SQL Anywhere and SQLite. |
|
July 22, 2010: Gain the Competitive Advantage: Data Management Solutions for Mobile Devices Today's workforce and consumers have become increasingly mobile. Businesses crunched by the economy or squeezed by competition look to mobile computing to gain a competitive advantage. This report examines the top contenders in the mobile database market space, starting with SQL Server Compact, Oracle Database Lite and IBM DB2 Everyplace. |
|
July 21, 2010: SQLAntipatterns: Avoiding the Pitfalls of Database Programming Learn how you too can stamp out common database errors and learn a lot about relational databases along the way. 'Ambiguous Groups' is extracted from 'SQL Antipatterns', published by the Pragmatic Bookshelf. |
|
July 21, 2010: Solve Database Performance Tuning Problems by Monitoring CPU Resource Consumption Constantly watching CPU utilization is critical to a database administrator's understanding of their database system. The sar utility, while seemingly small and insignificant can and should be used to help initially determine if any high-level CPU resource usage is out of balance, potentially pointing to database processing that requires tuning. |