Comments (11)
@joe-getcouragenow would you be open to trying the workaround steps for resolving the "too many files open" error?
In Oct, I moved from a 2015 Macbook to a newer 2019 version and remember hitting that same pipe error
when setting up my new machine. I don't think I did more than running the following commands to get past that error (which ive opened a PR for here google/docsy#410):
sudo launchctl limit maxfiles 65535 200000
ulimit -n 65535
sudo sysctl -w kern.maxfiles=100000
sudo sysctl -w kern.maxfilesperproc=65535
More context here: https://github.com/knative/website/blob/master/DEVELOPMENT.md#file-descriptors-in-server-mode
If this resolves this pipe error
for you, we can update that PR.
from docsy-example.
@joe-getcouragenow would you be open to trying the workaround steps for resolving the "too many files open" error?
In Oct, I moved from a 2015 Macbook to a newer 2019 version and remember hitting that same
pipe error
when setting up my new machine. I don't think I did more than running the following commands to get past that error (which ive opened a PR for here google/docsy#410):
YES this maxfiles script, fixes it on MAC :)
sudo launchctl limit maxfiles 65535 200000 ulimit -n 65535 sudo sysctl -w kern.maxfiles=100000 sudo sysctl -w kern.maxfilesperproc=65535
More context here: https://github.com/knative/website/blob/master/DEVELOPMENT.md#file-descriptors-in-server-mode
If this resolves this
pipe error
for you, we can update that PR.
from docsy-example.
Thanks Richie!
from docsy-example.
That's odd. Have you tried just building and serving directly rather than via a makefile, just to check that it still doesn't work?
If it's still failing, it may be a Hugo issue - I found this blog post with a workaround that might help: https://akhromieiev.com/hugo-fatal-error-pipe-failed/
from docsy-example.
Also interesting that the people with similar issues I found seemed to be also building/serving on Mac OS.
from docsy-example.
I'll see if I can find out anything else as running with watch=false does mean you need to build the site every time you make a change. :(
from docsy-example.
https://discourse.gohugo.io/t/hugo-crashing-on-hugo-server-getting-fatal-error-pipe-failed-mac/29764
from docsy-example.
@joe-getcouragenow would you be open to trying the workaround steps for resolving the "too many files open" error?
In Oct, I moved from a 2015 Macbook to a newer 2019 version and remember hitting that same
pipe error
when setting up my new machine. I don't think I did more than running the following commands to get past that error (which ive opened a PR for here google/docsy#410):sudo launchctl limit maxfiles 65535 200000 ulimit -n 65535 sudo sysctl -w kern.maxfiles=100000 sudo sysctl -w kern.maxfilesperproc=65535
More context here: https://github.com/knative/website/blob/master/DEVELOPMENT.md#file-descriptors-in-server-mode
If this resolves this
pipe error
for you, we can update that PR.
These steps worked for me too!
Thanks.
from docsy-example.
Docs updated in google/docsy#410
from docsy-example.
I'm going to close this as we have a working workaround, do reopen if it's not working for everyone.
from docsy-example.
@joe-getcouragenow would you be open to trying the workaround steps for resolving the "too many files open" error?
In Oct, I moved from a 2015 Macbook to a newer 2019 version and remember hitting that same
pipe error
when setting up my new machine. I don't think I did more than running the following commands to get past that error (which ive opened a PR for here google/docsy#410):sudo launchctl limit maxfiles 65535 200000 ulimit -n 65535 sudo sysctl -w kern.maxfiles=100000 sudo sysctl -w kern.maxfilesperproc=65535
More context here: https://github.com/knative/website/blob/master/DEVELOPMENT.md#file-descriptors-in-server-mode
If this resolves this
pipe error
for you, we can update that PR.
That works for me, thanks! But it seems I have to type it every time I re-launch my computer. Is there a way to set it up pernamently?
from docsy-example.
Related Issues (20)
- Complete Netlify setup HOT 1
- Resource permissions are set to read-only HOT 3
- Prepare and release 0.7.0 HOT 3
- _variables_project.scss: add minimal content and link to docs
- Convert config file to yaml
- Warn about Hugo versions prior to 0.110.0
- Upgrade Docsy to 0.7.1
- Document on Vercel setup needed
- Upgrade Docsy to 0.7.2
- Multiple languages: real languages? How many? What is our goal? HOT 1
- feature: add versions
- Release 0.8.0 of the example HOT 3
- Should the users mention this project in the LICENSE if they are using this project as the template? HOT 1
- Blog renders the content instead of showing the code
- Basic Setup
- Enable light/dark mode menu? HOT 1
- Display Persian (`fa`) pages in right-to-left (RTL) fashion & other improvements HOT 1
- Multilanguage support: illustrate page fallback to default language
- [fa] Add remaining i18n entries
- [fa] Ensure that at least one page has a sidenav and TOC
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 docsy-example.