This is driving me insane (swap)

Hi,

I run a file hosting service which handle around 300,000 downloads per day.
Average filesize: 10MB (max 60MB).

The service use the following servers:

1 main server (site): Dual xeon 2.4, 2GB RAM, 2x250GB SATA2 drives.
1 DB server: Dual xeon 2.4, 2GB RAM, SCSI drives, .
5 fileservers: Dual xeon 2.4, 2GB RAM, 2x250GB SATA2.
1 fileserver: Dual xeon 2.4, 2GB RAM, 3 x 250GB SATA2, RAID5.
1 fileserver: Dual xeon 3.0, 4GB RAM, 5 x 250GB SATA2, RAID0.

- The problem is that ALL fileservers crash (swapping increase like !@#$ and load jump to 300) when I enable uploading, but run okay with uploading disabled - count all fileservers.

Any idea what im doing wrong?



Nb.:

Using apache/php on all fileservers, but they run okay (load below 1) when uploading is disabled, so I think that part is okay.

Files is being uploaded directly to the fileservers by the user (upload form), but have been thinking about adding a seperate "upload server" which will handle the upoads and SSH them to the fileservers afterwards.

 

 

 

 

Top