我发现我的网站有时无法正常运行,并查看了日志:
[mpm_event:alert] [pid 6732:tid 140117887040448] (11)Resource temporarily unavailable: AH00480: apr_thread_create: unable to create worker thread
这个出现并成倍增加了
但问题在于目前只有约500个插座
尽管我曾尝试为mpm_event扩大工作人员,但它似乎仍然没用
这是mpm_event.conf
ServerLimit 32
<IfModule mpm_event_module>
StartServers 6
MinSpareThreads 25
MaxSpareThreads 255
ThreadLimit 64
ThreadsPerChild 32
MaxRequestWorkers 1024
MaxConnectionsPerChild 10240
</IfModule>