| KVM and I/O problems (feed) KVM and Postgresql Problem: So we had some trouble with a Software Raid 1 and our KVM Virtual Machines, the writing and reading speed was just bad. But this was only for paralle wirte/read requests. So doing single test like dd or even bonnie didn’t show the problem. A friend of my helped me out. The problem is the writing scheduler. After i know this I found in a post here, followed by the first link:
Fixing this using the io scheduler of the SCSI HDD/Raid 1. Disabling it via on a live system. echo noop > /sys/block/queue/scheduler Enabling it into the system by editing /etc/grub.conf with option elevator=noopSources:http://www.gnutoolbox.com/linux-io-elevator/http://blog.bodhizazen.net/linux/improve-kvm-performance/http://lonesysadmin.net/2008/02/21/elevatornoop/https://www.redhat.com/magazine/008jun05/features/schedulers/ (This is an imported feed item. You can read the original item at http://blog.akendo.eu/kvm-io-problems/) Akendo 10 months, 3 weeks ago, 0 Comments | |
| MySQL to Postgresql (feed) I dislike MySQL. I never did like it, since Oracle bought Sun it starting to become more then just disliking it. I prefer to work with Postgresql. I want to migrate some of my MySQL DB to Postgresql. (This is an imported feed item. You can read the original item at http://blog.akendo.eu/mysql-postgresql/) Akendo 1 year ago, 0 Comments | |
| How to deploy wsgi with apache (feed) Related to the previors Post, i hade now to apply from virtualenv to a apache webserver. I used to deployed it with the WSGI. For that you need to enable the mod_wsgi in apache2. To enable it in debian:
Now disabling the old mod_python in the configuration files. Add this to the top of your virtualhost file:
This is it. Some details: Important is to set a WSGIDaemonProcess, it allows to specifically the resource that the WSGI Process can use. Then the $GROUPENAME(Set it as you like to), so when you have more then one WSGI implementation, that the WSGI no interfering each other. There still some more options possible. (This is an imported feed item. You can read the original item at http://blog.akendo.eu/deploy-wsgi-virtualenv-django/) Akendo 1 year ago, 0 Comments | |||||
Bulding a virtualenv (feed)virutalenvVirutalenv is a python program that allows you to create system separate container with an own version of python/pip. All installed packages(with pip) are store there. This allow a developer to install all necessarily packages into the userspace. It’s smoother and allow to have separate version of the same project, for example django. Akendo 1 year, 1 month ago, 0 Comments | |
Enable remote access for PostgreSQL (feed)Remote access to a Postgtres DatabaseIn the last days i have worked a lot with PostgreSQL. We have some Django Application which needs some extra SQL love. I have a installation script what insert all the script to the extra SQL into the database. The Problem: ” How to do this on a remote database host, without coping everything to it more often?” A try with psql command show also support for remote host. The great thing about psql is that will automatic using a SSL connection. Read here more http://blog.akendo.eu/enable-remote-access-postgresql/ Akendo 1 year, 2 months ago, 0 Comments |

