[squidGuard] shallalist problems



  • hi all :)
    i try to import shallalist on my embedded device from the web interface and it doesn t work …
    here is the log file

    
    2009-11-18 00:06:43 [9084] New setting: logdir: /var/squidGuard/log
    2009-11-18 00:06:43 [9084] New setting: dbhome: /var/squidGuard/arcdb
    2009-11-18 00:06:43 [9084] init domainlist /var/squidGuard/arcdb/blk_BL_adv/domains
    2009-11-18 00:06:44 [9084] create new dbfile /var/squidGuard/arcdb/blk_BL_adv/domains.db
    2009-11-18 00:06:44 [9084] init urllist /var/squidGuard/arcdb/blk_BL_adv/urls
    2009-11-18 00:06:44 [9084] create new dbfile /var/squidGuard/arcdb/blk_BL_adv/urls.db
    ...
    ...
    ...
    2009-11-18 00:07:06 [9084] create new dbfile /var/squidGuard/arcdb/blk_BL_podcasts/urls.db
    2009-11-18 00:07:06 [9084] init domainlist /var/squidGuard/arcdb/blk_BL_politics/domains
    2009-11-18 00:07:06 [9084] create new dbfile /var/squidGuard/arcdb/blk_BL_politics/domains.db
    2009-11-18 00:07:06 [9084] init urllist /var/squidGuard/arcdb/blk_BL_politics/urls
    2009-11-18 00:07:06 [9084] create new dbfile /var/squidGuard/arcdb/blk_BL_politics/urls.db
    2009-11-18 00:07:06 [9084] init domainlist /var/squidGuard/arcdb/blk_BL_porn/domains
    2009-11-18 00:07:54 [9084] sgDbLoadTextFile: put: Cannot allocate memory
    2009-11-18 00:07:54 [9084] going into emergency mode
    2009-11-18 00:07:54 [9084] ending emergency mode, stdin empty
    
    

    i think my 2GB cf is enough :s
    i don't know the problem is … i tried even on just flashed cf and same problem ... Could someone help me ?



  • @sarut0bi:

    hi all :)
    i try to import shallalist on my embedded device from the web interface and it doesn t work …
    here is the log file

    
    2009-11-18 00:06:43 [9084] New setting: logdir: /var/squidGuard/log
    2009-11-18 00:06:43 [9084] New setting: dbhome: /var/squidGuard/arcdb
    2009-11-18 00:06:43 [9084] init domainlist /var/squidGuard/arcdb/blk_BL_adv/domains
    2009-11-18 00:06:44 [9084] create new dbfile /var/squidGuard/arcdb/blk_BL_adv/domains.db
    2009-11-18 00:06:44 [9084] init urllist /var/squidGuard/arcdb/blk_BL_adv/urls
    2009-11-18 00:06:44 [9084] create new dbfile /var/squidGuard/arcdb/blk_BL_adv/urls.db
    ...
    ...
    ...
    2009-11-18 00:07:06 [9084] create new dbfile /var/squidGuard/arcdb/blk_BL_podcasts/urls.db
    2009-11-18 00:07:06 [9084] init domainlist /var/squidGuard/arcdb/blk_BL_politics/domains
    2009-11-18 00:07:06 [9084] create new dbfile /var/squidGuard/arcdb/blk_BL_politics/domains.db
    2009-11-18 00:07:06 [9084] init urllist /var/squidGuard/arcdb/blk_BL_politics/urls
    2009-11-18 00:07:06 [9084] create new dbfile /var/squidGuard/arcdb/blk_BL_politics/urls.db
    2009-11-18 00:07:06 [9084] init domainlist /var/squidGuard/arcdb/blk_BL_porn/domains
    2009-11-18 00:07:54 [9084] sgDbLoadTextFile: put: Cannot allocate memory
    2009-11-18 00:07:54 [9084] going into emergency mode
    2009-11-18 00:07:54 [9084] ending emergency mode, stdin empty
    
    

    i think my 2GB cf is enough :s
    i don't know the problem is … i tried even on just flashed cf and same problem ... Could someone help me ?

    No idea where do you want to run this but, can you check ulimits? maybe there is some configured limit for memory on running processes.



  • This is a problem.

    2009-11-18 00:07:54 [9084] sgDbLoadTextFile: put: Cannot allocate memory
    

    I don't know how fix this in embeded. Package created and tested on HDD full installation.



  • Looks more as if you have not enough RAM?



  • after deeper research i fount the problem,
    squidGuard packages makes a a "pre-db" on /var and this one is only ~60000 on my alix system …
    how can i reconfigure pfsense to take more than 60000blocks for /dev/md1 (mounted as /var)
    ??
    greets



  • /etc/rc.embedded


Log in to reply