Afserver crashes

General discussions and questions.
User avatar
timurhai
Site Admin
Posts: 368
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Afserver crashes

Post by timurhai » Mon Mar 27, 2017 12:00 pm

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.
Timur Hairulin
CGRU 2.3.0 Debian 9, Ubuntu 18.04LTS, MS Windows 7,10 (client only).

selsner
Posts: 37
Joined: Wed Jan 25, 2017 11:20 am

Re: Afserver crashes

Post by selsner » Mon Mar 27, 2017 12:09 pm

yes, it worked since last wednesday without crash.
CGRU 2.2.1 - CentOS 6.6, gcc 4.4.7, Qt 4.6

Sebastian Elsner - Pipeline Technical Director - RISE
www.risefx.com

User avatar
timurhai
Site Admin
Posts: 368
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Afserver crashes

Post by timurhai » Tue Jun 20, 2017 9:34 pm

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.
Timur Hairulin
CGRU 2.3.0 Debian 9, Ubuntu 18.04LTS, MS Windows 7,10 (client only).

User avatar
timurhai
Site Admin
Posts: 368
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Afserver crashes

Post by timurhai » Tue Sep 12, 2017 8:45 am

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).
Timur Hairulin
CGRU 2.3.0 Debian 9, Ubuntu 18.04LTS, MS Windows 7,10 (client only).

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest