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?

link|improve this question

0% accept rate
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
feedback

1 Answer

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

link|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
feedback

Your Answer

 
or
required, but never shown

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