GithubHelp home page GithubHelp logo

Comments (6)

jacobsalmela avatar jacobsalmela commented on April 28, 2024

Probably something to do with memory o. Run bash -x /usr/local/bin/gravity.sh and paste the snippet of the mahakala list here.

from pi-hole.

FreeWoRLD83 avatar FreeWoRLD83 commented on April 28, 2024

Thanks for replying. Here's the output;
(This is an openVZ vps with only 128mb of Ram, running 32bit debian 7. Could this be the issue?)

root@virtual:/var# bash -x /usr/local/bin/gravity.sh
++ hostname -I
+ piholeIP='127.0.0.2 X.X.X.X '
+ sources=('https://adaway.org/hosts.txt' 'http://adblock.gjtech.net/?format=unix-hosts' 'http://adblock.mahakala.is/' 'http://hosts-file.net/.%5Cad_servers.txt' 'http://www.malwaredomainlist.com/hostslist/hosts.txt' 'http://pgl.yoyo.org/adservers/serverlist.php?' 'http://someonewhocares.org/hosts/hosts' 'http://winhelp2002.mvps.org/hosts.txt')
+ adList=/etc/pihole/gravity.list
+ origin=/etc/pihole
+ piholeDir=/etc/pihole
+ [[ -f /etc/pihole/pihole.conf ]]
+ justDomainsExtension=domains
+ matter=pihole.0.matter.txt
+ andLight=pihole.1.andLight.txt
+ supernova=pihole.2.supernova.txt
+ eventHorizon=pihole.3.eventHorizon.txt
+ accretionDisc=pihole.4.accretionDisc.txt
+ eyeOfTheNeedle=pihole.5.wormhole.txt
+ blacklist=/etc/pihole/blacklist.txt
+ latentBlacklist=/etc/pihole/latentBlacklist.txt
+ whitelist=/etc/pihole/whitelist.txt
+ latentWhitelist=/etc/pihole/latentWhitelist.txt
+ echo '** Neutrino emissions detected...'
** Neutrino emissions detected...
+ [[ -d /etc/pihole ]]
+ :
+ [[ -f /etc/dphys-swapfile ]]
++ cut -d= -f2
++ cat /etc/dphys-swapfile
++ grep -m1 CONF_SWAPSIZE
+ swapSize=500
+ [[ 500 != 500 ]]
+ :
+ (( i = 0 ))
+ (( i < 8 ))
+ url=https://adaway.org/hosts.txt
++ cut -d/ -f3
++ echo https://adaway.org/hosts.txt
+ domain=adaway.org
+ saveLocation=/etc/pihole/list.0.adaway.org.domains
+ echo -n 'Getting adaway.org list... '
Getting adaway.org list... + case "$domain" in
++ curl -s -z /etc/pihole/list.0.adaway.org.domains -A Mozilla/10.0 https://adaway.org/hosts.txt
+ data=
+ [[ -n '' ]]
+ echo 'Skipping list because it does not have any new entries.'
Skipping list because it does not have any new entries.
+ (( i++ ))
+ (( i < 8 ))
+ url='http://adblock.gjtech.net/?format=unix-hosts'
++ cut -d/ -f3
++ echo 'http://adblock.gjtech.net/?format=unix-hosts'
+ domain=adblock.gjtech.net
+ saveLocation=/etc/pihole/list.1.adblock.gjtech.net.domains
+ echo -n 'Getting adblock.gjtech.net list... '
Getting adblock.gjtech.net list... + case "$domain" in
++ curl -s -z /etc/pihole/list.1.adblock.gjtech.net.domains -A Mozilla/10.0 'http://adblock.gjtech.net/?format=unix-hosts'
+ data=
+ [[ -n '' ]]
+ echo 'Skipping list because it does not have any new entries.'
Skipping list because it does not have any new entries.
+ (( i++ ))
+ (( i < 8 ))
+ url=http://adblock.mahakala.is/
++ cut -d/ -f3
++ echo http://adblock.mahakala.is/
+ domain=adblock.mahakala.is
+ saveLocation=/etc/pihole/list.2.adblock.mahakala.is.domains
+ echo -n 'Getting adblock.mahakala.is list... '
Getting adblock.mahakala.is list... + case "$domain" in
++ curl -s -A 'Mozilla/5.0 (X11; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0' -e http://forum.xda-developers.com/ -z /etc/pihole/list.2.adblock.mahakala.is.domains http://adblock.mahakala.is/
Killed
root@virtual:/var# 

from pi-hole.

jacobsalmela avatar jacobsalmela commented on April 28, 2024

Try increasing the RAM. It looks like you might be on a VM, so that is a likely culprit. It's not too surprising as the mahakala list is where most issues have been happening.

I'll probably move away from using memory to store the lists ( #43 ).

from pi-hole.

FreeWoRLD83 avatar FreeWoRLD83 commented on April 28, 2024

Hey again,
I've updated above comment with below line, you didn't see it;
(This is an openVZ vps with only 128mb of Ram, running 32bit debian 7. Could this be the issue?)
Looks like definitely low ram issue. Unfortunately that's all I have. Thanks bro

from pi-hole.

FreeWoRLD83 avatar FreeWoRLD83 commented on April 28, 2024

Probably you didn't see my comment update yet. Sorry for my english bro. Thnks alot

from pi-hole.

jacobsalmela avatar jacobsalmela commented on April 28, 2024

My bad. I'm sure that's the issue then. The Pi has 512MB, so you will need that much at least, probably more. You can re-open this if that did not solve it.

from pi-hole.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.