diff options
author | Matthieu Aubry <matt@piwik.org> | 2014-10-08 04:10:00 +0400 |
---|---|---|
committer | Matthieu Aubry <matt@piwik.org> | 2014-10-08 04:10:00 +0400 |
commit | adbbcd6033c3e0a18d1d3428e81bb926858de695 (patch) | |
tree | 7d0bbc0303c5024cb6800977fe463bd3b6d01445 /tests/README.troubleshooting.md | |
parent | 7afc48204e1a0700080dd37b1c5910d5657cd190 (diff) |
note for linux users
Diffstat (limited to 'tests/README.troubleshooting.md')
-rw-r--r-- | tests/README.troubleshooting.md | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/tests/README.troubleshooting.md b/tests/README.troubleshooting.md index a82c84a3da..7582b476e2 100644 --- a/tests/README.troubleshooting.md +++ b/tests/README.troubleshooting.md @@ -4,6 +4,19 @@ If you have problems with running Piwik tests see below. If you cannot solve your issues please [ask in the forums](http://forum.piwik.org/list.php?9) + +## Important note for Linux users: fix for slow tests + +If the tests are running incredibly slow on your machine, maybe you are running mysql DB on an ext4 partition? +Here is the tip that will save you hours of research: if you use Mysql on ext4 partition, +make sure you add "nobarrier" option to /etc/fstab to disable some super slow IO feature. + +Change from: + `UUID=83237e54-445f-8b83-180f06459d46 / ext4 errors=remount-ro 0 1` +to this: + `UUID=83237e54-445f-8b83-180f06459d46 / ext4 errors=remount-ro,nobarrier 0 1` + + ## Using latest GIT version On ubuntu to use the latest GIT: @@ -32,15 +45,3 @@ On your dev server, give your user permissions to write to the directory: $ sudo chmod 777 -R piwik/tmp/ **If you get the MySQL error number `2002`**, try changing the `[database_tests] host` config option to `"127.0.0.1"`. - -## Troubleshooting SLOW tests - -If the tests are running incredibly slow on your machine, maybe you are running mysql DB on an ext4 partition? -Here is the tip that will save you hours of research: if you use Mysql on ext4 partition, -make sure you add "nobarrier" option to /etc/fstab to disable some super slow IO feature. - -Change from: - `UUID=83237e54-445f-8b83-180f06459d46 / ext4 errors=remount-ro 0 1` -to this: - `UUID=83237e54-445f-8b83-180f06459d46 / ext4 errors=remount-ro,nobarrier 0 1` - |