• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Apache log files

qualispace

Regular Pleskian
Hello All,

I was wondering if we can merge the access_log and error_log files created for each website in Plesk. I believe that there is an open file descriptors limit of 1024 in apache and because of the access_log and error_log files created for each website, we cannot host more than 500 websites in the server. Merging the access_log and error_log will create a single log file and will reduce the number of open files which may help us in hosting more websites without worrying about the open files descriptors limit. I am not sure if I am right or wrong, but I would like to know the experts' views on this. If this is possible then it would be great for all.

I await suggestions from all.
 
You should be able to use something like this:

Code:
CustomLog /var/log/apache/access_log combined

in your
"/srv/www/vhosts/yourDomain.net/conf/httpd.include"

If you use that in every "httpd.conf" or "httpd.include" only one logfile is used.

But Plesk does not encourage to change the "httpd.include". Please search the Plesk-PDFs and use Google to find a solution for this problem.

Regards,
Claus
 
Back
Top