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

Jul
25
comment Is it possible to create a Virtual IP in Amazon EC2
Just to emphasise: Your servers WILL fail at some point. Design for it. With elastic load balancing, you "register" your servers with the LB (rather than configure your LB for the servers) and the load is split between them. When one server (or a whole group of servers!) goes down, they're removed from the LB pool.
Jul
25
answered I Have 5GB Free RAM and 70-130 Apache Processes - Improvements?
Jul
8
answered how to allow root login on vsftpd ubuntu
Jul
5
answered Can a shell script wait for a file to change and take action?
Jul
5
comment Debian squeeze, mdadm. Degraded RAID5 array after each reboot
So if /dev/sde is getting removed is there maybe something wrong with that disk? What does SMART say ?
Jun
24
comment Upgrading PHP from 5.1 to 5.2 on CentOS 5.4
APC is good, personally I prefer xcache, its mostly a preference thing, they compare similarly in benchmarks but I find xcache very simple to manage. And if you ever decide to move to a higher performing webserver rather than Apache, xcache works very well with lighttpd (they're developed by the same person).
Jun
22
answered Upgrading PHP from 5.1 to 5.2 on CentOS 5.4
Feb
12
answered .htaccess htpassword protect, safe enough?
Jan
27
comment Load balancing multiple sites(virtual hosting) in same server with HAproxy
Why are you using a URL filter? The purpose of using a URL filter in HAProxy is to send different URLs to different servers, which is specifically not what you want to do. If you see my example config above, there is no URL filter present. It simply forwards any HTTP requests, regardless of URL, to the two different webservers.
Jan
25
answered Load balancing multiple sites(virtual hosting) in same server with HAproxy
Jan
14
comment Is it possible to upload only files that have been updated into a server?
+1 for using SSH and rsync. Even if you find another solution rather than rsync, you should look at moving off using FTP in general because it's an insecure protocol. Once you're using SSH/SFTP, your problem is solved by rsync too, which is an added bonus :)
Jan
11
comment Different color prompts for different machines when using terminal/ssh?
name@server is particularly unhelpful when using things like the Amazon cloud, because it changes every boot and doesn't convey the purpose of the box or an easily memorable name (user@ip-x-x-x-x). So +1 for this question :)
Jan
11
awarded  Critic
Jan
11
answered How can I change from prefork to worker MPM on CentOS 64bit?
Jan
10
comment No outbound connections for apache2
Also the firewall isn't necessarily on your Linux server, it could be before it in the network ?
Jan
10
answered No outbound connections for apache2
Jan
8
comment which is the best webserver for serving static content and load balancing?
HAProxy can redirect based on URL matches, so i.e. a ".php" URL could get sent to a different server than a ".gif" server. Although the general practice I use would be to have static.domain.com rather than use loadbalancer rewrites.
Jan
7
answered Optimize apache for 10K+ wordpress views a day on 2GB RAM E6500 CPU
Jan
7
comment which is the best webserver for serving static content and load balancing?
Squid in front of backend webservers is a good suggestion but it's worth pointing out that the value of Squid here isn't in its load balancing features but in its caching reverse proxy features. In essence, the Squid box will cache the most highly requested content in memory and effectively reduces the load on the backend servers. Check out Varnish for this purpose too, it performs better than Squid in many scenarios.
Jan
7
answered which is the best webserver for serving static content and load balancing?