[Lazarus] Freepascal/Lazarus forum and Lazarus website outage wrap-up

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[Lazarus] Freepascal/Lazarus forum and Lazarus website outage wrap-up

Free Pascal - Lazarus mailing list
Now that everything seems to be normal, time for a wrap-up, what happened:

There were happening 2 things simultaneously
  - an increased interest(?) from china
  - one or two bots every second looking for SQL injections.

This caused a load on the original server configuration, apache using
mod_php, so it became unresponsive. Since the amount of traffic was
larger than normal, but still realistic, I decided to use fast-cgi to
remove the php overhead from the apache main process. With fast-cgi in
place I could now use the mpm_event module which can handle way more
connections to the server.
After some days of config tweaking everything should be fine..... not.

The server started to work OK until, according to netstat, about 800
sockets were in use, after which the server failed to respond. This
continued till the amount of sockets dropped to about 50 (due to
timeouts etc). Then the server was responsive again and the whole cycle
started over again.
After a lot of googling it appeared that this was caused by this issue
in apache https://bz.apache.org/bugzilla/show_bug.cgi?id=53555
A manual upgrade of apache to the latest version solved the problem.

Marc


--
_______________________________________________
lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Freepascal/Lazarus forum and Lazarus website outage wrap-up

Free Pascal - Lazarus mailing list
On Wed, 12 Feb 2020 10:31:52 +0100, Marc Weustink via lazarus
<[hidden email]> wrote:

>After a lot of googling it appeared that this was caused by this issue
>in apache https://bz.apache.org/bugzilla/show_bug.cgi?id=53555
>A manual upgrade of apache to the latest version solved the problem.

Really good to know!
And very grateful for your amazing detective work to find the cure for
the forum!


--
Bo Berglund
Developer in Sweden

--
_______________________________________________
lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Freepascal/Lazarus forum and Lazarus website outage wrap-up

Free Pascal - Lazarus mailing list
In reply to this post by Free Pascal - Lazarus mailing list
Thank you for all the effort.
--
_______________________________________________
lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Freepascal/Lazarus forum and Lazarus website outage wrap-up

Free Pascal - Lazarus mailing list
In reply to this post by Free Pascal - Lazarus mailing list
On Wed, Feb 12, 2020 at 10:31 AM Marc Weustink via lazarus
<[hidden email]> wrote:
>
> Now that everything seems to be normal, time for a wrap-up, what happened:

Thank you very much.

--
Bart
--
_______________________________________________
lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus