OpenVZ file system (simfs) has a limit of files per folder. We reached that limit and we are in trouble...
Which is the best approach to this problem?
Thank's in advance!
OpenVZ file system (simfs) has a limit of files per folder. We reached that limit and we are in trouble...
Which is the best approach to this problem?
Thank's in advance!
We are using Capistrano in some systems as a deploy system. The new sysadmin we have says that our setup is really dangerous and I would like to know how to fix it.
We have a deploy user called "foo" which we use to do the deployment":
cap deploy
This foo user is able to restart apache, clean tmp files and so on.
The problem is that if someone steals our private ssh key and acces to our machines as the foo user, is able to take down the website.
ssh foo@server <-- Able to shutdown apache!
How can we solve this security hole?
Are there other solutions to take in account?
I´m building a url shortener web application and I would like to know the best architecture to do it in order to provide a fast and reliable service.
I would like to have two separate servicies in different machines.
UPDATE:
The service is not a url shortener at all. It was just easier to explain it like that.
I just need one machine that receives one http query and inserts a record on a database. And I need this machine to do this simple task in a very efficient way. The system will run on linux (I don´t know the distro yet) and I´m totally open to any language or technology. I was thinking using Yaws, Tornado or Snap for that service, but I don´t know yet and its time to plan the architecture for that part. The database will be built on Hadoop.
For the third machine I just need to accept one kind of http petition (GET www.domain.com/shorturl), but it have to do it really fast and it should be stable enough.