✓ Solved

Apache2 is dead slow

I have a Linode with 2 CPU cores, 4 GB RAM, 80 GB storage and Ubuntu 22.04 as an OS.

I installed apache2 with libapache2-mod-php to use in serving a laravel application.

Currently I am testing the server by opening in browser using the public IP (not yet linked with a domain as the software is still under early development)

I takes for ever to open Ubuntu's apache test page if open, the browser just gives a request time out
I tried to download the index page from my machine using wget, got request timeout, but sometimes it does download

What is happening here ?

2 Replies

✓ Best Answer

The problem was on my end of things is now solved

It's difficult to say without a little more insight into your specific machine. Have you opened a support ticket with Linode yet?

Probably a good idea to do that (if you have not already) just to make sure that there are no underlying connectivity or resource contention issues.

We have a good guide on helping optimize Apache performance here:
https://www.linode.com/docs/guides/tuning-your-apache-server/

There are also some good general recommendations here:
https://www.linode.com/docs/guides/troubleshooting-common-apache-issues/

If you end up realizing that the performance bottleneck is related to CPU usage, you may also find this Community Post useful:
https://www.linode.com/community/questions/18168/what-is-cpu-steal-and-how-does-it-affect-my-linode

Some other information on troubleshooting general performance issues:
https://www.linode.com/community/questions/19663/how-can-i-troubleshoot-my-linodes-poor-network-performance

I hope that helps!

-Micah

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct