Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

Your Answer


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.