- Wat is het probleem? MySQL server has gone away [2006] (Zie de volledige foutmelding onderaan dit bericht).
Adres van je forum: https://www.pcwebplus.nl/phpbb/index.php
Huidige stijl: Ravaio
phpBB versie: 3.3.2
Waar is je forum gehost: Antagonist
Wekelijks voert mijn hostingprovider (Antagonist) een automatische optimalisatie uit. Nadien heb ik al meerdere malen last gehad van de onderstaande foutmelding.
De grootte van de database is 614.03 MiB waarvan de tabel 'phpbb_posts' 507,8 MiB in beslag neemt. (20683 topics / 184892 posts).
Nu schijnt dit extreem groot te zijn, vandaar dat ik dit probleem ook even hier plaats om te achterhalen wat het probleem is.
FoutmeldingCode: Selecteer alles
Algemene fout SQL ERROR [ mysqli ] MySQL server has gone away [2006] SQL INSERT INTO phpbb_posts (forum_id, poster_id, icon_id, poster_ip, post_time, post_visibility, enable_bbcode, enable_smilies, enable_magic_url, enable_sig, post_username, post_subject, post_text, post_checksum, post_attachment, bbcode_bitfield, bbcode_uid, post_postcount, post_edit_locked, topic_id) VALUES (287, 22, 0, '83.XX.XX.XX', 1616581703, 1, 1, 1, 1, 1, '', 'Test', '<t>test</t>', '098f6bcd4621d373cade4e832627b4f6', 0, '', '3piccr', 1, 0, 23102) BACKTRACE FILE: (not given by php) LINE: (not given by php) CALL: msg_handler() FILE: [ROOT]/phpbb/db/driver/driver.php LINE: 1023 CALL: trigger_error() FILE: [ROOT]/phpbb/db/driver/mysqli.php LINE: 195 CALL: phpbb\db\driver\driver->sql_error() FILE: [ROOT]/phpbb/db/driver/factory.php LINE: 345 CALL: phpbb\db\driver\mysqli->sql_query() FILE: [ROOT]/includes/functions_posting.php LINE: 1967 CALL: phpbb\db\driver\factory->sql_query() FILE: [ROOT]/posting.php LINE: 1504 CALL: submit_post()
SQL Error na (automatische) DB-optimalisatie hoster
SQL Error na (automatische) DB-optimalisatie hoster
- El torro
- Berichten: 4175
- Lid geworden op: 02 sep 2014, 21:28
- Locatie: In het zonnige zuiden
- Contacteer:
Re: SQL Error na (automatische) DB-optimalisatie hoster
Database is niet zo groot hoor maar blijkbaar kan de server van Antagonist die optimalisatie niet aan binnen de ingestelde tijd.
Je kan beter met hun contact opnemen over de juiste instellingen.
Je kan beter met hun contact opnemen over de juiste instellingen.
Re: SQL Error na (automatische) DB-optimalisatie hoster
Ik heb al eens gevraagd wat de time-out instellingen zijn, maar dat schijnen de standaard instellingen van MySQL te zijn. In het ACP zie ik de volgende info staan.
mysqlnd
Command buffer size 4096
Read buffer size 32768
Read timeout 86400
standard
default_socket_timeout 60
mysqlnd
Command buffer size 4096
Read buffer size 32768
Read timeout 86400
standard
default_socket_timeout 60
- El torro
- Berichten: 4175
- Lid geworden op: 02 sep 2014, 21:28
- Locatie: In het zonnige zuiden
- Contacteer:
Re: SQL Error na (automatische) DB-optimalisatie hoster
kun je bij de php instellingen niets aanpassen?
Anders een betere host zoeken
Anders een betere host zoeken
Re: SQL Error na (automatische) DB-optimalisatie hoster
Ik heb het PRO-pakket 3 cores / 4 GB.
Dit zijn de php-instellingen die ik kan aanpassen in DA. php-versie is 7.4
apc.shm_size = 32 MB (opties 64 / 128 / 256 / 512)
max_execution_time = 30 (opties 60 / 300 / 900)
memory_limit = 96 M (opties 128 / 256 / 512 / 768 / 1024)
opcache.memory_consumption = 128 (opties 256 / 512 / 1024 / 2048)
Dit zijn de php-instellingen die ik kan aanpassen in DA. php-versie is 7.4
apc.shm_size = 32 MB (opties 64 / 128 / 256 / 512)
max_execution_time = 30 (opties 60 / 300 / 900)
memory_limit = 96 M (opties 128 / 256 / 512 / 768 / 1024)
opcache.memory_consumption = 128 (opties 256 / 512 / 1024 / 2048)
- El torro
- Berichten: 4175
- Lid geworden op: 02 sep 2014, 21:28
- Locatie: In het zonnige zuiden
- Contacteer:
Re: SQL Error na (automatische) DB-optimalisatie hoster
zet die eens op 300 of zelfs 900 en test dan eens.max_execution_time = 30 (opties 60 / 300 / 900)
Re: SQL Error na (automatische) DB-optimalisatie hoster
Dank dit ga ik eens aanpassen, heeft het verhogen van het 'memory_limit' (b.v. 256 MB) nog nut, ik draai naast phpBB ook nog WordPress namelijk.
- El torro
- Berichten: 4175
- Lid geworden op: 02 sep 2014, 21:28
- Locatie: In het zonnige zuiden
- Contacteer:
Re: SQL Error na (automatische) DB-optimalisatie hoster
dat kan zeker geen kwaad.