https://bz.apache.org/bugzilla/show_bug.cgi?id=70320

--- Comment #2 from xedex <[email protected]> ---
(In reply to abernal from comment #1)
> - apache2 -V and the Ubuntu package version;

apachectl -V
Server version: Apache/2.4.68 (Ubuntu)
Server built:   2026-11-12T12:50:04
Server's Module Magic Number: 20120211:142
Server loaded:  APR 1.7.6, APR-UTIL 1.6.4, PCRE 10.46 2025-08-27
Compiled using: APR 1.7.6, APR-UTIL 1.6.4, PCRE 10.46 2025-08-27
Architecture:   64-bit
Server MPM:     event
  threaded:     yes (fixed thread count)
    forked:     yes (variable process count)
Server compiled with....
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_PROC_PTHREAD_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=256
 -D HTTPD_ROOT="/etc/apache2"
 -D SUEXEC_BIN="/usr/lib/apache2/suexec"
 -D DEFAULT_PIDLOG="/run/apache2.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="mime.types"
 -D SERVER_CONFIG_FILE="apache2.conf"

dpkg -l apache2
+-- Desired=Unknown/Install/Remove/Purge/Hold
|+-
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
||+ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||| Name           Version           Architecture Description
+++-==============-=================-============-=================================
ii  apache2        2.4.68-1ubuntu6.2 arm64        Apache HTTP Server

> - your config (apache2ctl -S and the vhost files), and what is on the CIFS
apache2ctl -S
AH00558: apache2: Could not reliably determine the server's fully qualified
domain name, using 127.0.1.1. Set the 'ServerName' directive globally to
suppress this message
VirtualHost configuration:
*:80                   is a NameVirtualHost
         default server domainy.com
(/etc/apache2/sites-enabled/domainy_com.conf:1)
         port 80 namevhost domainy.com
(/etc/apache2/sites-enabled/domainy_com.conf:1)
                 alias www.domainy.com
         port 80 namevhost domainx.com
(/etc/apache2/sites-enabled/domainx_com.conf:1)
                 alias www.domainx.com
*:443                  is a NameVirtualHost
         default server domainy.com
(/etc/apache2/sites-enabled/domainy_com.conf:8)
         port 443 namevhost domainy.com
(/etc/apache2/sites-enabled/domainy_com.conf:8)
                 alias domainy.com
         port 443 namevhost domainx.com
(/etc/apache2/sites-enabled/domainx_com.conf:7)
                 alias www.domainx.com
ServerRoot: "/etc/apache2"
Main DocumentRoot: "/var/www/html"
Main ErrorLog: "/var/log/apache2/error.log"
Mutex ssl-stapling-refresh: using_defaults
Mutex ssl-stapling: using_defaults
Mutex proxy: using_defaults
Mutex ssl-cache: using_defaults
Mutex default: dir="/run/apache2/" mechanism=default
Mutex watchdog-callback: using_defaults
PidFile: "/run/apache2/apache2.pid"
Define: DUMP_VHOSTS
Define: DUMP_RUN_CFG
User: name="www-data" id=33
Group: name="www-data" id=33

domainy similar to domainx
nano /etc/apache2/sites-available/domainx_com.conf
<VirtualHost *:80>
  ServerName domainx.com
  ServerAlias www.domainx.com
  Redirect permanent / https://domainx.com/
</VirtualHost>

<VirtualHost *:443>
  ServerName domainx.com
  ServerAlias www.domainx.com

  DocumentRoot /var/www/html/domainx_com

  Header set Access-Control-Allow-Origin "https://domainx.com$";

  <Location />
  #<Location /var/www/html/> # geht nicht! strange
    Order allow,deny
    Allow from all
    <LimitExcept HEAD POST GET>
      Deny from all
    </LimitExcept>
  </Location>
  <Directory /var/www/html/domainx_com/>
    #Header always set Content-Security-Policy "default-src 'self'; script-src
'unsafe-inline';"
    #original: Options FollowSymLinks
    #original: AllowOverride None
    #original: Require all granted
    Options FollowSymLinks
    AllowOverride None
    #Require all denied
    Require all granted
    Order Deny,Allow
    Deny from all
    <LimitExcept HEAD POST GET>
      #Order Deny,Allow
      #Deny from all
      Order Deny,Allow
      Deny from all
    </LimitExcept>
    <RequireAll>
      Require ip 192.168.8 127.0.0.1
    </RequireAll>
    <Files "index.html">
      Require all granted
    </Files>
  </Directory>

  ErrorLog ${APACHE_LOG_DIR}/error.log
  CustomLog ${APACHE_LOG_DIR}/access.log combined
  CustomLog /var/www/rw_files/00_v2_security_raw_access_log_actual.txt combined
  SSLEngine on
  SSLCertificateFile  /var/www/security/SSL/2025/domainx.com.crt
  SSLCertificateKeyFile /var/www/security/SSL/2025/domainx_com.pem
  #SSLCertificateFile  /root/Zertifikate/domainx_com.crt
  #SSLCertificateKeyFile /root/Zertifikate/domainx_com.key
  SSLCertificateChainFile /var/www/security/SSL/2025/domainx.com.ca-bundle
  SSLOpenSSLConfCmd DHParameters /var/www/security/SSL/2025/dhparam.pem
  SSLProtocol -all +TLSv1.3 +TLSv1.2
  SSLOpenSSLConfCmd Curves X25519:secp521r1:secp384r1:prime256v1
  SSLCompression off
  SSLHonorCipherOrder on
  SSLCipherSuite EECDH+AESGCM:EDH+AESGCM

  <FilesMatch "\.(?:cgi|shtml|phtml|php)$">
    SSLOptions +StdEnvVars
  </FilesMatch>
  <Directory /usr/lib/cgi-bin>
    SSLOptions +StdEnvVars
  </Directory>

  #SSLEngine on
  #SSLCertificateFile /etc/letsencrypt/live/domain2.com/fullchain.pem
  #SSLCertificateKeyFile /etc/letsencrypt/live/domain2.com/privkey.pem

  #<Directory /var/www/html/domainx_com>
  #  AllowOverride All
  #  Require all granted
  #</Directory>

</VirtualHost>  

what is on the CIFS? all relevant files as index.php and ssl stuff. 

> mount (DocumentRoot, logs, a web application?);
> - the access log for the same period: is anything requesting pages?
  *)no web applications. only all files as index.php, bla.js, etc. 
  *)there are some normal requests sure, some hacking tries sure but there are
no bruteforce attacks or something like that over burpsuite or other stuff. see
it as 2 requests / min. nothing what should let the apache works constantly to
represent that ms requests between NAS .129 and ip .141

> - which process reads the share while the traffic is high: lsof +D
> /mnt/<share>, or strace -f -e trace=openat,read -p <apache2 pid>.
there is no PID. thats the problem. i am not a kernel coder but i think thats a
kernel intern process thing

> 
> If content is served from the CIFS mount, it is worth trying "EnableMMAP
> Off" for that directory, and checking that EnableSendfile is not turned on
*) i tried but made small difference. file is now 750 kb after around 20min but
still the same issue that the communication between NAS and PI is in ms, not
each minute at nearly 2 requests / min.

> (it is off by default). If the traffic stays with apache2 stopped but the
> same application running, or only happens on ARM, it is more likely the
> kernel CIFS client. 
*) i need to correct myself. its also on an x86 system, not only on the ARM.
had something wrong in my own brain memory cache =(

Usage questions are better asked on the
> [email protected] list.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to