Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ MT-multithreading and servers » how many threads should i use in SkyLark server?
how many threads should i use in SkyLark server? [message #46662] Sun, 26 June 2016 11:28 Go to next message
akebee is currently offline  akebee
Messages: 90
Registered: August 2011
Location: China
Member
In the source i see
INI_INT(threads, 3 * CPU_Cores() + 1, "Number of threads in each Skylark subprocess");


My skylark server always works well, but today i found it can not connect,
i go into the remote destop found that there are 10 TCP connections ESTABLISHED,
Is the number of threads too small to handle so many connection ?
Re: how many threads should i use in SkyLark server? [message #46673 is a reply to message #46662] Thu, 30 June 2016 13:23 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
How many cores do you have? (CPU_Cores)

Is it Linux server?

Mirek
Re: how many threads should i use in SkyLark server? [message #46683 is a reply to message #46673] Thu, 07 July 2016 09:09 Go to previous message
akebee is currently offline  akebee
Messages: 90
Registered: August 2011
Location: China
Member
It is Windows server,2 cores.
and this occurred randomly , Embarassed
Previous Topic: skylark meet strange problem
Next Topic: bug in CoWork since C++11
Goto Forum:
  


Current Time: Thu Mar 28 22:18:07 CET 2024

Total time taken to generate the page: 0.01134 seconds