為什麼 Apache 不使用 RAM 但顯示錯誤?

為什麼 Apache 不使用 RAM 但顯示錯誤?

我正在嘗試優化 LAMP 堆疊。這是伺服器的配置。

CPU:4 vCore
Ram:4096 MB
Storage:90 GB SSD
Bandwidth: 4000 GB

當我嘗試使用以下命令測試伺服器時800並發訪問者,我收到這些錯誤。

[alert] socket: 1009293056 select timed out: Connection timed out
[alert] socket: 2058381056 select timed out: Connection timed out
[alert] socket: 1439418112 select timed out: Connection timed out
[alert] socket: 768001792 select timed out: Connection timed out
[alert] socket: -2144266496 select timed out: Connection timed out
[alert] socket: 507827968 select timed out: Connection timed out

這是我收到錯誤時的記憶體使用情況...

             total       used       free     shared    buffers     cached
Mem:          3953        333       3619         24         13        141
-/+ buffers/cache:        178       3774
Swap:         1023          0       1023

我想知道為什麼我會收到這些錯誤3300MB內存是免費的。

我做錯了什麼,我知道。但我不知道我哪裡錯了。

相關內容