views:

61

answers:

1

Hi everybody. First i'd like to apologize for my english. I'm from Argentina, and i'm not a good english speaker.

I'm trying to improve performance in a torrent tracker site, here in Argentina (http://www.trackerx.com.ar). 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.

So, my question is. Do you know how much memory is recommended for a tracker with 15000 peers?

Have you any tip for configuring it, maybe another post, webpage, paper, etc?

Thanks everyone!

A: 

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.

Byron Whitlock
Hi Byron, thanks for answer so quickly!It says nothing. I've no idea. How can i measure how much memory each peer uses?
santiagobasulto
I've seen that. But what i can't figure is the PHP configuration. It gets better when increased the memory_limit and the query_cache from MySQL. I'll keep trying.
santiagobasulto
sounds like you need to do some profiling.
Byron Whitlock