My apache and sql is getting crash everytime !

Hello
I have a music site and for protect those wma file from hotlinking i use a code like : getmusic.php?act=Musicz&CODE=31&id=2356 . and this code will pass a wma header files to users , it work in users cookies . It was a very nice code , but a problem is when i have about 80 users listening music , my server got very high load , then after that mysql or apache getting crash . My box is dual xeon 2.8 with 2G Ram and SCSI disk so i think it can easy handler more than 100 apache process as one ! .
This is my httpd.conf :

Timeout 15
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 100
MaxSpareServers 200
StartServers 400


This music code is forum mod , so it work together with my forum , and my forum have 300G mySQL database .

Thank you and sorry for my bad english .

 

 

 

 

Top