Showing entries 1 to 3
Displaying posts with tag: tweaking (reset)
Tweaking MySQL Galera Cluster to handle large databases - open_files_limit

September 18, 2014 By Severalnines

Galera Cluster is a popular choice for achieving high availability using synchronous replication. Though if you are planning to run huge sites with many DB objects (tables), a few tweaks are necessary. 

 

Yes, you might have been successful in loading your 1000s of databases and 1000s of tables, but what happens if you have a node failure and Galera recovery fails?

 

In this blog post we will show you how to determine one common error related to the open_files_limit that MySQL imposes, and also to spot another potential pitfall.

 

Open_files_limit

 

If you are using wsrep_sst_method=xtrabackup or wsrep_sst_method=xtrabackup-v2 then you will find a log file in the data directory of the donor node. This log file is called innobackup.backup.log.

140912 19:10:15  innobackupex: Done. …
[Read more]
TaskFreak! v0.6.2 - Tweaking Priority Menu

Background Knowledge

For some reason or another the priority menu in the edit task panel is not wide enough and therefore it cuts off the priority names. This can be easily fixed by modifying some inline CSS. Yes I agree this should be done within the skin’s CSS file, however there is nothing present in the CSS file to alter that I could find.

Solution

Edit /taskfreak/include/html/xajax_panel_edit.php at line #18 by changing the width value of “40px” to “125px” or to what you desired width.

Code Before

16
17
18
19
<td>< ?php
$objTemp = new ItemPriority();
$objTemp->qSelect('priority',($objTask->priority)?$objTask->priority:3,'','','style="width:40px"');
?></td>

Code After

1
2
3
4
<td>< …
[Read more]
TaskFreak! v0.6.2 - Add My Projects List

Background Knowledge

TaskFreak! presently does not have a means via the web interface to present a complete list of tasks for which the current user is the project leader. I will show you how to add “My Projects” list based on bpiper’s solution with a slight difference. My solution is almost identical to bpiper’s but with a different approach to continue support of the supported interface languages. To do this each supported language file will require to be edited.

Thanks to bpiper for posting your solution.

Solution

  1. Edit /taskfreak/include/language/en/freak.php starting at line #15. Add in a new array key/value at any point you desire like so “‘my_projects’ => ‘My Projects’,” (without double quotes), see below for example.

    Note: Each interface language file will be …

[Read more]
Showing entries 1 to 3