Archive for the ‘Uncategorized’ Category

My monitrc configuration file to monitor apache2, nginx, mysql, sshd, fail2ban, pureftpd, munin-node, postfix, amavisd-new, courier, cron and rsyslogd on my Debian 7 server.

(more…)

When i tried to login to a wordpress admin page i get banned from OSSEC.
I searched the logs and found various
suhosin[4348]: ALERT - script tried to increase memory_limit to 268435456 bytes which is above the allowed value
The solution was simple. I put
define('WP_MAX_MEMORY_LIMIT', '128M');
in wp-config.php

In debian squeeze and wheezy you can easily reduce Amavisd-new memory usage by adding

$max_servers = 1;

in your

/etc/amavis/conf.d/50-user

Hello world!

Posted: 05/02/2012 in Uncategorized

Welcome to my first blog. Here i will post Linux related stuff and some thoughts.
Most of them will be re-posts from other websites – blogs.
I just collect theme here because i use them most of the time and i wanted to have them online somewhere.
Hope you enjoy your stay and find useful things

grinux