• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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