Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a Ubuntu-server. It is running Mysql & Apache. I have several request at same time. I I saw processes, by top command. I have 10 Apache process and always one process for Mysql. I understood, sometimes on high traffic conditions, insert in database can`t be done. I think if system creates several process for Mysql, the problem will be solved. How can i do that?

share|improve this question
    
Using a single process to handle all requests or forking a new process for each request can not always be controlled by the user unless the software supports multiple operation mode. –  Khaled Nov 28 '11 at 8:20
add comment

1 Answer

Your question is based on a misunderstanding. More processes would just slow things down with inter-process synchronization.

share|improve this answer
    
that is right! more processes make things slow but distribute resources to more than one user. it has benefits like prevents lost Mysql request. –  user963587 Nov 28 '11 at 8:07
    
@David Schwartz: Not always! –  Khaled Nov 28 '11 at 8:17
    
@Khaled I didn't say it always does. I'm talking about the OP's specific case. –  David Schwartz Nov 28 '11 at 18:50
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.