[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problem with memory on apache



Hi guys,

I have a vps, and it has installed a web application PHP5+Mysql. The problem is that sometimes it crash and we have to restart the vps. The apache error log is:


[error] (12)Cannot allocate memory: fork: Unable to fork new process

I read about this on google, and the problem is that the vps run out of memory, it tries to use the sqap memory but it hasn't. The solutiton that the people gives is that upgrade the server... i cant do that...tehre is some way to limit the php or apache for not exceding the memory...?

thanks

Reply to: