santiagobasulto
santiagobasulto

Reputation: 11686

PHP torrent tracker configuration

I'm trying to improve performance in a torrent tracker site. 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.

How much memory is recommended for a tracker with 15000 peers?

Upvotes: 0

Views: 413

Answers (1)

Byron Whitlock
Byron Whitlock

Reputation: 53871

I am thinking this should be on serverfault. But generally you should figure out how much memory 1 peer uses, then multiply by # of peers and leave something like 20% headroom. 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. This is with a 1MBit connection.

Trackers are fairly CPU intensive so throw as much cpu power at it as you can afford.

Upvotes: 1

Related Questions