How to check CPU usage before running a Python script by shell_exec? Or alternative queuing approaches to prevent server overload?

前端 未结 0 980
忘掉有多难
忘掉有多难 2021-02-05 04:42

I have an Apache-based PHP website that:

  • Accepts a document uploaded by a user (typically a text file)
  • Runs a Python script over the uploaded file using sh
相关标签:
回答
  • 消灭零回复
提交回复
热议问题