Serious Bugs on Usage & Logs [SOLVED]
Re: Serious Bugs on Usage & Logs
@george. Thank You. I can understand the issue is either theme related or bruteforce attack related. Let me solve it with the help of stack overflow.
Re: Serious Bugs on Usage & Logs [SOLVED]
Fixed the issue. I have setup a monitor to alert high CPU usage, which alerted me 11.45 PM IST. Logged into terminal and using ncdu found the same issue.
The size of log file "error.log" under /home/users/tasteofsouthindia/logs was rapidly increasing around 10 MB per second.
The below mentioned code in header.php created the issue:
Solved by completely disabling if conditions. Now the bug is fixed.
Thank you all who helped me in finding the issue and making me fix it.
The size of log file "error.log" under /home/users/tasteofsouthindia/logs was rapidly increasing around 10 MB per second.
The below mentioned code in header.php created the issue:
Code: Select all
<?php if ( is_shop() ) : ?>
<h1><?php woocommerce_page_title(); ?></h1>
<?php else : ?>
<h1><?php the_archive_title(); ?></h1>
<?php endif; ?>
Thank you all who helped me in finding the issue and making me fix it.