• 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.

Large log files view by plesk-panel log_viewer

unlo

New Pleskian
Hello!

Some clients take a looks at large files by the plesk log_file_viewer.php and after it, process of lighttpd (sw-cp-server) are growing for that size.

Now i can solving the problem only by restarting of lighttpd, then proccess grows for more than 100Mb:
ps aux |grep sw-cp-server |grep 1001 |awk '{if($5>100000) system("/etc/init.d/sw-cp-server restart")}'

Seems to be lighttpd dont have some parameter to limit body_size.

PHP parameters are not usefull for this problem (memory_limit is lower, and i dont want to chane of max_execution_time
for some other reasons).

To parallels: Maybe its possible to set some filesize limit in log_viewer for exclude memory leaks of sw-cp-serverd?
 
unlo,

As I know such behaviour is caused by the sw-cp-server architecture. Reading and writing work as intependend "threads" there (is uses poll-based multiplexing so they are not real, but are still undependent). If browser initiate the requests and do not actually read data, waiting for user to answer the "what to do with this file" dialog (IE does so, and Firefox _sometimes_ do not, that is, it begins reading data before user decides).
This problem under developers investigation now and I hope it will be solved in the one of the nearest Plesk updates.
 
sw-cp-serverd is eating all free memory

sw-cp-serverd is eating all free memory while I downloading backup file.
And after downloading, sw-cp-serverd is still huge in size.
Do you know why?
 
sw-cp-serverd is eating all free memory while I downloading backup file.
And after downloading, sw-cp-serverd is still huge in size.
Do you know why?

There is the same reason that I have described above.
 
Back
Top