Being a dumb sysadmin myself

Just realize that the MaxClients config on this Apache2 server has been too small all the time!

In apache2.conf, there are three groups of settings:

<IfModule mpm_prefork_module>
StartServers 1
MinSpareServers 1
MaxSpareServers 10
MaxClients 200
 MaxRequestsPerChild 0
</IfModule>

<IfModule mpm_worker_module>
StartServers 1
MinSpareThreads 1
MaxSpareThreads 4
 ThreadLimit 64
 ThreadsPerChild 25
MaxClients 0
 MaxRequestsPerChild 0
</IfModule>

<IfModule mpm_event_module>
StartServers 2
MinSpareThreads 1
MaxSpareThreads 4
# ThreadLimit 64
# ThreadsPerChild 25
MaxClients 300
 MaxRequestsPerChild 0
</IfModule>

And I changed only one of the above three, leaving error logs:

[error] server reached MaxClients setting, consider raising the MaxClients setting

Continue reading “Being a dumb sysadmin myself”

Adjust to cross-platform multi-language solution

I am learning Qt for C/C++ or Python or Java to replace .Net framework in order to create GUI applications under both Linux and Windows (getting rid of my obsession with bash command line) with multiple languages. It’s exciting.

Still I hate the case sensitivity of Java. Get irritated everything I revisit Java programming…