Re: PHP JIT memory failed awstats
Posted: Wed 13. Mar 2024, 14:46
Habe die gleiche Fehlermeldung, aber nie beachtet.
Das offizielle KeyHelp Forum der Keyweb AG / The official KeyHelp forum of Keyweb AG
https://community.keyhelp.de/
(viewtopic.php?p=47979#p47979)blickgerecht wrote:evtl. gibt es ja seitens Keyhelp nochmal eine Rückmeldung in dem anderen Thema. Durch den (völlig zurecht) verschlüsselten Quellcode ist die Fehlersuche ohne Hilfe natürlich schwieriger.
Code: Select all
if (preg_match('~([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/([0-9]+)~', $range, $matches))
Code: Select all
xxx.xxx.xxx.xxx
xxx.xxx.xxx.[yyy-zzz]
xxx.xxx.xxx.xxx/nn
Code: Select all
php -ini | grep 'pcre.jit'
Code: Select all
pcre.jit = 0
Code: Select all
# Exception so that AWStats works without complaints
ReadWritePaths=/etc/awstats
Code: Select all
[Unit]
Description=Rotate log files
Documentation=man:logrotate(8) man:logrotate.conf(5)
ConditionACPower=true
[Service]
Type=oneshot
ExecStart=/usr/sbin/logrotate /etc/logrotate.conf
# performance options
Nice=19
IOSchedulingClass=best-effort
IOSchedulingPriority=7
# hardening options
# details: https://www.freedesktop.org/software/systemd/man/systemd.exec.html
# no ProtectHome for userdir logs
# no PrivateNetwork for mail deliviery
# no ProtectKernelTunables for working SELinux with systemd older than 235
# no MemoryDenyWriteExecute for gzip on i686
PrivateDevices=true
PrivateTmp=true
ProtectControlGroups=true
ProtectKernelModules=true
ProtectSystem=full
RestrictRealtime=true
# Exception so that AWStats works without complaints
ReadWritePaths=/etc/awstats
Code: Select all
[Unit]
Description=Rotate log files
Documentation=man:logrotate(8) man:logrotate.conf(5)
RequiresMountsFor=/var/log
ConditionACPower=true
[Service]
Type=oneshot
ExecStart=/usr/sbin/logrotate /etc/logrotate.conf
# performance options
Nice=19
IOSchedulingClass=best-effort
IOSchedulingPriority=7
# hardening options
# details: https://www.freedesktop.org/software/systemd/man/systemd.exec.html
# no ProtectHome for userdir logs
# no PrivateNetwork for mail deliviery
# no NoNewPrivileges for third party rotate scripts
# no RestrictSUIDSGID for creating setgid directories
LockPersonality=true
MemoryDenyWriteExecute=true
PrivateDevices=true
PrivateTmp=true
ProtectClock=true
ProtectControlGroups=true
ProtectHostname=true
ProtectKernelLogs=true
ProtectKernelModules=true
ProtectKernelTunables=true
ProtectSystem=full
RestrictNamespaces=true
RestrictRealtime=true
# Exception so that AWStats works without complaints
ReadWritePaths=/etc/awstats
Code: Select all
/lib/systemd/system/logrotate.timer
/lib/systemd/system/logrotate.service
Code: Select all
[Unit]
Description=Daily rotation of log files
Documentation=man:logrotate(8) man:logrotate.conf(5)
[Timer]
OnCalendar=*-*-* 06:24:50
AccuracySec=12h
Persistent=true
[Install]
WantedBy=timers.target
Code: Select all
[Unit]
Description=Rotate log files
Documentation=man:logrotate(8) man:logrotate.conf(5)
ConditionACPower=true
[Service]
Type=oneshot
ExecStart=/usr/sbin/logrotate /etc/logrotate.conf
# performance options
Nice=19
IOSchedulingClass=best-effort
IOSchedulingPriority=7
# hardening options
# details: https://www.freedesktop.org/software/systemd/man/systemd.exec.html
# no ProtectHome for userdir logs
# no PrivateNetwork for mail deliviery
# no ProtectKernelTunables for working SELinux with systemd older than 235
# no MemoryDenyWriteExecute for gzip on i686
PrivateDevices=true
PrivateTmp=true
ProtectControlGroups=true
ProtectKernelModules=true
ProtectSystem=full
RestrictRealtime=true
# Exception so that AWStats works without complaints
ReadWritePaths=/etc/awstats