On Wed, 11 Oct 2017 17:35:37 +0000 "William Daly - Network Specialist, VUSD Technology" WilliamD@VUSD.SolanoCOE.K12.CA.US wrote:
I am currently experiencing an issue with multicore with IPdevpool being enabled and encountering many errors.
Essentially when I enable multi core support, the web gui stops rendering graphs at a high frequency and things do not load. In the logs it appears it shows errors with django. As soon as multi core support is turned off everything returns to normal, however my graphs become very spotty.
Hi,
the ipdevpoll multiprocess mode is still considered somewhat experimental. It is not a good idea to enable it without adjusting it's settings.
If you run ipdevpoll with `-m`, but don't specify a number of worker processes, it will automatically detect the number of cores and start a corresponding number of workers (which isn't necessarily a good idea). Each of those workers will start with a thread pool size of 10, meaning they will have 10 separate connections to PostgreSQL each. By default, PostgreSQL is configured to accept a maximum of 100 connections (having too many connections will slow things down).
So, you see, if you have a lot of cores, you will quickly eat up all the available database connections using ipdevpoll alone (8 cores will cause it to grab 80 connections!), and leave none for the other NAV daemons and the NAV web interface.
These are just general observations - since you provide no log excerpts or other details, I cannot say for sure what your exact problem is.