Jump to content
Froxlor Forum

jrel

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by jrel

  1. Habe gestern die DB Timeouts hochgestellt und den Server zur Sicherheit nochmal neu gestartet. Bisher läuft das System ohne erneute Abbrüche. Danke!
  2. Ich finde es auch bewundernswert, dass es bisher ohne Probleme geklappt hat. 2,63€ pM inkl. DE Domain. Also wenn es etwas vergleichbares gibt, dann wechsle ich auch gerne. Zur Zeit nehme ich auch an, dass es daran liegt, dass die Ressourcen streng limitiert sind. Die Timeouts beim DB Zugriff sollten ja kommen, da die Antwort nicht schnell genug erfolgt. Werden diese Requests an die DB parallel oder synchronisiert nacheinander abgefeuert? EDIT in messages habe ich gerade noch was gefunden, mysql ist leer (weil ja kein Fehler, findet ja nur ein Timeout statt): Jul 29 16:00:42 x froxlor[74880]: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away Jul 29 16:00:42 x froxlor[74880]: --- DEBUG: #0 [internal function]: PDO->query() #1 /var/www/html/froxlor/lib/Froxlor/Database/Database.php(597): call_user_func_array() #2 /var/www/html/froxlor/lib/Froxlor/System/Cronjob.php(56): Froxlor\Database\Database::__callStatic() #3 /var/www/html/froxlor/lib/Froxlor/Cli/MasterCron.php(157): Froxlor\System\Cronjob::checkLastGuid() #4 /var/www/html/froxlor/vendor/symfony/console/Command/Command.php(298): Froxlor\Cli\MasterCron->execute() #5 /var/www/html/froxlor/vendor/symfony/console/Application.php(1040): Symfony\Component\Console\Command\Command->run() #6 /var/www/html/froxlor/vendor/symfony/console/Application.php(301): Symfony\Component\Console\Application->doRunCommand() #7 /var/www/html/froxlor/vendor/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun() #8 /var/www/html/froxlor/bin/froxlor-cli(71): Symfony\Component\Console\Application->run() #9 {main}
  3. Hallo zusammen, ich betreibe froxlor auf einem kleinen VPS (1GB RAM, 1CPU) bisher ohne Probleme. In der letzten Zeit bekomme ich regelmäßig Fehlermeldungen, dass der Mysql down geht. Woher genau das kommt, weiß ich nicht. Ich nehme aber an, dass zu dem Zeitpunkt die Cronjobs von Froxlor laufen: froxlor[61670]: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away froxlor[61670]: --- DEBUG: #0 [internal function]: PDO->query() #1 /var/www/html/froxlor/lib/Froxlor/Database/Database.php(597): call_user_func_array() #2 /var/www/html/froxlor/lib/Froxlor/Settings.php(113): Froxlor\Database\Database::__callStatic() #3 /var/www/html/froxlor/lib/Froxlor/Settings.php(95): Froxlor\Settings::readSettings() #4 /var/www/html/froxlor/lib/Froxlor/Settings.php(153): Froxlor\Settings::init() #5 /var/www/html/froxlor/lib/Froxlor/Froxlor.php(99): Froxlor\Settings::Get() #6 /var/www/html/froxlor/lib/Froxlor/Cli/CliCommand.php(53): Froxlor\Froxlor::hasUpdates() #7 /var/www/html/froxlor/lib/Froxlor/Cli/PhpSessionclean.php(48): Froxlor\Cli\CliCommand->validateRequirements() #8 /var/www/html/froxlor/vendor/symfony/console/Command/Command.php(298): Froxlor\Cli\PhpSessionclean->execute() #9 /var/www/html/froxlor/vendor/symfony/console/Application.php(1040): Symfony\Component\Console\Command\Command->run() #10 /var/www/html/froxlor/vendor/symfony/console/Application.php(301): Symfony\Component\Console\Application->doRunCommand() #11 /var/www/html/froxlor/vendor/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun() #12 /var/www/html/froxlor/bin/froxlor-cli(71): Symfony\Component\Console\Application->run() #13 {main} Im mysql log findet sich soweit nichts auffälliges. Also mit jedem dieser Fehlermeldungen erscheint unter mysql error log kein zusätzlicher Eintrag. Im syslog gibt es einen Hinweis: Jul 29 13:18:47 x mariadbd[62837]: 2024-07-29 13:18:47 13992 [Warning] Aborted connection 13992 to db: 'froxdb' user: 'froxlor' host: 'localhost' (Got timeout reading communication packets) Danke für eure Hinweise!
  4. now I know maybe this helps some others
  5. Hey, as this cost me more time than it should, i wanna share a non-php API client example as a postman collection. I am totally not sure why php is such a mess in using real headers ... froxlor.postman_collection.json { "info": { "_postman_id": "1412c04b-e0ed-4252-9df8-b560d725b9a6", "name": "froxlor", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { "name": "Froxlor", "item": [ { "name": "listFunctions", "protocolProfileBehavior": { "strictSSL": false, "followOriginalHttpMethod": false, "followAuthorizationHeader": false, "followRedirects": false, "disabledSystemHeaders": {} }, "request": { "auth": { "type": "noauth" }, "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"header\": {\n \"apikey\": \"{{apikey}}\",\n \"secret\": \"{{secret}}\"\n \n },\n \"body\": {\n \"command\": \"Froxlor.listFunctions\",\n \"params\":[]\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https://{{domain}}/api.php", "protocol": "https", "host": [ "{{domain}}" ], "path": [ "api.php" ] } }, "response": [] } ] } ], "event": [ { "listen": "prerequest", "script": { "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "type": "text/javascript", "exec": [ "" ] } } ], "variable": [ { "key": "apikey", "value": "" }, { "key": "secret", "value": "" }, { "key": "domain", "value": "" } ] }
×
×
  • Create New...