- Joined
- Aug 10, 2011
- Messages
- 270
- Reaction score
- 23
Hello guys, I don't know if anyone on here can help me but my httpd.exe is using 100% CPU sometimes, is there any fixes?
So what you're trying to say is that when you clear the access logs, the CPU issue stops? Have you actually tried reading what's inside the logs rather than letting it fill up?Well here's the thing, it'll range from say 80-100 CPU very quickly (like goes up and down) but it'll prevent people from accessing the site, now when I clear the access log of it's data, it's fine, until it get's into a big file. The access log file goes extremely big in a short amount of time.
Hello guys, I don't know if anyone on here can help me but my httpd.exe is using 100% CPU sometimes, is there any fixes?
Can't really say thatThis is indeed a DDoS Attack, this is called "Layer 7 Attack / GET or POST Flood", it will cause apache to use 100% of CPU and also some ram, depending on your setup. If you check the access_log you will see probably a 'bunch' of entries with a repeated url, that's the behavior of this type of attack.
You can fix it, by using a good Layer 7 mitigation service, taking the forum sponsor one as example :
To view the content, you need to sign in or register
This service will be able to eliminate this issue completely and keep your webserver running properly.
PS: You can still login to your server/vps, because this attack is not able to completely bring your server down, but it is capable of keeping it in a 'busy' condition, hence why the high resource usage.![]()
No Terrum he's right I had a-look at the access log and jesus christ it was thisTo view the content, you need to sign in or registeranyway, I can't afford the sort of protection no-way, but if it's that how come most Hotels don't get attacked like this surley not everyone has Layer 7 protection.
That's how it works lately, if they can't DDoS you with Layer 4 attacks, they will try Layer 7 attacks and if even that doesn't work, they will start to try exploiting the emulator... So either you are prepared or you are not, there aren't much options.
As you see in your screenshot, that attack is even bypassing CloudFlare, so they will play hard.
![]()
I didn't deny it was an attack, I was mostly just saying that you can't say what it definitely is until there's evidence of it.I would move to IIS but it always causes problems, I just don't want to risk it tbh.
IIS will not fix this issue, and actually IIS is less efficient than apache, because with apache the multi-threading abstraction is much better and interactive, the thing is whether you are used to do it or not and many people actually don't know about most possible configuration scenarios when dealing with apache, but regarding the attacks, doesn't matter whether this is IIS or Apache, because actually 'both' will use your entire CPU during this type of attack (I'm speaking from experience).
Thanks man, words of wisdom from Max ey?Nice one for letting me know dude.
Actually, IIS has a lot of decent modules that can help you out. On some occasions I prefer Apache, but for unstable coding where a community is bound to want to immaturely attack you, I stick with IIS. I've used IIS and host about 20+ retros on it without any sort of DDoS issues after installing a few modules - and if I were to move back to Apache I'm sure issues would returnIIS will not fix this issue, and actually IIS is less efficient than apache, because with apache the multi-threading abstraction is much better and interactive, the thing is whether you are used to do it or not and many people actually don't know about most possible configuration scenarios when dealing with apache, but regarding the attacks, doesn't matter whether this is IIS or Apache, because actually 'both' will use your entire CPU during this type of attack (I'm speaking from experience).

Actually, IIS has a lot of decent modules that can help you out. On some occasions I prefer Apache, but for unstable coding where a community is bound to want to immaturely attack you, I stick with IIS. I've used IIS and host about 20+ retros on it without any sort of DDoS issues after installing a few modules - and if I were to move back to Apache I'm sure issues would return![]()