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.
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
(This is an imported feed item. You can read the original item at http://blog.akendo.eu/kvm-io-problems/)
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.
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/)