22-04-2020, Saat: 09:04
Indy için yukarıda verdiğim forum linkindeki konuda bir sonuca varıldı.
Özetle Client sayınızı az tutun veya proje ayarlarında thread ler için stack size değerleri ile düzenleme yapın. Indy bu şekilde (çok fazla client bağlanacak gibi)tasarlanmadı şeklinde bir öneri yapıldı.
Son aldığım cevabın orijinal halinin tamamı aşağıdadır.
"1500 *simultaneous* clients? Because that would mean your process is running 1500 concurrent threads (1 thread per client), which is likely to take up way too much memory. The default thread stack size is 1-4MB, depending on project settings, so 1500 simultaneous clients would be using 1.5-6GB of memory. Indy is not designed for that kind of load. You would need to reduce the number of simultaneous clients, or lower the default stack size. But, on Windows at least, you really need to use Overlapped I/O or I/O Completion Ports to handle that kind of load efficiently, and that is not supported by Indy at this time."
Özetle Client sayınızı az tutun veya proje ayarlarında thread ler için stack size değerleri ile düzenleme yapın. Indy bu şekilde (çok fazla client bağlanacak gibi)tasarlanmadı şeklinde bir öneri yapıldı.
Son aldığım cevabın orijinal halinin tamamı aşağıdadır.
"1500 *simultaneous* clients? Because that would mean your process is running 1500 concurrent threads (1 thread per client), which is likely to take up way too much memory. The default thread stack size is 1-4MB, depending on project settings, so 1500 simultaneous clients would be using 1.5-6GB of memory. Indy is not designed for that kind of load. You would need to reduce the number of simultaneous clients, or lower the default stack size. But, on Windows at least, you really need to use Overlapped I/O or I/O Completion Ports to handle that kind of load efficiently, and that is not supported by Indy at this time."
PostgreSQL - Linux - Delphi, Poliüretan