Archive for 'Linux'

ngnix php apc memcached – connection stay active

Well, one client complain because the server start going to be verry slow. After a short look, I see that where over 20k ESTABLISHED connection from php-fpm to memcached server. The main problem was that the server didn’t verify if have a connection active and every time was adding a new one. After a short search [...]

how to set keyword azerty on centos

Well today I face another problem. I use Oracle VM VirtualBox Manager, and because of time consume to install a linux from dvd, I search and download a image from internet. Well everything was good until I boot up and try to write something on that virtual machine. The keyword was mess up. I search [...]

DataStax OpsCenter “not recognize”

Well , today I was trying to install DataStax OpsCenter on a Centos 5.4 ( 5.x ) . After download and configured when to start I see a error. Well this was because on that version the python on that server is 2.4  more exaclty python-2.4.3-44.el5_7.1 . How to upgrade centos 5.x with python 2.6 ? Well [...]

Deleting mail in postfix queue (mailq)

Well another problem. One friend call me  that his server can’t send / receive e-mails. After I got ssh logins I see with mailq that where more then 20000 e-mail on queue. Well I decided to remove all e-mail from queue  but how to do this. Well the magic command is : postsuper -d ALL [...]

upstream sent too big header while reading response header from upstream

In the post http://matrafox.info/firephp-on-nginx-zend_db_profiler_firebug-bad-gateway.html  i modiy fastcgi_buffer_size 16k; fastcgi_buffers 4 16k; However after a few day I nottice that on firefox I have a lot of 502  bad gateway .  So after a short look on log I see *62814 upstream sent too big header while reading response header from upstream So, to fix this I [...]