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

Segmentation fault #24

Closed
freemandigger opened this issue Sep 16, 2012 · 1 comment
Closed

Segmentation fault #24

freemandigger opened this issue Sep 16, 2012 · 1 comment

Comments

@freemandigger
Copy link

rTorrent 0.9.2/0.13.2

I have about 1500 active torrents and after first stop/start rtorrent wont work.

System:
2*16 core Xeon(R) CPU E5-2620 0 @ 2.00GHz
RAM: 64Gb
Disk: ~20Tb

$ rtorrent
Caught Segmentation fault, dumping stack:
0 rtorrent() [0x413365]
1 rtorrent() [0x44d390]
2 /lib/x86_64-linux-gnu/libc.so.6(+0x36480) [0x7fde50583480]
3 /usr/lib/libtorrent.so.14(+0x5889c) [0x7fde51bb589c]
4 /usr/lib/libtorrent.so.14(+0xb3ce0) [0x7fde51c10ce0]
5 /usr/lib/libtorrent.so.14(+0xb4172) [0x7fde51c11172]
6 /usr/lib/libtorrent.so.14(+0x3a61d) [0x7fde51b9761d]
7 /usr/lib/libtorrent.so.14(ZN7torrent11thread_base10event_loopEPS0+0xb4) [0x7fde51bdefd4]
8 rtorrent() [0x412881]
9 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7fde5056e76d]
10 rtorrent() [0x412ec5]

$ uname -a
Linux server 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

sysctl -a http://paste.ubuntu.com/1208825/

$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 515159
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 999999
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 515159
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited

@freemandigger
Copy link
Author

usefull config .rtorrent.rc
$ cat .rtorrent.rc | grep -Pv '^#' | grep -Pv '^$'
directory = /mnt/files
session = /home/rt/.sessions
check_hash=no
port_range = 11111-11111
max_peers = 100
min_peers_seed = -1
max_peers_seed = -1
max_uploads = 50
use_udp_trackers=no
port_random=no
http_proxy="http://127.0.0.1:3128/"
dht=on
dht_port=11112
peer_exchange = yes
ratio.enable=
schedule = trafic,10,00:15:00,"execute={sh,-c,php /home/sites/rt/www/plugins/trafic/update.php& exit 0}"
encoding_list=utf-8
network.send_buffer.size = 1048576
max_memory_usage = 10737418240
network.max_open_files = 10240
network.max_open_sockets = 10240
network.http.max_open = 10240
scgi_port=localhost:5000
encryption = allow_incoming,try_outgoing,require_RC4

@rakshasa rakshasa closed this as completed Sep 4, 2013
draglop pushed a commit to draglop/libtorrent that referenced this issue Jan 12, 2024
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

2 participants