Okay, I'm a noobie. I know how to build and compose a website, but I have no idea what I'm doing when it comes to servers and server commands, etc.
I've recently had a problem with all of my sites on our servers going down all at once and then I have to go in and reboot the server for them to come up again. At first this was annoying, but now it is becoming agonizing as it now takes 3-4 reboots for the websites to come back up.
I contacted support for my hosting, but they are not being very helpful. They just keep telling me what the issue might be and basically telling me that I'm going to have to look into it and figure it out, which really isn't possible since I know nothing.
Anyway, here are the things they said were possible reasons:
They said I have "strange logs" in my Apache webserver log, error: sh: fetch: command not found.
My php.ini memory limit is: 256M which is very high. It should be 32M or 64M.
Server is reaching Max Clients, meaning we have more than 150 visitors at a time. (They supposedly "fixed" this, but the sites/server are still going down)
I have some Wordpress sites with plugins getting errors like:
PHP Warning: pack(): Type H: illegal hex digit G in...
PHP Fatal error: Cannot use object of type stdClass as array in...
PHP Fatal error: Maximum execution time of 30 seconds exceeded in...
PHP Fatal error: Call to undefined function file_exists() in...
PHP Parse error: syntax error, unexpected '<'
I know that's a lot, but I really am at wits end and have no idea what to do now. If anyone could maybe give me some advice or point me in the right direction I would greatly appreciate it! Thanks!
Oh, and here are the specs for my server:
RAM: 2048MB
CPU Shares: 40
Primary Disk: 50GB
Data Transfer: 75GB
Port Speed: 5Mbps
Type: Linux