CharlyBr on Mar 9th, 2009Nginx and worker_connections are more than open file resource limit warning
If you encounter this warning message under Linux:
2009/03/09 21:23:19 [warn] 26827#0: 4096 worker_connections are more than open file resource limit: 1024
A solution is to use the command ulimit in nginx start script, just before lunching nginx:
[...]
ulimit -n 65536
[...]
CharlyBr on Feb 24th, 2009Debian Lenny and perl locales warning messages
If like me you just have upgraded your Debian system to Lenny, you probably encounter the following warnings while launching perl:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = “fr_FR.UTF-8″
are supported and installed on your system.
perl: warning: Falling back to the standard locale [...]
CharlyBr on Oct 2nd, 2008Use multiple memcached daemons on FreeBSD
As you may know, when using memcached on 32-bit servers, processes can only address 4GB of virtual memory making the memcached daemon handle only 2 or 3 Gb of memory.
If you want to address more memory, you need to launch multiple memcached daemons.
I wrote an rc script , mmemcached, for FreeBSD to manage this.
To use [...]
CharlyBr on Jul 30th, 2008Follow your debian server updates by email with apticron
apticron is a shell script that send you an email report when new packages are available on your debian server.
Install apticron
As root, do:
apt-get install apticron
apticron configuration via /etc/apticron/apticron.conf
To receive reports on your email change the EMAIL variable in the configuration file. By default, reports are sent to the root user.
EMAIL=”root” -> EMAIL=”you@domain.com”
Reports received
Now apticron will [...]