SliTaz SliTaz Forum

You are not logged in.

#1 2025-08-02 08:43:18

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

hg.slitaz.org / cook.slitaz.org vhost under maintenance

Hi,

I put hg.slitaz.org / cook.slitaz.org to mitigate suspicious flood.

Infact many requests on cook.slitaz.org to fetch files/receipt/packages and flood requests on hg.slitaz.org

Need to investigate exactly happen, but to ensure forum and tank availability i put on 503 those vhosts.

Sorry for inconvenience.

Offline

#2 2025-08-05 15:04:47

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: hg.slitaz.org / cook.slitaz.org vhost under maintenance

Hi,

Sorry for maintenance, i test locally switch from apache cgi (spawn many python instances for requests) to wsgi mode.

Local tests seem good, i add apache-mod-wsgi and adjust vhost for hg on pangolin.

Need to monitor if CPU load increase but think not, infact load due of many python instances.

Infact when i put vhost hg maintenance and reload apache, load decrease and not came back.

For suspect flood, many windows hosts, we can't directly ban ip ranges, we have already limit rate by requests / requests_ip.

This flood impact host due of huge spawn python for hgwebdir cgi process.

Offline

#3 2025-08-05 16:18:37

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: hg.slitaz.org / cook.slitaz.org vhost under maintenance

I put vhost again on maintenance hmm

Seem using wsgi causing "Out of memory" with apache process, and satured memory.

Offline

#4 2025-08-07 06:23:22

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: hg.slitaz.org / cook.slitaz.org vhost under maintenance

Hi,

After more tests and read docs, threads, see that wsgi process need to be control for limit processes / threads.

I reenable hg vhost, ensure cgi module not loaded only wsgi, and limit threads / processes, now monitor to see that more efficient.

Offline

#5 2025-08-07 17:31:58

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: hg.slitaz.org / cook.slitaz.org vhost under maintenance

Hi,

Since morning, i don't notice any issue with services.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.024 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]