why does php stop every day? [SOLVED]
why does php stop every day?
Debian 11
1 core
1 g memory
-----------
Admin-Edit: The user has received a warning due to repeatedly disregarding the forum rules.
- Jolinar
- Community Moderator
- Posts: 4004
- Joined: Sat 30. Jan 2016, 07:11
- Location: Weimar (Thüringen)
- Contact:
Re: why does php stop every day? [SOLVED]
You don't have enough RAM. It looks like OOM kill.
Data Collector für Community Support
___
Ich verwende zwei verschiedene Schriftfarben in meinen Beiträgen /
I use two different font colors in my posts:
- In dieser Farbe schreibe ich als Moderator und gebe moderative Hinweise oder begründe moderative Eingriffe /
In this color, I write as a moderator and provide moderative guidance or justify moderative interventions - In dieser Farbe schreibe ich als Community Mitglied und teile meine private Meinung und persönlichen Ansichten mit /
In this color, I write as a community member and share my personal opinions and views
- BasHeijermans
- KeyHelp Translator
- Posts: 170
- Joined: Mon 20. Jun 2022, 12:01
- Location: Heppen Belgium
- Contact:
Re: why does php stop every day?
Turn off the Virus-scanner is a big memory-saver too.
Ik heb KeyHelp naar het Nederlands vertaald, contacteer me als er translatie fouten zijn.
(I have translated KeyHelp into Dutch, contact me if there are translation errors.)
Next version 24 of KeyHelp 100% translated.
Re: why does php stop every day?
You right, no problem with 2gBasHeijermans wrote: ↑Thu 12. Jan 2023, 15:20 You probably need to shrink memory consumption by MariaDB and other processes.
Turn off the Virus-scanner is a big memory-saver too.
but how did you figure it out?
- BasHeijermans
- KeyHelp Translator
- Posts: 170
- Joined: Mon 20. Jun 2022, 12:01
- Location: Heppen Belgium
- Contact:
Re: why does php stop every day?
Because servers where esive we had to find out how to use our memory effectifly to make the database run fast.
Database size was about 1.5GB in size.
Those days the Mysql server used a keybuffer was only 8MB, made our forum crawl.
So the first I did was see how much MariaDB and AV-database where using.
As memory isn't expensive these days, they are very generous with the defaults and easily consume 1 or 2GB.
As such I needed to schrink them down, and it runs happily with far less memory

Ik heb KeyHelp naar het Nederlands vertaald, contacteer me als er translatie fouten zijn.
(I have translated KeyHelp into Dutch, contact me if there are translation errors.)
Next version 24 of KeyHelp 100% translated.