116 reputation
1
bio website
location
age
visits member for 5 years, 5 months
seen Nov 17 at 22:03

May
10
comment Holding F5 on Wordpress site causes 100% CPU (Apache)
You're basically benchmarking your server in the most crude way imaginable. (Actually, your imagination is better than mine. It's never occurred to me to just hold F5.) You should check out Apache ab or another tool that'll let you simulate more realistic use cases and emit actual data. If you decide you need to make changes to get better perf, you'll be able to measure the effects of your attempts.
Oct
22
comment Puppet agent freeze on Ubuntu
Maybe you have a bad Exec declaration in your puppet manifests, like with mismatched quotes, empty command, or something?
Oct
20
comment heavy load on mysql
You can make mysql log slow queries to find out which ones are causing trouble. Then use explain to understand what's happening and modify the query or add necessary indexes. Another useful tool for overall mysql config is the mysqltuner script.
Oct
20
comment Which tools should I use to work efficiently on a remote server?
I would recommend working locally if you can. My low-powered laptop has no trouble running relatively bulky php + mysql + nginx web apps. Another thing to look at is fixing the way you're mounting that remote volume. Can you update the connection properties (or use sshfs directly for more control) so you're connecting as the user who CAN edit the files? (BTW, the learning curve is nothing to be ashamed of, but the command line can be much faster than GUIs with practice.)
Jul
11
comment HTTPS on relative URLs?
Yeah. If the URL of your secure page is /signup.php, you can check $_SERVER['HTTPS'] variable to see if the page was requested with https. If it isn't, redirect to https://www.yoursite.com/signup.php
Jul
11
comment HTTPS on relative URLs?
You need to use an absolute link with https: for any pages that need to always be secure. You should also test on those pages whether they were requested with HTTPS and redirect if not. Finally, if you KNOW you're on a https page because of the above, relative links and relative redirects will all use https automatically.
Nov
5
answered Utilizing my RAM more efficiently
Apr
22
awarded  Supporter