I think I found a solution.
In /etc/apache2/apache2.conf
I changed Timeout from 300 to 100
And there is a module reqtimeout
If it is not yet enabled you should enable it:
sudo a2enmod reqtimeout
edit /etc/apache2/mods-enabled/reqtimeout.conf
# Wait max 20 seconds for the first byte of the ...
Search found 219 matches
- Wed Oct 15, 2025 7:49 pm
- Forum: Apache
- Topic: Web-pages time out
- Replies: 3
- Views: 984
- Wed Oct 15, 2025 7:24 pm
- Forum: Apache
- Topic: Web-pages time out
- Replies: 3
- Views: 984
Re: Web-pages time out
I ready many pages.
Possible solutions are change the apache MPM Prefork
to MPM Worker which uses threads to handle request.
or even MPM Event which is more optimize,and can handle even more request.
But it is a new install and you need an update of php, which might breaks things.
So you should ...
Possible solutions are change the apache MPM Prefork
to MPM Worker which uses threads to handle request.
or even MPM Event which is more optimize,and can handle even more request.
But it is a new install and you need an update of php, which might breaks things.
So you should ...
- Wed Oct 15, 2025 6:56 pm
- Forum: Apache
- Topic: Web-pages time out
- Replies: 3
- Views: 984
Re: Web-pages time out
find more info in the logs
tail /var/log/apache2/website.log
42.187.xxx.xxx - - [15/Oct/2025:18:05:23 +0200] "-" 408 7229 "-" "-"
42.179.xxx.xx - - [15/Oct/2025:18:05:26 +0200] "-" 408 339 "-" "-"
182.34.xx.xx - - [15/Oct/2025:18:05:28 +0200] "-" 408 339 "-" "-"
42.81.xx.xx - - [15/Oct/2025:18 ...
tail /var/log/apache2/website.log
42.187.xxx.xxx - - [15/Oct/2025:18:05:23 +0200] "-" 408 7229 "-" "-"
42.179.xxx.xx - - [15/Oct/2025:18:05:26 +0200] "-" 408 339 "-" "-"
182.34.xx.xx - - [15/Oct/2025:18:05:28 +0200] "-" 408 339 "-" "-"
42.81.xx.xx - - [15/Oct/2025:18 ...
- Wed Oct 15, 2025 6:37 pm
- Forum: Apache
- Topic: Web-pages time out
- Replies: 3
- Views: 984
Web-pages time out
I have a probleme with my website.
Browsers can no longer connect, get timeouts.
Website takes to long te respond.
I don't understand why, the server should have enough resources for the site.
top and free, show that CPU and memory are not a problem.
I increased the number of workers in /etc ...
Browsers can no longer connect, get timeouts.
Website takes to long te respond.
I don't understand why, the server should have enough resources for the site.
top and free, show that CPU and memory are not a problem.
I increased the number of workers in /etc ...
- Mon Aug 11, 2025 9:59 pm
- Forum: Apache
- Topic: SOLVED: Show connections to Server
- Replies: 1
- Views: 70620
Re: Show connections to Server
You can use
or another way
or for https
Code: Select all
netstat -ln | grep 80Code: Select all
ss -ant | grep :80 | wc -lCode: Select all
ss -ant | grep :443 | wc -l- Mon Aug 11, 2025 8:33 pm
- Forum: Apache
- Topic: SOLVED: Show connections to Server
- Replies: 1
- Views: 70620
SOLVED: Show connections to Server
Hello, is there a way to see all the current connection to the webserver?
- Fri Aug 08, 2025 12:57 pm
- Forum: Postfix
- Topic: postfix not sending to host
- Replies: 1
- Views: 157473
Re: postfix not sending to host
The default have changed,
Add these lines to your config, to tell to use /etc/hosts and not DNS
Add these lines to your config, to tell to use /etc/hosts and not DNS
Code: Select all
lmtp_host_lookup = native
smtp_host_lookup = native- Thu May 08, 2025 8:23 am
- Forum: Apache
- Topic: SOLVED: apache forward https request to http
- Replies: 1
- Views: 193859
Re: apache forward https request to http
Simplest way edit the site conf file in
nano /etc/apache2/sites-available/000-example.com.conf
and add or update:
<VirtualHost *:443>
ServerName www.example.com
redirect permanent / http://www.example.com/
</VirtualHost>
This will redirect and https://www.example.com to http://www.example.com ...
nano /etc/apache2/sites-available/000-example.com.conf
and add or update:
<VirtualHost *:443>
ServerName www.example.com
redirect permanent / http://www.example.com/
</VirtualHost>
This will redirect and https://www.example.com to http://www.example.com ...
- Mon Apr 14, 2025 7:37 pm
- Forum: Servers
- Topic: how to setup SPF and DMARC in bind
- Replies: 2
- Views: 143989
Re: how to setup SPF and DMARC in bind
Options DMARC record
;; [v=DMARC1] ⇒ DMARC version
;; [p=***] : action policy when authentication fails
;; - [none] ⇒ do nothing
;; - [quarantine] ⇒ quarantined in junk mail folder
;; - [reject] ⇒ reject email
;; [rua=mailto:***] : the address to which aggregate reports will be sent
;; * if not ...
;; [v=DMARC1] ⇒ DMARC version
;; [p=***] : action policy when authentication fails
;; - [none] ⇒ do nothing
;; - [quarantine] ⇒ quarantined in junk mail folder
;; - [reject] ⇒ reject email
;; [rua=mailto:***] : the address to which aggregate reports will be sent
;; * if not ...
- Mon Apr 14, 2025 7:36 pm
- Forum: Servers
- Topic: how to setup SPF and DMARC in bind
- Replies: 2
- Views: 143989
Re: how to setup SPF and DMARC in bind
basic description of SPF.
the TXT record itself can have multiple lines,
;; but in SPF settings, only one TXT record can be set for one domain name
;; [v=spf1] ⇒ it means SPF version
;; [+ip4] ⇒ specify IPv4 addresses
;; [+ip6] ⇒ specify IPv6 addresses
;; [+] ⇒ verify your domain's mail server ...
the TXT record itself can have multiple lines,
;; but in SPF settings, only one TXT record can be set for one domain name
;; [v=spf1] ⇒ it means SPF version
;; [+ip4] ⇒ specify IPv4 addresses
;; [+ip6] ⇒ specify IPv6 addresses
;; [+] ⇒ verify your domain's mail server ...