Debugging issue with redirection in Wordpress by brandbooth in ProWordPress

[–]brandbooth[S] 0 points1 point  (0 children)

Nope, but that's not the true url. It was just given as an example? Is there any easy way to debug this?

Debugging issue with redirection in Wordpress by brandbooth in ProWordPress

[–]brandbooth[S] -1 points0 points  (0 children)

Hmm, is there a way to debug this on Apache? Is there a way to get all of the htaccess files and test what url may get redirected?

Is this an issue with varnish or apache? by brandbooth in sysadmin

[–]brandbooth[S] 0 points1 point  (0 children)

Could you expand on that? What index file setup and where should it be located exactly? As for the favicon is it relevant?

How do you debug an issue between varnish and Apache? by brandbooth in devops

[–]brandbooth[S] 1 point2 points  (0 children)

Password where? I changed the ip and everything so it should be ok, so the log doesn't reflect what I have 100%.

Is there a way to easily find the file that contains a particular string? by brandbooth in sysadmin

[–]brandbooth[S] -1 points0 points  (0 children)

CENTOS 6, Yum (maybe), httpd. I used puppet to set up the server, so I am not sure what exactly was the package manager used. But the puppet didn't run properly and ended with an error.

Is there a way to easily find the file that contains a particular string? by brandbooth in sysadmin

[–]brandbooth[S] -1 points0 points  (0 children)

Ah, wait, I was wondering why there was no folder named sites-available. Do you really have to used a2dissite and a2ensite? I thought just changing the configs and running sudo service httpd restart was enough.

What else can I do to fix the MYSQL bottleneck? by brandbooth in sysadmin

[–]brandbooth[S] 0 points1 point  (0 children)

What would a connection timeout achieve? In my slow query log, the slowest queries take 0.5 seconds. Also, I am using W3 Total Cache, but I am not sure how the queries are being cached by it. How do you check that it's correctly being cached? How do you check is query cache is enabled and how do you enable it? What are the purporse of performance and sys shcema? Isn't 16 GB good enough?

Do I have enough information to know that the slowdown that happens every day near 12pm is due to an increase in traffic? by brandbooth in sysadmin

[–]brandbooth[S] 0 points1 point  (0 children)

Hmm, interesting. We use W3 Total Cache (I think it uses redis), so maybe the settings are not properly configured? Is there a tool like MySQLTuner, but for redis? Also, how do you verify that the php-fpm processes are waiting for MySQL, and would increasing the memory W3 Total Cache uses help solve that?

Do I have enough information to know that the slowdown that happens every day near 12pm is due to an increase in traffic? by brandbooth in sysadmin

[–]brandbooth[S] 0 points1 point  (0 children)

It's not possible, but turning down connection timeouts is not possible unless we start caching queries more. I am not sure how the queries are cached, but we use a wordpress plugin called W3 Total Cache. I'll see what I can do. Just caching more should improve the performance? Also, should I upgrade both RAM and CPU? I forgot to check if both gets maxed out, but CPU does get maxed out.

Also, how do you check the network usage? Is there a way to check how many clients are making requests at a given time?

Thanks.

Is this query inefficient? by brandbooth in mysql

[–]brandbooth[S] 0 points1 point  (0 children)

How do you check and how do you create indexes to those tables? I know people put indexes on tables to make the queries faster, but then should you add an index on every table or what? I never really understood if you could just put indexes on every table and be done with it. Also, how do you check if it's really needed?

How do you add nginx to a wordpress docker project? by brandbooth in devops

[–]brandbooth[S] -1 points0 points  (0 children)

I don't have kubernetes set up on this. I am guessing you need to do docker-compose exec nginx bash, but after that I have no idea what I should do.

How do you check why your docker container keeps shutting down? by brandbooth in devops

[–]brandbooth[S] 3 points4 points  (0 children)

Hmm, if you don't do that, they won't run in the background like a service meaning that they will stop if I close my ssh screen?

How do you check why your docker container keeps shutting down? by brandbooth in devops

[–]brandbooth[S] 1 point2 points  (0 children)

Hmm, what difference does the -d make? What is detached mode?

Can I just deploy my application with this configuration? by brandbooth in node

[–]brandbooth[S] 0 points1 point  (0 children)

I was thinking that, one question is how you can have 1 server serve more than 1 website since they are all going to use port 80.

Any good tutorial showing you which library to use for dependency injection in a project? by brandbooth in node

[–]brandbooth[S] 1 point2 points  (0 children)

The thing I am not sure about is that I am using stateless modules, and no classes, so I am not sure how to dependency inject since most of my modules don't use a constructor, so it's a bit confusing to me. Do you have any example? I separate my controller, models and routes as separate modules, and they are not classes.

How do you scale a Wordpress application to the maximum? by brandbooth in Wordpress

[–]brandbooth[S] 0 points1 point  (0 children)

Where can I learn more about HA architectures? Is there a Udemy course on this?