815 reputation
611
bio website rafiqmaniar.com
location Dublin, Ireland
age
visits member for 4 years, 1 month
seen Dec 21 at 11:11

Jan
7
comment Improve performance of bind9 service restart
You can specify the "-n <num cores>" option to BIND in order to manually set how many threads to use. On Ubuntu that should be in /etc/defaults/bind9 and something like: OPTIONS="-n 2"
Jan
6
answered Nginx and 1000 WordPress Installs - Optimization
Jan
6
comment Improve performance of bind9 service restart
Oh, also, BIND9 is multithreaded and should be running multiple threads for each core you have, but under the one process. So you'll see 1 process but it should have multiple threads.
Jan
6
answered Improve performance of bind9 service restart
Jan
6
answered LVM -> dd -> LVM?
Dec
28
comment How do I move an Amazon micro instance to a small instance?
On a general note, I spent a lot of time and money once putting into place a super scalable infrastructure in case the site I founded took off. It didn't, and there's something to be said for just getting your site out there on basic infrastructure (i.e. single server) as soon as possible. Have a plan in case it does take off though ;)
Dec
28
comment How do I move an Amazon micro instance to a small instance?
Yes, when autoscaling, you launch the same image with the same architecture and same instance type (i.e. m1.small). Think of an EBS volume as an actual individual disk attached to a server. It is unique to that instance. You can remove it and put it on another instance, but it's not shared between instances. It's only on one instance at any given time. So, you can't have your database on the autoscaling instances because new ones will have a new db. You can use Amazon RDS or make a seperate 'DB Server' instance. Important thing to remember - data from one instance is NOT shared with another.
Dec
27
answered How do I move an Amazon micro instance to a small instance?
Dec
15
answered Server memory constantly usage at 91%, but the website is still in staging (cpu 0%)
Dec
15
comment Can't find the 2nd CPU
Run 'dmesg' to see whats detected on bootup.
Dec
9
awarded  Tumbleweed
Dec
4
comment How can I deploy a scalable, reliable haproxy cluster on Amazon EC2?
That's a good solution (and a good question!) You can use Amazon SNS to propagate configuration changes in a push fashion. You need a notification system for adding/removing nodes from the haproxy configuration.
Dec
3
comment Enforcing a single-use policy with .PDF files
All very true. Even with the solution I posted, encryption can still be broken, and methods like taking a screenshot or a picture can easily be used to workaround your security measures. You cannot ensure the same level of security as in your closed-room meetings.
Dec
3
answered Enforcing a single-use policy with .PDF files
Dec
3
comment On CentOS, mail or mutt never sends my emails
I use AuthSMTP too. Use a ~/.muttrc file and specify the following: set use_from=yes set from="me@mydomain.com" set realname="My Name" (sorry, bad formatting ... not sure how to format these things in comments)
Dec
3
comment On CentOS, mail or mutt never sends my emails
Ah.. yeah.. Exim compiles in the option to never send as root. Can you send as another user? Maybe the easiest way forward is to switch to Postfix or something. Recompiling exim is probably not the way you want to go.
Dec
3
answered On CentOS, mail or mutt never sends my emails
Dec
3
comment CentOS / Redhat: Give file permission for apache and vsftp
+1. FTP is inherently insecure, regardless of the name :)
Dec
3
answered CentOS / Redhat: Give file permission for apache and vsftp
Dec
2
comment IP address in wrong country
Yes, the TLD is given more importance than the IP location, but it is still more relevant to SEO than "not one tiny bit". And if you're doing business in the US, you are likely to NOT have a localised TLD and rather have a .com which is ignored by Google for determining location - IP address applies in the case of com/net/org