boramalper / magnetico

Autonomous (self-hosted) BitTorrent DHT search engine suite.
http://labs.boramalper.org/magnetico/
GNU Affero General Public License v3.0
3.06k stars 344 forks source link

Process exited after beanstalkd backend error #271

Open WeirdCarrotMonster opened 3 years ago

WeirdCarrotMonster commented 3 years ago

Got this error after running magneticod with beanstalkd backend:

FATAL   Could not add new torrent to the database
{
    "infohash": "6ea8a0648f4ba3fd53dd2b835fce32e25164a643", 
    "error": "DB engine beanstalkd Put() error: job too big", 
    "errorVerbose": "job too big\nDB engine beanstalkd Put() error\ngithub.com/boramalper/magnetico/pkg/persistence.(*beanstalkd).AddNewTorrent\n\t/build/magnetico-master/pkg/persistence/beanstalkd.go:69\nmain.main\n\t/build/magnetico-master/cmd/magneticod/main.go:118\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:204\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1374"
}

beanstalkd is running with -z 1048560. I get that increasing maximum job size should help, but magneticod shouldn't exit after this kind of failure.