Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This issue started happening a week after I got a server upgrade, from iWeb. The new IPs that were assigned to me, were on some massive hacker/botnet list; so, for the first while I was getting insane amounts of brute force attacks. I banned as many of the IPs as I could, but they have started again (1 week later).

I'm honestly not sure if this is related, but my system has been exhausted, from a resource point of view. I checked the kernel messages log, and it's calling oom-killer like crazy. I also put in the memory logging to see if I can catch the culprit, but that didn't work, as it wasn't able to log the crucial information. It gets to a point where the server is still online, but the only thing I can do is ping it - can't ssh, or do anything else. Only solution is a restart.

Here is my other question that is directly related to this problem:

Centos server not using SWAP properly and getting OOM

I'm starting to think that this is all related to cpHulk and the brute force attacks. This never happened on my old server with iWeb.

I even asked if I could get assigned new IPs, and they refused.

What are your thoughts? Do you think this is related to the attacks? Should iWeb give me new IPs, as these ones are clearly on an attackers list, and I don't think this will stop.

share|improve this question

closed as off-topic by EEAA, masegaloeh, gWaldo, Andrew Schulman, Katherine Villyard May 21 '15 at 21:58

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

Can we see some snippets of /var/log/syslog (or messages) – Tom O'Connor Mar 26 '12 at 20:04
up vote 3 down vote accepted
  1. cPanel's not known for having the most CPU/Memory efficient processes out there. I'd be pointing the finger in that direction primarily. You could try using a service that injects IPTables rules, such as fail2ban or denyhosts, both of which are a lot lighter-weight and lower level than cpHulk appears to be.

  2. Your hosting provider ("iWeb") should be doing everything in their power to limit the effect of brute force attacks that come from their decision to recycle IP addresses. They should be firewalling the traffic for you, or running some kind of sensible IDS/IPS.

  3. If they're not helping, then I suggest you go find a provider who don't suck balls.
share|improve this answer
Sadly, as cPanel is closed-source, I can't get the source code of cpHulk to give it a quick once over and figure out what it does, how it works, and where it's leaking memory. So I'll just say this. I don't like it. – Tom O'Connor Mar 26 '12 at 20:38
Thanks Tom - I'll keep investigating this. It was never an issue until I migrated everything to this new server, so I'm almost positive that it's related to the attacks. – xil3 Mar 27 '12 at 15:49

Not the answer you're looking for? Browse other questions tagged or ask your own question.