vServer Debian10 Apache PHP

  • Hallo habe mir gestern ein neuen vServer geholt da mein alter nur 2 Kerne hatte der neue hat jetzt:

    6 vCores | 8192 MB RAM | 100 GB Storage


    So jetzt habe ich Keyhelp installiert und habe ein TS3 UCP installiert doch wie wartezeit dauert bis zu 15-20 Sekunden bis eine seite geladen wird bei jedem klick muss ich bis zu 20 Sekunden warten. Ich dachte erstmal es liegt an mir doch 5 weitere personen haben es getestet und es dauert lange.

    Auf dem alten vServer hatte ich genau das selbe installiert dort lief es ohne wartezeit sofort wurde die seite geladen.

    Meine frage woran kann das liegen kann ich irgendelche php apache2 vHost einstellungen umändern.

    Ich bitte dringen um hilfe.


    //edit meißtens kommt auch

    Du willst mich kennenlernen? Kauf mein Buch, Bia*ch!


    • Offizieller Beitrag

    Gibt es irgendwelche Anzeichen dafür dass der Server überlastet ist? Mal bei top / htop reinschauen


    „Nicht das, was du nicht weißt, bringt dich in Schwierigkeiten, sondern dass, was du sicher zu wissen glaubst, obwohl es gar nicht wahr ist.“
    Mark Twain

    ---
    ICH BIN NUR HIER UM LEUTE ANZUSCHREIEN

  • Vielleicht hat mal daran gedacht das die Connection des Ucps zum ts Server braucht?


    Hab mehrere keyhelp Instanzen laufen und kann dein Problem nicht nachvollziehen.

  • Tasks: 31, 144thr: 1 running

    load average: 0.03 0.03 0.00

    mem 207M/2.00G

    swp 0k/2.00G


    Vielleicht hat mal daran gedacht das die Connection des Ucps zum ts Server braucht?


    Hab mehrere keyhelp Instanzen laufen und kann dein Problem nicht nachvollziehen.

    ja aber über 127.0.0.1

    //bei htop ist noch viel mehr aber kann das ja nicht kopieren.

    Du willst mich kennenlernen? Kauf mein Buch, Bia*ch!


  • Bevor du an den Config datein rumbastelst... hast du schonmal im Offiziellen Keyhelp Forum nachgefragt? Ist ja immerhin ein deutscher Entwickler.

  • do.de - Domain-Offensive - Domains für alle und zu super Preisen
  • Hast du mal getestet ob generell PHP Seiten schnell laden?

    Wenn ja liegts nicht am Server sondern an der App.


    Sagt das nginx log Apache log etwas wenn du an die Seite connectest? /var/log/php<version>-fpm.log mal geprueft?

    Det blæser en halv pelikan.

    I may look calm. But inside my mind I have killed you 20 times in 5 minutes in 20 different ways.


  • Hast du mal getestet ob generell PHP Seiten schnell laden?

    Wenn ja liegts nicht am Server sondern an der App.


    Sagt das nginx log Apache log etwas wenn du an die Seite connectest? /var/log/php<version>-fpm.log mal geprueft?

    [31-Mar-2020 01:26:51] NOTICE: fpm is running, pid 19412

    [31-Mar-2020 01:26:51] NOTICE: ready to handle connections

    [31-Mar-2020 01:26:51] NOTICE: systemd monitor interval set to 10000ms

    [31-Mar-2020 01:26:51] NOTICE: Terminating ...

    [31-Mar-2020 01:26:51] NOTICE: exiting, bye-bye!

    [31-Mar-2020 01:26:51] NOTICE: fpm is running, pid 19529

    [31-Mar-2020 01:26:51] NOTICE: ready to handle connections

    [31-Mar-2020 01:26:51] NOTICE: systemd monitor interval set to 10000ms

    [31-Mar-2020 01:29:15] NOTICE: configuration file /etc/php/7.3/fpm/php-fpm.conf test is successful


    [31-Mar-2020 01:29:15] NOTICE: Reloading in progress ...

    [31-Mar-2020 01:29:15] NOTICE: reloading: execvp("/usr/sbin/php-fpm7.3", {"/usr/sbin/php-fpm7.3", "--nodaemonize", "--fpm-config", "/etc/php/7.3/fpm/php-fpm.conf"})

    [31-Mar-2020 01:29:15] WARNING: Nothing matches the include pattern '/etc/php/7.3/fpm/keyhelp_pool/*.conf' from /etc/php/7.3/fpm/php-fpm.conf at line 27.

    [31-Mar-2020 01:29:15] NOTICE: using inherited socket fd=7, "/run/php/keyhelp_keyhelp.socket"

    [31-Mar-2020 01:29:15] NOTICE: using inherited socket fd=7, "/run/php/keyhelp_keyhelp.socket"

    [31-Mar-2020 01:29:15] NOTICE: fpm is running, pid 19529

    [31-Mar-2020 01:29:15] NOTICE: ready to handle connections

    [31-Mar-2020 01:29:15] NOTICE: systemd monitor interval set to 10000ms

    [31-Mar-2020 01:34:01] NOTICE: configuration file /etc/php/7.3/fpm/php-fpm.conf test is successful


    [31-Mar-2020 01:34:01] NOTICE: Reloading in progress ...

    [31-Mar-2020 01:34:01] NOTICE: reloading: execvp("/usr/sbin/php-fpm7.3", {"/usr/sbin/php-fpm7.3", "--nodaemonize", "--fpm-config", "/etc/php/7.3/fpm/php-fpm.conf"})

    [31-Mar-2020 01:34:01] NOTICE: using inherited socket fd=7, "/run/php/keyhelp_keyhelp.socket"

    [31-Mar-2020 01:34:01] NOTICE: using inherited socket fd=7, "/run/php/keyhelp_keyhelp.socket"

    [31-Mar-2020 01:34:01] NOTICE: fpm is running, pid 19529

    [31-Mar-2020 01:34:01] NOTICE: ready to handle connections

    [31-Mar-2020 01:34:01] NOTICE: systemd monitor interval set to 10000ms

    [31-Mar-2020 01:34:27] NOTICE: configuration file /etc/php/7.3/fpm/php-fpm.conf test is successful


    [31-Mar-2020 01:34:27] NOTICE: Reloading in progress ...

    [31-Mar-2020 01:34:27] NOTICE: reloading: execvp("/usr/sbin/php-fpm7.3", {"/usr/sbin/php-fpm7.3", "--nodaemonize", "--fpm-config", "/etc/php/7.3/fpm/php-fpm.conf"})

    [31-Mar-2020 01:34:27] NOTICE: using inherited socket fd=7, "/run/php/keyhelp_keyhelp.socket"

    [31-Mar-2020 01:34:27] NOTICE: using inherited socket fd=7, "/run/php/keyhelp_keyhelp.socket"

    [31-Mar-2020 01:34:27] NOTICE: using inherited socket fd=8, "/run/php/keyhelp_itsmaho.socket"

    [31-Mar-2020 01:34:27] NOTICE: using inherited socket fd=8, "/run/php/keyhelp_itsmaho.socket"

    [31-Mar-2020 01:34:27] NOTICE: fpm is running, pid 19529

    [31-Mar-2020 01:34:27] NOTICE: ready to handle connections

    [31-Mar-2020 01:34:27] NOTICE: systemd monitor interval set to 10000ms

    [31-Mar-2020 01:44:12] NOTICE: Terminating ...

    [31-Mar-2020 01:44:12] NOTICE: exiting, bye-bye!

    [31-Mar-2020 01:44:12] NOTICE: fpm is running, pid 42782

    [31-Mar-2020 01:44:12] NOTICE: ready to handle connections

    [31-Mar-2020 01:44:12] NOTICE: systemd monitor interval set to 10000ms

    [31-Mar-2020 01:58:46] WARNING: [pool itsmaho] server reached max_children setting (3), consider raising it

    [31-Mar-2020 01:59:40] WARNING: [pool itsmaho] server reached max_children setting (3), consider raising it

    [31-Mar-2020 02:00:31] WARNING: [pool itsmaho] server reached max_children setting (3), consider raising it

    [31-Mar-2020 02:39:06] WARNING: [pool itsmaho] server reached max_children setting (3), consider raising it

    [31-Mar-2020 02:56:19] WARNING: [pool itsmaho] server reached max_children setting (3), consider raising it

    [31-Mar-2020 02:58:28] WARNING: [pool itsmaho] server reached max_children setting (3), consider raising it

    [31-Mar-2020 10:52:41] WARNING: [pool itsmaho] server reached max_children setting (3), consider raising it

    [31-Mar-2020 10:55:05] WARNING: [pool itsmaho] server reached max_children setting (3), consider raising it

    [31-Mar-2020 11:30:42] NOTICE: Terminating ...

    [31-Mar-2020 11:30:42] NOTICE: exiting, bye-bye!

    [31-Mar-2020 11:30:53] NOTICE: fpm is running, pid 227

    [31-Mar-2020 11:30:53] NOTICE: ready to handle connections

    [31-Mar-2020 11:30:53] NOTICE: systemd monitor interval set to 10000ms

    [31-Mar-2020 20:12:02] NOTICE: configuration file /etc/php/7.3/fpm/php-fpm.conf test is successful


    [31-Mar-2020 20:12:02] NOTICE: Reloading in progress ...

    [31-Mar-2020 20:12:02] NOTICE: reloading: execvp("/usr/sbin/php-fpm7.3", {"/usr/sbin/php-fpm7.3", "--nodaemonize", "--fpm-config", "/etc/php/7.3/fpm/php-fpm.conf"})

    [31-Mar-2020 20:12:02] NOTICE: using inherited socket fd=7, "/run/php/keyhelp_keyhelp.socket"

    [31-Mar-2020 20:12:02] NOTICE: using inherited socket fd=7, "/run/php/keyhelp_keyhelp.socket"

    [31-Mar-2020 20:12:02] NOTICE: using inherited socket fd=8, "/run/php/keyhelp_itsmaho.socket"

    [31-Mar-2020 20:12:02] NOTICE: using inherited socket fd=8, "/run/php/keyhelp_itsmaho.socket"

    [31-Mar-2020 20:12:02] NOTICE: fpm is running, pid 227

    [31-Mar-2020 20:12:02] NOTICE: ready to handle connections

    [31-Mar-2020 20:12:02] NOTICE: systemd monitor interval set to 10000ms

    [31-Mar-2020 20:16:02] NOTICE: configuration file /etc/php/7.3/fpm/php-fpm.conf test is successful


    [31-Mar-2020 20:16:02] NOTICE: Reloading in progress ...

    [31-Mar-2020 20:16:02] NOTICE: reloading: execvp("/usr/sbin/php-fpm7.3", {"/usr/sbin/php-fpm7.3", "--nodaemonize", "--fpm-config", "/etc/php/7.3/fpm/php-fpm.conf"})

    [31-Mar-2020 20:16:02] NOTICE: using inherited socket fd=7, "/run/php/keyhelp_keyhelp.socket"

    [31-Mar-2020 20:16:02] NOTICE: using inherited socket fd=7, "/run/php/keyhelp_keyhelp.socket"

    [31-Mar-2020 20:16:02] NOTICE: using inherited socket fd=8, "/run/php/keyhelp_itsmaho.socket"

    [31-Mar-2020 20:16:02] NOTICE: using inherited socket fd=8, "/run/php/keyhelp_itsmaho.socket"

    [31-Mar-2020 20:16:02] NOTICE: fpm is running, pid 227

    [31-Mar-2020 20:16:02] NOTICE: ready to handle connections

    [31-Mar-2020 20:16:02] NOTICE: systemd monitor interval set to 10000ms

    [31-Mar-2020 20:16:21] NOTICE: configuration file /etc/php/7.3/fpm/php-fpm.conf test is successful


    [31-Mar-2020 20:16:21] NOTICE: Reloading in progress ...

    [31-Mar-2020 20:16:21] NOTICE: reloading: execvp("/usr/sbin/php-fpm7.3", {"/usr/sbin/php-fpm7.3", "--nodaemonize", "--fpm-config", "/etc/php/7.3/fpm/php-fpm.conf"})

    [31-Mar-2020 20:16:21] NOTICE: using inherited socket fd=7, "/run/php/keyhelp_keyhelp.socket"

    [31-Mar-2020 20:16:21] NOTICE: using inherited socket fd=7, "/run/php/keyhelp_keyhelp.socket"

    [31-Mar-2020 20:16:21] NOTICE: using inherited socket fd=8, "/run/php/keyhelp_itsmaho.socket"

    [31-Mar-2020 20:16:21] NOTICE: using inherited socket fd=8, "/run/php/keyhelp_itsmaho.socket"

    [31-Mar-2020 20:16:21] NOTICE: fpm is running, pid 227

    [31-Mar-2020 20:16:21] NOTICE: ready to handle connections

    [31-Mar-2020 20:16:21] NOTICE: systemd monitor interval set to 10000ms

    [01-Apr-2020 04:24:01] NOTICE: configuration file /etc/php/7.3/fpm/php-fpm.conf test is successful


    [01-Apr-2020 04:24:01] NOTICE: Reloading in progress ...

    [01-Apr-2020 04:24:01] NOTICE: reloading: execvp("/usr/sbin/php-fpm7.3", {"/usr/sbin/php-fpm7.3", "--nodaemonize", "--fpm-config", "/etc/php/7.3/fpm/php-fpm.conf"})

    [01-Apr-2020 04:24:01] NOTICE: using inherited socket fd=7, "/run/php/keyhelp_keyhelp.socket"

    [01-Apr-2020 04:24:01] NOTICE: using inherited socket fd=7, "/run/php/keyhelp_keyhelp.socket"

    [01-Apr-2020 04:24:01] NOTICE: using inherited socket fd=8, "/run/php/keyhelp_itsmaho.socket"

    [01-Apr-2020 04:24:01] NOTICE: using inherited socket fd=8, "/run/php/keyhelp_itsmaho.socket"

    [01-Apr-2020 04:24:01] NOTICE: fpm is running, pid 227

    [01-Apr-2020 04:24:01] NOTICE: ready to handle connections

    [01-Apr-2020 04:24:01] NOTICE: systemd monitor interval set to 10000ms

    [01-Apr-2020 11:57:11] NOTICE: Terminating ...

    [01-Apr-2020 11:57:11] NOTICE: exiting, bye-bye!

    [01-Apr-2020 11:57:22] NOTICE: fpm is running, pid 232

    [01-Apr-2020 11:57:22] NOTICE: ready to handle connections

    [01-Apr-2020 11:57:22] NOTICE: systemd monitor interval set to 10000ms

    [01-Apr-2020 12:05:02] NOTICE: configuration file /etc/php/7.3/fpm/php-fpm.conf test is successful


    [01-Apr-2020 12:05:02] NOTICE: Reloading in progress ...

    [01-Apr-2020 12:05:02] NOTICE: reloading: execvp("/usr/sbin/php-fpm7.3", {"/usr/sbin/php-fpm7.3", "--nodaemonize", "--fpm-config", "/etc/php/7.3/fpm/php-fpm.conf"})

    [01-Apr-2020 12:05:02] NOTICE: using inherited socket fd=7, "/run/php/keyhelp_keyhelp.socket"

    [01-Apr-2020 12:05:02] NOTICE: using inherited socket fd=7, "/run/php/keyhelp_keyhelp.socket"

    [01-Apr-2020 12:05:02] NOTICE: using inherited socket fd=8, "/run/php/keyhelp_itsmaho.socket"

    [01-Apr-2020 12:05:02] NOTICE: using inherited socket fd=8, "/run/php/keyhelp_itsmaho.socket"

    [01-Apr-2020 12:05:02] NOTICE: fpm is running, pid 232

    [01-Apr-2020 12:05:02] NOTICE: ready to handle connections

    [01-Apr-2020 12:05:02] NOTICE: systemd monitor interval set to 10000ms

    [01-Apr-2020 12:06:11] NOTICE: Terminating ...

    [01-Apr-2020 12:06:11] NOTICE: exiting, bye-bye!

    [01-Apr-2020 12:06:28] NOTICE: fpm is running, pid 233

    [01-Apr-2020 12:06:28] NOTICE: ready to handle connections

    [01-Apr-2020 12:06:28] NOTICE: systemd monitor interval set to 10000ms

    Du willst mich kennenlernen? Kauf mein Buch, Bia*ch!


  • 8192 MB RAM auf 6 kernen

    Du willst mich kennenlernen? Kauf mein Buch, Bia*ch!


    • Hilfreich

    keyhelp.conf != www.conf


    Fuer mich sieht das so aus als nutzt du nicht das regulaere PHP sondern irgend ein Fork von diesem keyhelp...


    Setz mal folgendes in deine Datei:


    Code
    pm.max_children = 5
    pm.min_spare_servers = 1
    pm.max_spare_servers = 3
    
    
    php_admin_value[memory_limit] = 2048M

    Hast du eine andere PHP Seite bei dir mal aufgesetzt und getestet? Ist die genauso lahm? Wenn ja wuerde ich mal das keyhelp zeug deaktivieren und mit basic php pruefen.

    Det blæser en halv pelikan.

    I may look calm. But inside my mind I have killed you 20 times in 5 minutes in 20 different ways.


  • Hast du eine andere PHP Seite bei dir mal aufgesetzt und getestet? Ist die genauso lahm? Wenn ja wuerde ich mal das keyhelp zeug deaktivieren und mit basic php pruefen.

    alle seiten laden langsam


    Ja ich teste das jetzt mal


    //edit Hi danke dir krass läuft sehr flüssig :D

    //edit geht wieder nicht lädt wieder langsam war nur am amfang flüssig

    Du willst mich kennenlernen? Kauf mein Buch, Bia*ch!


    Einmal editiert, zuletzt von Maho ()