Serverleistung [SOLVED]
Re: Serverleistung
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Re: Serverleistung
185.254.97.69
Port 21
<MeinUsername>ftptest
J75F@hDsu
Re: Serverleistung
Ich denke, das wird es wohl sein. Mit dem Hauptbenutzer ist es bei mir sehr schnell, über einen für den Test angelegten, zusätzlichen Benutzer ist es hier auch so, wie von xeppel beschrieben. Beide Male mit den selben Einstellungen (WinSCP -> FTP->Explizites TLS/SSL).Alexander wrote: ↑Thu 23. Feb 2023, 12:55 By the way, der Zugriff direkt über den Benutzernamen (z.B. Benutzername: xyz) ist immer eine Spur schneller, als der Zugrif über die zusätzlichen FTP-Benutzer (xyz_ftp1, xyz_ftp2 etc.). Letztere existieren nur in der Datenbank, hier wird beim Verbindungsaufbau noch eine Datenbankverbindung aufgebaut.
Re: Serverleistung
Re: Serverleistung
Das hat nichts damit zu tun, wie der FTP-Benutzer nun schlussendlich heißt.xeppel wrote:Also ich habe diesen FTP Nutzer angelegt und benutzerdefinierte Namen aktiviert und einen Namen vergeben, ist aber auch so langsam
Ich wollte mit den Beispielnamen nur verdeutlichen, dass ich es einen Unterschied machen kann, ob man die Logindaten, die man z.B. auch zum Login ins KeyHelp benutzt, für FTP verwendet, oder die Accounts, die man im KeyHelp unter "FTP-Benutzer" anlegt.
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Re: Serverleistung
Wie sind denn deine Zugangsdaten? Mit denen von oben bekomme ich da nur Zugriff verweigert bzw beim ersten Aufruf über die IP eine Meldung wegen des selbstsignierten Zertifikats.
Re: Serverleistung
Re: Serverleistung
Response: 331 Password required for ftptest
Command: PASS *********
Response: 530 Login incorrect.
Error: Critical error: Could not connect to server
Florian Cheno
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Re: Serverleistung

Re: Serverleistung
also bei mir wartet der da ca 1 Sekunde.
Florian Cheno
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Re: Serverleistung
Re: Serverleistung
Hat demnach wohl nicht viel mit der Serverleistung zu tun, höchstens marginal wegen der Zugriffszeiten auf die Datenbank. Meiner hat 6 Cores und 16 GB RAM.
Bei mir wartet er schon eher 2-3 Sekunden in beiden Fällen. Handgestoppt (Stoppuhr Android Smartphone

- BasHeijermans
- KeyHelp Translator
- Posts: 170
- Joined: Mon 20. Jun 2022, 12:01
- Location: Heppen Belgium
- Contact:
Re: Serverleistung
Can you try again with FileZilla?
https://filezilla-project.org/download.php?type=client
This is sort of the standard graphical client

Seems to me that WinSCP is using a tunnel via Putty, that could explain why you have to wait.
If FileZilla has the same waiting time, then the problem must be somewhere else.
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: Serverleistung
So I think it's up to Alexander to decide, if these apprximately two seconds of additional waiting time at login for an additional FTP-User are a problem worth the time needed to implement something faster than the current login procedure for these additional FTP-Users. I, for my part, can perfectly live with those two seconds


- BasHeijermans
- KeyHelp Translator
- Posts: 170
- Joined: Mon 20. Jun 2022, 12:01
- Location: Heppen Belgium
- Contact:
Re: Serverleistung
I can imagine that the the extra FTP users load credentials via the MariaDB.
Beware that default database settings are not particularly good.
Have a look at what this file looks like:
Code: Select all
/etc/mysql/mariadb.conf.d/90-tuning.cnf
Code: Select all
[mysqld]
# mySQL Tuning
max_connections = 200
key_buffer_size = 256M
max_allowed_packet = 16M
thread_stack = 256K
tmp_table_size = 64M
max_heap_table_size = 64M
thread_cache_size = 150
table_cache = 8192
performance_schema = ON
# InnoDB Configuration
innodb_file_per_table = 1
innodb_buffer_pool_size = 512M
innodb_log_file_size = 64M
# Query Cache Configuration
query_cache_limit = 4M
query_cache_size = 4M
query_cache_type = 1
Typical, make the keybuffer the same size as the total of databases but less then 50% of your total memory.
Same for innodb_buffer_pool_size, it may be pretty big.
If the values are too low, it needs to reload sections of the databases in and out of memory all the time, this makes database I/O slow.
Run
Code: Select all
mysqltuner
Not saying this is the cause, but it could be. I say this as KeyHelp uses the database all the time, so the slowness could be related to database settings.
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.