site Very slow

dawidus

New member
Joined
Apr 5, 2019
Messages
3
Hi!

I Yesterday installed DIRECT ADMIN on my dedicated server, connect domain, move my script.

Since Yesterday site is veery slow (not just site but also phpmyadmin - im not able to download sql backup becouse downloanding is disconnecting, - previously i used ISPConfig and everything was good (at the same domain) - directadmin is loading fast. my Domain: specki.pl
memory_limit = 38400M
max_input_vars = 1000

Can somebody help me?
Xeon D-1520 - 64GB - SoftRaid 2x2
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
13,893
Location
GMT +7.00
Hello,

There might be numerous reasons on that. It's impossible to guess all them here on the forums shortly.

It is not clear whether you re-installed software on your server, or migrated from another server.

Check your files and settings, probably your scripts try to connect to a service which is not installed on the server, or they try to connect to an old IP, or another remote server which blocks your new IP.

Your server might be under an attack. Hardly you can find a new IP without a history, probably the IP has always been attacked, and now they attack you.

The best thing would be to read all possible logs for errors and abnormal records. Check server-status, mysql processes, htop/top output and check files for malware.

If it's something too unknown to you, then you'd better hire somebody for this job.
 

shivahost

Verified User
Joined
Mar 7, 2013
Messages
205
Hi!

I Yesterday installed DIRECT ADMIN on my dedicated server, connect domain, move my script.

Since Yesterday site is veery slow (not just site but also phpmyadmin - im not able to download sql backup becouse downloanding is disconnecting, - previously i used ISPConfig and everything was good (at the same domain) - directadmin is loading fast. my Domain: specki.pl
memory_limit = 38400M
max_input_vars = 1000

Can somebody help me?
Xeon D-1520 - 64GB - SoftRaid 2x2
Failed to load resource: the server responded with a status of 500 (Internal Server Error) : https://www.specki.pl/?wc-ajax=get_refreshed_fragments

Code:
{"fragments":{"div.widget_shopping_cart_content":"<div class=\"widget_shopping_cart_content\">\n\n\t<p class=\"woocommerce-mini-cart__empty-message\">Brak produkt\u00f3w w koszyku.<\/p>\n\n\n<\/div>","#header-mini-cart .cart-items-number .items-number":"<span class=\"items-number\">0<\/span>"},"cart_hash":""}
I think one plugin can slow your site! disable some plugins and test it.

check here too: https://gtmetrix.com/reports/specki.pl/NlNhZAFG
 

dawidus

New member
Joined
Apr 5, 2019
Messages
3
Thanks for answers!

I Founded that, my mysql server taking 70% and 100% of cpu usage
And there is Error establishing a database connection problem very often
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
13,893
Location
GMT +7.00
If MySQL is overloaded, it might or not still mean that your site is under an attack.
 

dawidus

New member
Joined
Apr 5, 2019
Messages
3
Still MYSQL is overloaded what's making site so sloow..

TOP
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
4651 mysql 20 0 1376472 399212 14232 S 80.2 0.6 136:48.58 mysqld
7210 admin 20 0 402180 92924 19284 R 22.4 0.1 2:44.00 httpd
9253 apache 20 0 423868 114796 19556 S 22.4 0.2 1:16.65 httpd
8421 admin 20 0 425516 116308 19400 R 22.1 0.2 1:59.91 httpd
6814 admin 20 0 429952 120660 19496 R 21.5 0.2 2:00.55 httpd
11104 admin 20 0 426560 117260 19264 S 21.5 0.2 1:33.78 httpd
5365 admin 20 0 423624 114604 19492 R 21.1 0.2 1:28.60 httpd
9025 admin 20 0 421444 112304 19404 R 21.1 0.2 2:14.16 httpd
7393 admin 20 0 427780 118160 19276 S 20.8 0.2 1:32.82 httpd
9063 admin 20 0 428748 119264 19404 R 20.8 0.2 2:40.89 httpd
10642 admin 20 0 406112 96816 19316 R 20.5 0.1 1:54.90 httpd
10863 admin 20 0 407408 98180 19388 R 20.5 0.1 1:58.49 httpd
3128 admin 20 0 423588 114032 19332 S 19.5 0.2 2:14.29 httpd
9272 admin 20 0 406932 97476 19408 S 19.1 0.1 1:46.06 httpd
10682 admin 20 0 424496 115124 19544 S 19.1 0.2 2:27.67 httpd
7357 admin 20 0 423564 114036 19344 R 18.8 0.2 2:09.32 httpd
7397 admin 20 0 421420 112400 19500 R 18.8 0.2 1:49.05 httpd

how can i fix it?
 
Top