I have a system where cameras send photos through a flashair SD card programmed with LUA via FTP to a directory allocated in a subdomain of a dreamhost shared hosting account. I am having a lot of troubles with connections. I tend to get a lot of errors such as: "530 Sorry, the maximum number of connections (10) for your host are already connected." or "530 Sorry, the maximum number of hosts (7) for this user are already connected."
I have tried a lot of ways to minimize the amount of error, now I have just one user, one subdomain per camera. I suspect that the flashair Lua script is sending lots of ftp connections and not closing them maybe.
What is strange is that if I change the servername from "aminedi.dreamhost.com" to "puebla.obrasgicsa.com" (My domain) The errors I mentioned go away.
What could be a possible solution for this? Make my own private vps server? Could I have unlimited amount of connections if that was the case?