Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot allocate memory #17

Closed
ajitam opened this issue May 26, 2015 · 3 comments
Closed

Cannot allocate memory #17

ajitam opened this issue May 26, 2015 · 3 comments

Comments

@ajitam
Copy link

ajitam commented May 26, 2015

Hi, I successfully installed pi-hole on Raspberry (B) for the first time, just to test it out, then I formated SD card to fresh image a now when I run installation script I always get

[....] Restarting DNS forwarder and DHCP server: dnsmasq
dnsmasq: cannot fork into background: Cannot allocate memory
 failed!
Restarting services...
No resolv.conf for interface lo.dnsmasq
[....] Restarting DNS forwarder and DHCP server: dnsmasq
dnsmasq: cannot fork into background: Cannot allocate memory
 failed!
[ ok ] Stopping web server: lighttpd.
[ ok ] Starting web server: lighttpd.

I also tried on B+ with same result. Any ideas?

@jacobsalmela
Copy link
Contributor

You might be out of memory. Can you lower the amount given to the GUI via sudo raspi-config?

@ajitam
Copy link
Author

ajitam commented Jun 2, 2015

hmm that actually worked. I don't remember setting this the first time (when installation was successful)

thx

@ajitam ajitam closed this as completed Jun 2, 2015
@enjunear
Copy link

I've run into the same problem, even after allocating the minimum memory (16) to the gui.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants