shared web hosting and CPU quotas
It is known that overloading of the servers are actually sharing a very serious problem, this type of problem causes discomfort in several hundreds of websites, which usually belong to tens or hundreds of different clients. MENARES This causes discomfort to a large number of customers at once.
Avoid overloading?
Stress server hosting and shared web hosting as well as dedicated servers are caused by multiple causes, but among the most common are:
1. On use of the email, often associated with the sending of spam:
Preventing a user to send more than X amount of emails per day, or at least the number of Anti-mails sent each.
2. On use of the Web, usually one or more sites that receives several thousand hits a day on average:
Systematic review of all apache processes running, that% belongs to each domain and keep track of usage statistics for each domain.
3. On utilization of the database, it happens that one customer has a standard DB with too many records in the tables:
Check the statistics for use by managers of DBS DB for very large used periodically.
4. The use of database, number of simultaneous connections:
Limit the number of connections per hour for each user in the DB manager to avoid abuse of the number of simultaneous connections per user.
5. Amount of memory consumed by processes:
Limit the amount of memory used by each process of each user.
These measures, at a very basic level because they can be improved and specialized, they can gradually make improvements to the stability of the service of our dedicated servers and web hosting.
Spam Control Dedicated Servers:
Currently the traffic is really consumed by spam, or better known as “spam” we receive every day. Mailbox to mailbox received some, but others, some less, but looking globally between all mailboxes traffic wasted getting this kind of post is incredibly significant.
Precisely for this reason it is necessary to combat spam from all the alternatives and possibilities we have at hand.
In this case we will comment on this type of spam basically related to the service of web hosting and dedicated servers.
It is this type of case is mostly a series of tools called filters that basically analyzed word by word of every email that enters the server queue, according to the type of words and certain rules then there is a score to measure the probability that This email is considered an unwanted email and then a decision is made to it, move it to either a waste or tail of the client with a pass or identification mark (eg: add the word Spammer in the subject) so that the mail client can take action with this type of email marked.
One of the tools of this type is commonly used spamassassin; is effective to some extent so that their use should be considered.
This method of fighting spam is the difficulty that the mail is received in its entirety in the mail queue on the server and is then “classified” to some extent by the filter, which helps the client to be less bothered but the mail came the server so the bandwidth consumed was inevitably some other side effects are that when the receipt of spam from the dedicated server is massive (several emails in a short time interval) the server may rise as a result of prosesamiento Email classification for spam or not, is known as the peak loads on dedicated servers are dangerous because they can, under certain circumstances, cause problems in the stability of services.
As I mentioned before this method, although customer support Web hosting or ended in the owner’s mailbox, it does not prevent that email is received on the server and therefore consumes bandwidth inevitably.
So how to solve this problem?
Well, there are different solutions for different mail server, in the case of qmail, there are several that I am very effective in attacking the spam mails before they arrive at the dedicated server and consists of a series of patches to the mail server such as allowing analyze the server several rules, based primarily on the mail headers (eg mail from> rcpt to, and subject headers some special too) and find words within those headers criminalized abortion or closing the connection as a result have found at least one word of this kind.
This way the smtp connection is interrupted, and the email does not go to the mailbox of a dedicated server so that traffic does not consume any.
There are other methods maybe a little better or more accurate than to resolve this problem, but the web hosting world do not apply because it interferes with quality of service.
Tags: shared hosting