This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Help...MYSQL crashing once per day
#17
RE: Help...MYSQL crashing once per day
Just thought I would come back to this thread and post a few more things. What I did above fixed a lot of my issues by mysql would still crash from time to time. It wasn't a big deal, because i had a script that ran and checked if it was down and would restart it. It only happened once or twice a month probably. Anyway, it's still probably not a good idea to have mysql server crash even if rarely.

Recently, I found some time to look into securing a few things on the server and I came across the prefork and MaxRequestWorkers setting. I thought I would post a link to these two articles for anyone else experiencing memory issues and crashes.

If you leave your web server setup with the defaults, it's probably no good. I found that given the average memory used by the httpd process, I should only allow about 20-30 httpd processes, anything more and my server starts to thrash. I probably should have learned about this sooner. Anyway, since configuring this (based on the website articles pasted below), I haven't had my mysql server or web server crash since.

https://fuscata.com/kb/set-maxclients-apache-prefork
https://www.maketecheasier.com/optimizin...he-part-1/

Hope others will find this useful.
Reply
Thanks given by:


Messages In This Thread
RE: Help...MYSQL crashing once per day - by Me.B - 05-02-2015, 05:40 PM
RE: Help...MYSQL crashing once per day - by Me.B - 05-03-2015, 01:06 AM
RE: Help...MYSQL crashing once per day - by Me.B - 05-03-2015, 02:02 AM
RE: Help...MYSQL crashing once per day - by americanninja - 05-08-2016, 02:55 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
MySQL Database user prefix MosleyCale 1 5 ,012 10-17-2020, 09:11 PM
Last Post: Ron-e
Senator crash problem with mysql provokas 3 9 ,759 08-20-2020, 04:11 AM
Last Post: Your Creator
MySQL remote access... pixelbat 11 38 ,416 05-02-2020, 07:40 PM
Last Post: upendra.sahu1990@gmail.com

Forum Jump:


Users browsing this thread: 1 Guest(s)