MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: nikobellicgamerin on 2017-07-21, 22:47:29

Title: slow website
Post by: nikobellicgamerin on 2017-07-21, 22:47:29
my website are loading very slow and taking ages to load , but my server is fast this all happen after updating from 6.5 to 7.0

help
Title: Re: slow website
Post by: MRatWork on 2017-07-22, 02:49:48
Check to 'log manager' for php slow.
Title: Re: slow website
Post by: nikobellicgamerin on 2017-07-22, 09:17:44
check i cant understand after some time all website stops responding , plz help to optimise my server
Title: Re: slow website
Post by: MRatWork on 2017-07-22, 10:58:57
Try reboot your server.
Title: Re: slow website
Post by: nikobellicgamerin on 2017-07-22, 12:01:16
done like 100 times nothing happned
Title: Re: slow website
Post by: MRatWork on 2017-07-22, 13:24:27
Change to 'dynamic' from 'ondemand' for php-fpm in 'web features'.
Title: Re: slow website
Post by: nikobellicgamerin on 2017-07-22, 17:24:22
done , but i want to use Apache 2.2 but the tick from Apache 2.4 is not removed i tryed many times but its there always.
Title: Re: slow website
Post by: MRatWork on 2017-07-22, 17:55:26
What's the reason to use old apache (aka 2.2 version)?.
Title: Re: slow website
Post by: nikobellicgamerin on 2017-07-23, 03:57:39
because its stable , non of my website works after 10 min from server restart me frustrated brother plz help.
Title: Re: slow website
Post by: MRatWork on 2017-07-23, 04:08:17
Possible mysql data corrupt and or too much using resource. So, need optimize.
Title: Re: slow website
Post by: MRatWork on 2017-07-23, 04:09:48
Try running 'top' and 'iotop' from each ssh terminal to know what's service using resource too much.
Title: Re: slow website
Post by: nikobellicgamerin on 2017-07-23, 18:14:21
Please check and tell

(http://image.ibb.co/ibTVUk/process.png)
Title: Re: slow website
Post by: MRatWork on 2017-07-23, 18:24:33
You have a trouble with mysql.

If using myisam for storage-engine, try 'sh /script/mysql-optimize --select=repair; sh /script/mysql-optimize --select=optimize'.
Title: Re: slow website
Post by: nikobellicgamerin on 2017-07-23, 18:29:33
its innodb bro
Title: Re: slow website
Post by: MRatWork on 2017-07-24, 04:21:24
its innodb bro
So, you need repair your database.
Title: Re: slow website
Post by: nikobellicgamerin on 2017-07-24, 07:57:49
your command does not repair innodb i tryed.
Title: Re: slow website
Post by: nikobellicgamerin on 2017-07-24, 12:57:46
: The storage engine for the table doesn't support repair
Title: Re: slow website
Post by: MRatWork on 2017-07-24, 13:05:25
Search this forum to how to repair innodb or use google to find out 'how to repair innodb'.
Title: Re: slow website
Post by: nikobellicgamerin on 2017-07-24, 15:10:53
BROTHER THIS LOG FILE TAKES TOO MUCH CPU CAN YOU TELL WHY

(http://image.ibb.co/egRMLQ/sql.png)
Title: Re: slow website
Post by: nikobellicgamerin on 2017-07-24, 15:19:39
2017-07-24 17:24:35 7f7987019820  InnoDB: Operating system error number 11 in a file operation.
InnoDB: Error number 11 means 'Resource temporarily unavailable'.
InnoDB: Some operating system error numbers are described at
InnoDB: http://dev.mysql.com/doc/refman/5.6/en/operating-system-error-codes.html
170724 17:24:35 [ERROR] InnoDB: Can't open './ibdata1'
170724 17:24:35 [ERROR] InnoDB: Could not open or create the system tablespace. If you tried to add new data files to the system tablespace, and it failed here, you should now edit innodb_data_file_path in my.cnf back to what it was, and remove the new ibdata files InnoDB created in this failed attempt. InnoDB only wrote those files full of zeros, but did not yet use them in any way. But be careful: do not remove old data files which contain your precious data!
170724 17:24:35 [ERROR] Plugin 'InnoDB' init function returned error.
170724 17:24:35 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
170724 17:24:35 [ERROR] mysqld: Can't lock aria control file '/var/lib/mysql/aria_log_control' for exclusive use, error: 11. Will retry for 30 seconds
170724 17:25:06 [ERROR] mysqld: Got error 'Could not get an exclusive lock; file is probably in use by another process' when trying to use aria control file '/var/lib/mysql/aria_log_control'
170724 17:25:06 [ERROR] Plugin 'Aria' init function returned error.
170724 17:25:06 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.
170724 17:25:06 [Note] Plugin 'FEEDBACK' is disabled.
170724 17:25:06 [ERROR] Aria engine is not enabled or did not start. The Aria engine must be enabled to continue as mysqld was configured with --with-aria-tmp-tables
170724 17:25:06 [ERROR] Aborting

170724 17:25:06 [Note] /usr/sbin/mysqld: Shutdown complete

170724 17:25:06 mysqld_safe mysqld from pid file /var/lib/mysql/ns1.pattola.com.pid ended
Title: Re: slow website
Post by: nikobellicgamerin on 2017-07-25, 07:03:55
reply bro
Title: Re: slow website
Post by: nikobellicgamerin on 2017-07-27, 09:50:25
Brother why are you not replying
Title: Re: slow website
Post by: nikobellicgamerin on 2017-07-27, 17:19:08
why dont you try help fix this
Title: Re: slow website
Post by: MRatWork on 2017-07-27, 17:29:15
Did you read how to fix innodb in this forum or search with google?.
Title: Re: slow website
Post by: nikobellicgamerin on 2017-07-28, 05:27:45
not fount a single good article all things in this forum are unfinished
Title: Re: slow website
Post by: MRatWork on 2017-07-28, 05:37:24
Read http://blackbird.si/mysql-corrupted-innodb-tables-recovery-step-by-step-guide/

Because using MariaDB, innodb_force_recovery and innodb_purge_threads add to /etc/my.cnf.d/server.cnf instead /etc/my.cnf.

That it.
Title: Re: slow website
Post by: nikobellicgamerin on 2017-07-28, 09:03:15
What should i add to

add to /etc/my.cnf.d/server.cnf
Title: Re: slow website
Post by: nikobellicgamerin on 2017-07-29, 18:57:23
tell me
Title: Re: slow website
Post by: MRatWork on 2017-07-30, 02:54:12
Yes.
Title: Re: slow website
Post by: nikobellicgamerin on 2017-07-31, 18:41:20
Yes.


What should i add to

add to /etc/my.cnf.d/server.cnf
Title: Re: slow website
Post by: MRatWork on 2017-08-01, 02:53:28
Yes.


What should i add to

add to /etc/my.cnf.d/server.cnf
Use nano or vi to edit this file. Googling to know about nano or vi.