I have a VPS server which hosted an wordpress site. Why the website is running, there have too many processes spawn. It causes to leak memory and mysql is cracked? Can you guys help me? Thank you much.
Thats a pretty general question. It could be because of a wordpress plugin (most of the times). It could also be an issue with the wordpress theme that you are using. Least but not last you should check your apache access log for that site and the error log as well. There could be some sort of brute force attempts that just spawn proccesses. The default location on centos for apache logs is /var/log/httpd if not configured otherwise.
Related
NOTE: I am using XAMPP
When I browse localhost/phpmyadmin or localhost/ even the localhost/xampp is not working it just says took too long to respond. I have tried changing the Listen 80 to 8080 in apache(httpd.conf) it didnt solve my problem.
It was working before and then somehow it not working.
Any help would be appreciated. Thank you
It is not port issue as apache is working just it is taking too much time in responding.
If xampp restarts your computer it might be taking too much resources from your PC. Monitor memory usage and disk usage from task manager.
On windows (specially windows10 ) disk usage makes problem with many application during windows update. If updates are downloaded and not installed; install and rebbot your machine.
If possiible you can try reinstalling XAMPP by taking backup of old configuration files.
I'm working on an app with a team. They are able to log in fine when running it on their local servers, however when I try to do so I get 'Invalide username / password' and no network activity or console errors in dev tools.
I have no idea why this could be, we're working on the exact same code - clearly it's something on my machine.
Has anyone come across anything like this before?
(Have tried other browsers and still nothing).
Maybe you need to check your server instalation on your machine.
For example, if you are using XAMPP to manage your Apache maybe there is some configuration that was set in the wrong way.
My advice is, save your code and re-install your server, pay attention to all configuration details and see if the problem is solved.
I suspect that an ex-employee, who had ftp and backend access to our WordPress site, created and installed an API to allow smartphone access to our database. How can I detect queries being made to the database and see what is requesting them?
Thanks
If you want to log all MySQL (just a guess) queries you can go with the solution in this post: Log all queries in mysql
But it should be mentioned that this is not wise for a production site.
Besides, if you really expect that he could have altered the installation with malicious code you should either reinstall a fresh wordpress and transfer all data or at least validate the code files against a fresh wordpress installation to check for altered code.
Basically this is the same as for a potentially penetrated system, restart at a backup point that you trust or with a fresh copy.
Hi I am having this issue for quite long time. My WordPress site shows installation page about every after 2 days. It fixes when I clear MySQL logfile (ib_logfiles0 and ib_logfile1). But it happens again. I made fresh WordPress installation, installed different security plugins in WordPress. Also, I installed fail2ban in my VPS to avoid Brute force attack and increased MySQL logfile size. But it shows again. Please help me.
By the way, I have multiple domain in the same VPS and all other domain works fine except this particular one.
I have 3 cartridges: PHP 5.4, MySQL 5.5 and phpMyAdmin 4.0. Every time I commit any change to my openshift, I see that my website is down because Apache is restarting but, is this really necessary? Is there any way to avoid it to restart everytime?
Thanks!
Today I discovered how to hot-deploy my application. Link: openshift.com/blogs/hot-deploying-php-on-openshift
Definition of hot-deploy: Hot-deployable services are those which can be added to or removed from the running server. It is the ability to change ON-THE-FLY what’s currently deployed without redeploying it.
Other information: openshift.com/kb/kb-e1057-how-can-i-deploy-my-application-without-having-to-restart-it