We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
restart mysqld in cron
-
- Posts: 3
- Joined: Mon Jul 14, 2014 7:58 am
restart mysqld in cron
Hi every body
I need to restart mysqld server via cron jobs
how can i do this ?
thanks
I need to restart mysqld server via cron jobs
how can i do this ?
thanks
Re: restart mysqld in cron
Why would you want to restart mysqld daily/weeky or something like that? Is there some issue that causes it to crash regularly? If not, I'd leave it running.
-
- Posts: 3
- Joined: Mon Jul 14, 2014 7:58 am
Re: restart mysqld in cron
Yes , there is an issue
at the time 00:00 every day mysqld server is not accessable and cpu usage is overloaded
200% and in this case I have to restart mysqld server.
I search on google to resolve this issue but I faild.
at the time 00:00 every day mysqld server is not accessable and cpu usage is overloaded
200% and in this case I have to restart mysqld server.
I search on google to resolve this issue but I faild.
Re: restart mysqld in cron
Is there a backup/snapshot of your server being made at midnight, or something like that? Do you have system log files?
Re: restart mysqld in cron
mohamed246, no nead restart mysqld, may need to configure mysql for optimal memory usage
show me
show me
Code: Select all
free -m
-
- Posts: 3
- Joined: Mon Jul 14, 2014 7:58 am
Re: restart mysqld in cron
this is the result
total used free shared buffers cached
Mem: 4000 3335 665 0 68 2313
-/+ buffers/cache: 953 3046
Swap: 511 84 427
total used free shared buffers cached
Mem: 4000 3335 665 0 68 2313
-/+ buffers/cache: 953 3046
Swap: 511 84 427