Do you have any delayed WordPress cron events?
Thread Starter
alaid
(@alaid)
Hi,
No, I have multiple cron events and they all work
Hello, i’m french.
I have exactly the same probleme since novembre 2021. Before it was ok. In 6 month, the itheme security plugin create more than 15 000 000 of files !
I’m in a multi site wordpress, in 6.0 and itheme security 8.1.2
I try to change several times the parameters : 90 days, 30 days and 0, the logs don’t rotate.
If it was possible I would have completely disabled the creation of logs.
In one day 50 0000 files are created.
I have crons for different newsletters which work fine, crons which disable pop up or post, all it ok.
Thanks.
Hi @alaid & @fanny300, are you still having the same issue while using the most recent version of iThemes Security?
Thread Starter
alaid
(@alaid)
Hi,
I solved it by adding a cron task in Cpanel so that it deletes the last record from 7 days ago.
“find /home/eldiari1/public_html/wp-content/uploads/ithemes-security/logs -name event-log-el-diario-de-guayana\* -mtime +7 -delete >/dev/null 2>&1”
But I would like this to work directly from iThemes without the need to create the cron task.
Hi @alaid, apologies for the delayed response. Would you please enable iThemes Security Debug and check if you can see the purge-log-entries cron listed under Scheduler?
Thread Starter
alaid
(@alaid)
Hi,
If it appears
purge-log-entries 2022-09-02 12:45:05 (24 horas) daily
@alaid could you please try to reset the ITSEC_Scheduler_Cron and wait at least 24 hours if it helps? If not, please change the days to keep logs, save the settings, reset the scheduler again, and see if it resolves after a day. Please let me know how it goes.
Thread Starter
alaid
(@alaid)
Hi,
Ok, I will be doing the tests and I will inform when I finish if it works.
Thanks.
Thread Starter
alaid
(@alaid)
Hi,
I did the test following your instructions, there are no changes, it still doesn’t work.
Hi @alaid, thank you for getting back. Would you be able to deactivate and delete the iTSec plugin, and re-install a fresh copy on your site to see if it helps?
Thread Starter
alaid
(@alaid)
Hi,
I’ve done this before and it doesn’t fix it. I have installed iThemes Security with different themes, settings, hosting, etc on 20 different sites and the same thing happens on all of them.
Thanks.
Hi @alaid thank you for getting back. Could you please try installing this plugin? Then, go to Tools > Cron Events > itsec_cron “purge-log-entries” > click “Run Now” and see if it clears the retained logs?
Thread Starter
alaid
(@alaid)
Hi,
I did the test and it doesn’t work, only the cron task that I added in cPanel is the only thing that works.
@alaid would it be possible for you to create a staging site to test if the issue still occurs there while all plugins except iTSec are deactivated?