আমি আমার অ্যাপাচি সার্ভারটি নিম্নরূপে কর্মী এমপিএম এর সাথে কনফিগার করেছি:
<IfModule mpm_worker_module>
ServerLimit 20
ThreadLimit 50
StartServers 3
MaxClients 1000
MinSpareThreads 50
MaxSpareThreads 200
ThreadsPerChild 50
MaxRequestsPerChild 10000
</IfModule>
সার্ভারটি প্রতিদিন প্রায় 2 মিলিয়ন অনুরোধ গ্রহণ করে। যখন অনুরোধগুলি উপস্থিত হবে, অ্যাপাচি সার্ভারটি নতুন সংযোগ গ্রহণ করা বন্ধ করবে (ব্রাউজার সংযোগ করতে পারে না)। এবং প্রক্রিয়া প্রক্রিয়া তালিকায় থাকবে। মেমরির ব্যবহার প্রায় 10% এবং সিপিইউ 0%। দেখে মনে হচ্ছে অ্যাপাচি সার্ভারটি যখন হওয়া উচিত তখন প্রক্রিয়াগুলি পুনর্ব ব্যবহার করতে সক্ষম হয় নি।
আমি ত্রুটি লগগুলির সাথে ক্র্যাশের সাথে সম্পর্কিত কিছু পেয়েছি:
[Mon Aug 15 12:36:24 2011] [error] child process 11444 still did not exit, sending a SIGKILL
[Mon Aug 15 12:36:24 2011] [error] child process 12090 still did not exit, sending a SIGKILL
[Mon Aug 15 12:36:24 2011] [error] child process 10698 still did not exit, sending a SIGKILL
[Mon Aug 15 12:36:24 2011] [error] child process 12144 still did not exit, sending a SIGKILL
[Mon Aug 15 12:36:24 2011] [error] child process 12032 still did not exit, sending a SIGKILL
[Mon Aug 15 12:36:24 2011] [error] child process 10699 still did not exit, sending a SIGKILL
[Mon Aug 15 12:36:25 2011] [notice] caught SIGTERM, shutting down
[Mon Aug 15 12:37:31 2011] [notice] mod_python: Creating 8 session mutexes based on 20 max processes and 50 max threads.
[Mon Aug 15 12:37:31 2011] [notice] mod_python: using mutex_directory /tmp
[Mon Aug 15 12:37:31 2011] [notice] Apache/2.2.17 (Ubuntu) mod_python/3.3.1 Python/2.7.1+ mod_ssl/2.2.17 OpenSSL/0.9.8o configured -- resuming normal operations
[Mon Aug 15 15:36:46 2011] [error] server is within MinSpareThreads of MaxClients, consider raising the MaxClients setting
[Mon Aug 15 15:38:48 2011] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Mon Aug 15 16:17:31 2011] [warn] child process 766 still did not exit, sending a SIGTERM
[Mon Aug 15 16:17:31 2011] [warn] child process 767 still did not exit, sending a SIGTERM
কোন ধারনা? ধন্যবাদ!