简体   繁体   English

PHP torrent跟踪器配置

[英]PHP torrent tracker configuration

I'm trying to improve performance in a torrent tracker site . 我正在尝试提高torrent跟踪器网站的性能。 But I've been running with some troubles. 但是我一直在遇到一些麻烦。 It has started to work real slow, and hung up from time to time. 它已经开始真正缓慢地工作,并且不时挂断电话。

I want to reconfigure PHP and Apache, the main idea is to add RAM to the server, and give more memory to PHP memory_limit . 我想重新配置PHP和Apache,主要思想是向服务器添加RAM,并为PHP memory_limit提供更多内存。

How much memory is recommended for a tracker with 15000 peers? 对于具有15000个对等体的跟踪器,建议多少内存?

I am thinking this should be on serverfault. 我认为这应该在serverfault上。 But generally you should figure out how much memory 1 peer uses, then multiply by # of peers and leave something like 20% headroom. 但是通常,您应该弄清楚一个对等端使用多少内存,然后乘以对等端数量,并留出20%的余量。 What does the tracker software you use recommend? 您使用的跟踪器软件推荐什么?

Edit I took a look at the phpbttracker+ project, not sure if this is what you are using, but it recommends a p4 1.6 and 1gb of ram for 10,000 connected peers. 编辑我看了看phpbttracker +项目,不确定这是否是您正在使用的项目,但它建议为10,000个连接的对等节点使用p4 1.6和1gb的ram。 This is with a 1MBit connection. 这是1MBit连接。

Trackers are fairly CPU intensive so throw as much cpu power at it as you can afford. 跟踪器会占用大量CPU,因此请尽可能多地使用它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM