Page 1 of 1

VPS going down

Posted: Wed Sep 03, 2014 4:25 pm
by vestacp89
Hello All,

I have vestacp on my VPS, last 2 days i have next problem,
VPS from nowhere go down and can't login via ssh then i reboot VPS and work, after reboot mysql is down and i need stop and start mysql via ssh and then all work fine but after some time again same problem VPS going down any suggest ? What you think this is my VPS or vestacp problem ?

Thanks.
:)

Re: VPS going down

Posted: Thu Sep 04, 2014 3:05 pm
by imperio
Hi,
I think that problem in your VPS, because you have problem with ssh
Show me result of this commands

Code: Select all

top
free -m

Re: VPS going down

Posted: Fri Sep 05, 2014 3:14 pm
by cagatay
I installed vesta on a 512 mb kvm vps.

mysql keep stopping.

free -m

Code: Select all

root@hosting5:~# free -m
             total       used       free     shared    buffers     cached
Mem:           497        490          6          0          9        100
-/+ buffers/cache:        380        116
Swap:            0          0          0
top

Code: Select all

top - 15:13:12 up 7 min,  1 user,  load average: 0.01, 0.03, 0.02
Tasks:  80 total,   1 running,  79 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.3 us,  0.3 sy,  0.0 ni, 84.2 id, 14.8 wa,  0.0 hi,  0.3 si,  0.0 st
KiB Mem:    508948 total,   502756 used,     6192 free,     9808 buffers
KiB Swap:        0 total,        0 used,        0 free,   102484 cached

    5 root      20   0     0    0    0 S   0.0  0.0   0:00.00 kworker/u:0
 3387 admin     20   0 36028  848  360 S   0.7  0.2   0:00.32 vsftpd
 3386 admin     20   0 36028 1100  556 S   0.3  0.2   0:00.37 vsftpd
    1 root      20   0 10648  796  668 S   0.0  0.2   0:00.55 init
    2 root      20   0     0    0    0 S   0.0  0.0   0:00.00 kthreadd
    3 root      20   0     0    0    0 S   0.0  0.0   0:00.01 ksoftirqd/0
    5 root      20   0     0    0    0 S   0.0  0.0   0:00.00 kworker/u:0
    6 root      rt   0     0    0    0 S   0.0  0.0   0:00.00 migration/0
    7 root      rt   0     0    0    0 S   0.0  0.0   0:00.00 watchdog/0
    8 root       0 -20     0    0    0 S   0.0  0.0   0:00.00 cpuset
    9 root       0 -20     0    0    0 S   0.0  0.0   0:00.00 khelper
   10 root      20   0     0    0    0 S   0.0  0.0   0:00.00 kdevtmpfs
It was a fresh debian 7 64 bit installation. everything was default. I installed vesta using the instructions provided at this web site.

Do you think 512 mb is too low?

I only host 1 site, 5 mail domain. that's it.

Re: VPS going down

Posted: Fri Sep 05, 2014 4:05 pm
by imperio
Do you think 512 mb is too low?
Yes, i recommend to you use 1 GB RAM or large, or you can try to optimize mysql

Re: VPS going down

Posted: Sun Sep 07, 2014 9:21 am
by cagatay
imperio wrote:
Do you think 512 mb is too low?
Yes, i recommend to you use 1 GB RAM or large, or you can try to optimize mysql
If I upgrade the plan to 1gb, I also get increased number of cores (1 to 2 cores)

do I need to edit a service to take advantage of double cores?

in php-fpm I remember entering the number of cores, does any vesta service need editing when we upgrade core numbers?