Dear all,
I decided to migrate my small web server, it uses heavy mod_perl scripts + mysql + snmp + rrdtool. Kind of a network analyzing server.
Everything works on FreeBSD, but Apache server response is twice slower then on linux. I did not make any special changes. I just installed pkg_add apache, mod_perl, mysql. The same thing I did on linux.
First problem is that httpd uses about 2,5% CPU onfreebsd FreeBSD, when I just refresh the page. It is normally never exceeding 0.5% on linux. Yes, I use a lot of mod_perl scripts and generate SVG graphics, rrd_graphs - but it is normal job. I enabled LogLevel debug for Apache and did not get anything.
Second - apache makes too many child processes - about 8 or 9. Even then I put the same config to MPM section. Apache on linux makes only 3 additional process, apache onfreebsd FreeBSD makes 8. Why?
Can someone explain my what I did wrong? I can't migrate in that conditions -freebsd FreeBSD works slower then linux.
Thanks in advance.
I decided to migrate my small web server, it uses heavy mod_perl scripts + mysql + snmp + rrdtool. Kind of a network analyzing server.
Everything works on FreeBSD, but Apache server response is twice slower then on linux. I did not make any special changes. I just installed pkg_add apache, mod_perl, mysql. The same thing I did on linux.
First problem is that httpd uses about 2,5% CPU on
Second - apache makes too many child processes - about 8 or 9. Even then I put the same config to MPM section. Apache on linux makes only 3 additional process, apache on
Can someone explain my what I did wrong? I can't migrate in that conditions -
Thanks in advance.