Archive for the ‘openvz’ Category

Asterisk works under OpenVZ (no zaptel)

April 19, 2007

Hi,

Just to let you know that I did a basic test with asterisk on an OpenVZ VE and it works. We only tested SIP connectivity (it would probably be complex to have Zaptel support and I don’t really need it). We were able to connect to a VoIP provider using SIP (unlimitel) and music on hold works.

The only thing I had to change to make it work is to comment out this line in /usr/sbin/safe_asterisk:

#TTY=9 # TTY (if you want one) for Asterisk to run on

(I guess there is no TTY9 (console # 9) on openVZ since it is a virtual machine and TTY9 is usually a physical console (monitor)).

I’ll soon put my asterisk server in a VE, I’ll let you know how it goes. I also use Unlimitel and ATAs to link my PSTN line and cordless phones.

Virtual Private Servers Pitfalls

September 2, 2006

It didn’t take much time until I found pitfalls with VPSs. Today, I got bit by memory problem. My VPS had 128 MB RAM max. Before installing my usual packages, the memory usage was around 20 MB. Nothing! :) . But then I installed my packages, forgot to tweak apache to minimize memory requirement. Installed mysql for cacti, configured cacti…

Then, this morning, I realize that many processes were missing on my VPS. Why? I had enabled the yum daily cronjob…. mistake! Do you have an idea of how much memory yum uses? Too much.

Tektonic told me that they stopped selling UM0 packages because of that: too many clients having memory problems. I upgraded my plans to UM1. I’m wondering though… how does Vpslink do with the smallest plan, only 64 MB RAM!

I can’t end this post without adding again how much helpful the folks at Tektonic have been up to now.