Comments (3)
Strange way to shame me for having 32 cores, but okay. 😀 Anyway, I can confirm that putting:
option (DBPoolMaxConnections 100)
in Config.hs
works around the issue. I'm just updating to the main branch, so I can test the fix in #1960 (wow, that was fast!)
from ihp.
Can confirm: #1960 fixes this issue for me. Thank you for the quick fix, @mpscholten!
from ihp.
You found a bug 👍 This is an error coming from the database pool. We've changed how the database pool is configured a while ago.
By default IHP uses up to 20 db connections. The numStripes
value is set to the number of CPUs on your computer by the database pool library by default. So likely you have a lot of CPUs? Or atleast getNumCapabilities > 20.
As a workaround you can put something like option (DBPoolMaxConnections 100)
into your Config.hs
to increase IHP's poolMaxResources
from ihp.
Related Issues (20)
- Upgrade `system.stateVersion` of nixos packages to latest `23.11`
- `deploy-to-nixos` deletes active sessions HOT 3
- Proper support for non "id" primary keys. HOT 1
- Adding the `autocapitalize` attribute for `<input>` and `<textarea>` elements
- `deploy-to-nixos` Grub issue HOT 5
- Solve all GHC warnings with GHC9.8
- Allow decorating logs for more log types
- How to use github repo as dependency? HOT 2
- IHP codegen does not enforce capitalised View names HOT 3
- Docs: is the 'Package not Found?' section still needed? HOT 1
- IHP IDE: 'DEPLOY' link leads to site with an invalid certificate HOT 3
- ihp-new --elm v1.3.0 could not find a flake.nix file
- Documentation on integrating a form into a View
- Make `overmind` the default process HOT 1
- `deploy-to-nixos`: `--numa: This GHC build was compiled without NUMA support.`
- incomplete installation guide HOT 1
- NixOS Deployment: Support sessionSecretFile
- Update jQuery to latest version HOT 1
- Save only the relative path of the filename in `storeFileWithOptions` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ihp.