Comments (6)
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.
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.
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.
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.
Probably you didn't see my comment update yet. Sorry for my english bro. Thnks alot
from pi-hole.
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)
- Hostnames not resolving on Dashboard tab for ipv6 devices HOT 6
- Querylog All Queries Same Host Problem HOT 1
- V6/Does not block anymore HOT 7
- Restore does not include static dhcp leases without ip HOT 3
- Temperature keeps reverting to Celsius from Fahrenheit when updating HOT 27
- Ads Not Blocking Properly in Pi-hole Docker HOT 6
- dnsmasq: failed to create listening socket for port 53: Address already in use HOT 4
- Blank admin PHP pages caused by empty persistentlogintoken file (includes fix) HOT 1
- Installation fails HOT 1
- Install: Check for valid upstream DNS IP addresses excludes IPv6 HOT 4
- (development-v6) cannot update FTL on arm device HOT 1
- (development-v6) cannot update FTL on amd64 device HOT 4
- Intermittent issues using custom dns_records HOT 2
- In an LXC container, the website displays a ‘load average’ that is very different from top HOT 7
- FTL database shouldn't be readable by unprivileged users HOT 6
- Raspberry Pi 5 having trouble binding interfaces when using NetworkManager HOT 1
- Update of pi-hole not possible on Linuxmint 6 (Debian) HOT 2
- pihole -v shows update available but pihole -up doesn't HOT 6
- Default list author fine with breaking functionality -- suggest finding alternative HOT 4
- Dashboard hanging 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 pi-hole.