The problemBy default apache2 is configured to support 150 concurrent connections. This forces all parallel requests beyond that limit to wait. Especially if, for example, active sync clients maintain a permanent connection for push events to arrive.The solutionThis is an example configuration to provide 800 concurrent connections. Please ensure that your apache is using the […]
Postfix et Spamassassin
par julien, juillet 2007 Avez-vous déjà essayer de brancher un serveur mail sur le Net sans configurer d’antispam au préalable ? Je l’ai fait quelques fois, et bas c’est pas triste !!! On arrive vite au point ou checker sa mailbox est un supplice sans nom. La solution c’est de demander à Postfix de soumettre […]
Rsync, tar, cp, ssh
scp scp or secure copy is probably the easiest of all the methods, its is designed as a replacement for rcp, which was a quick copy of cp with network funcationability. scp syntax scp [-Cr] /some/file [ more … ] host.name:/destination/file -or- scp [-Cr] [[user@]host1:]file1 [ more … ] [[user@]host2:]file2 Before scp does any copying […]
Template for Generic Nagios Plugin | blog.jgriffiths.org
I love nagios it’s the perfect way to monitor linux. Monitoring command can be written in almost any language: nagios expects a exit code and a exit string and it works. I write most of my plugins in bash shell. Here is a generic plugin template: #!/bin/bash # Sanity check if [ $# -ne 2 […]
MySQL Error 23 on Linux | Chris Johnson’s Blog
If you have ever encountered a “23 error” you are most likely running MySQL on a windows machine. The error looks something like this: ERROR 23 (HY000): Out of resources when opening file ‘./somedb/sometable.MYD’ (Errcode: 24) What this error typically means is that MySQL has exceeded the limit for the number of files you can […]
irockasterisk: How to set the concurrent calls limit on SIP trunk in Asterisk?
Method2 (preferred): Looking at cons of using call-limit, I decided not to use it even though I found it to be really easy implementation. Similar goal can be achieved via the use of GROUP() and GROUP-COUNT() functions available in Asterisk Dialplan. You don’t have to make any adjustments on SIP Trunk configuration for call limit […]
Onduleur XP 500VA Infosec
Debian Lenny – nut / Onduleur – Z3 Zenergy 700 VA (INFOSEC) Publié le Février 23, 2011 Configuration de nut pour l’onduleur Z3 Zenergy 700 – USB de INFOSEC System : Gnu/Linux Debian 5 – Lenny kernel : 2.6.26-2-486 Nut : 2.2.2-6.5 Vous avez acquis un onduleur. Malheureusement, celui-ci est partiellement supporté par nut (voir […]