• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Question access_ssl_log.processed log file is increasing in size by many gigs - daily

MHC_1

Regular Pleskian
Server operating system version
Alma Linux 9.9
Plesk version and microupdate number
18.0.82 Update #5
We have a web domain that simply forwards traffic to another domain. It contains no content and yet every single day the domain a "access_ssl_log.processed" file that grows by +5-6Gb PER DAY.

We delete the log file from the account and the next day there's another of similar size. A couple of other log files (error_log) are 200mb +/- size but they remain fairly static .

How do we stop the access_ssl_log.processed expanding so fast?

This only happens on a single domain on a shared server.
 
Thought: There is a subdomain on the account -- would the subdomain record to the parent Access SSL Logs?
 
The subdomain will normally log it's own transactions in a separate log file from the main domain.

Simply deleting a log file from your /logs directory will not work, because it is a hard linked copy of the "real" file which resides in /var/www/vhosts/system/<domain name>/logs. However, deleting a log file directly is a bad idea in general, because a system process might have opened a handle on it (like Apache, which wants to log something), and now as you delete the file, the web server will no longer be able to write the log entry. Instead, only rotate files and only delete old logs that have already been rotated.

That your file reappears might be due to that hard link (if it has the same content like before). If your log file really increases fast, you'll need to look into it what is logged. Are there many requests against the website?
 
@Bitpalast Ahhh, ok that explains the recurrence of them log file if I'm deleting the file in "/var/www/vhosts/account/logs" but that's not removing the real file so then next time we check it's back at a similar size that implies it's not all "new" logged content.

I have now deleted through Plesks log file removal GUI . Will see how big the new log is later on. Thank you!
 
@MHC_1

This statement

We have a web domain that simply forwards traffic to another domain. It contains no content and yet every single day the domain a "access_ssl_log.processed" file that grows by +5-6Gb PER DAY.

is an indication that it might be a better idea to reduce the log file size by mitigating the root cause of the problem : the reason why your logs become large.

For instance, if you have a lot of HTTPS requests to Apache, then they will end up in access_ssl_log and consequently in access_ssl_log.processed.

However, if most of these HTTPS requests are bad traffic, then the root cause of the problem is that security measures are not sufficient.

Also, if you do not have Nginx (as a proxy for Apache), then more entries will be present in access_ssl_log and access_ssl_log.processed.

Stated differently, I would recommend that you first have a look at your setup and, afterwards, have a look at the nature of the logs - if a lot of entries are present and related to bad / malicious traffic ....... then take appropriate action (and that is not thinking about log file size).

Kind regards....
 
@MHC_1

This statement



is an indication that it might be a better idea to reduce the log file size by mitigating the root cause of the problem : the reason why your logs become large.

For instance, if you have a lot of HTTPS requests to Apache, then they will end up in access_ssl_log and consequently in access_ssl_log.processed.

However, if most of these HTTPS requests are bad traffic, then the root cause of the problem is that security measures are not sufficient.

Also, if you do not have Nginx (as a proxy for Apache), then more entries will be present in access_ssl_log and access_ssl_log.processed.

Stated differently, I would recommend that you first have a look at your setup and, afterwards, have a look at the nature of the logs - if a lot of entries are present and related to bad / malicious traffic ....... then take appropriate action (and that is not thinking about log file size).

Kind regards....

Thanks. I think I misunderstood the log size as being new each day when it was that we had not deleted the real log file, so it's not a "high volume" domain, it's just the original log never got actually removed.
 
Hi,

just FYI,

Code:
logrotate -f /usr/local/psa/etc/logrotate.d/<domain>

will rotate the log files for the domain. It can take a while depending on the size, though.
 
Back
Top