Hi.
Hm, i just sent a job with a block with no tasks and afserver has not hung.
( i`ve also committed "invalUd" fix).
So our sever is working for about a week with a reduced threads stack with no hung.
Afserver crashes
Re: Afserver crashes
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
Re: Afserver crashes
yes, it worked since last wednesday without crash.
Re: Afserver crashes
This is this theme related commit:
https://github.com/CGRU/cgru/commit/595 ... 59e4637cf0
I think that it is better to raise all needed threads at once on server start.
As it is more hard to raise 1 thread per connection and than finish thread.
Raising hundreds threads per second (per afrender) can consume much system resources.
I also want to try epoll on Linux.
And it will be configurable what to use for IO, epoll or threads pool.
https://github.com/CGRU/cgru/commit/595 ... 59e4637cf0
I think that it is better to raise all needed threads at once on server start.
As it is more hard to raise 1 thread per connection and than finish thread.
Raising hundreds threads per second (per afrender) can consume much system resources.
I also want to try epoll on Linux.
And it will be configurable what to use for IO, epoll or threads pool.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
Re: Afserver crashes
EPOLL for linux:
https://github.com/CGRU/cgru/commit/c14 ... f15e5c8012
It configurable to use blocking (threading) or non-blocking (epoll) IO on Linux.
For now epoll is disabled by default. Testing needed.
Also right now code can be compiled only on Linux, #ifdef-s need to skip epoll code for other platforms (and i will do this soon).
https://github.com/CGRU/cgru/commit/c14 ... f15e5c8012
It configurable to use blocking (threading) or non-blocking (epoll) IO on Linux.
For now epoll is disabled by default. Testing needed.
Also right now code can be compiled only on Linux, #ifdef-s need to skip epoll code for other platforms (and i will do this soon).
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).