{"categories":["C","CentOS"],"author_url":"https://blog.hatena.ne.jp/yoshifumi1975/","url":"https://yoshifumi.hateblo.jp/entry/20090318/p1","image_url":null,"blog_title":"yoshifumi1975's diary","author_name":"yoshifumi1975","width":"100%","height":"190","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyoshifumi.hateblo.jp%2Fentry%2F20090318%2Fp1\" title=\" C\u8a00\u8a9e\u3067prefork\u578b\u306e\u30c7\u30fc\u30e2\u30f3\u3092\u66f8\u304f(1): \u975e\u30c7\u30fc\u30e2\u30f3 prefork \u30b5\u30f3\u30d7\u30eb - yoshifumi1975&#39;s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","blog_url":"https://yoshifumi.hateblo.jp/","provider_url":"https://hatena.blog","title":" C\u8a00\u8a9e\u3067prefork\u578b\u306e\u30c7\u30fc\u30e2\u30f3\u3092\u66f8\u304f(1): \u975e\u30c7\u30fc\u30e2\u30f3 prefork \u30b5\u30f3\u30d7\u30eb","version":"1.0","description":"C\u3067\u66f8\u304b\u308c\u305f prefork \u30c7\u30fc\u30e2\u30f3(daemon)\u306e\u3061\u3087\u3046\u3069\u826f\u3044\u30b5\u30f3\u30d7\u30eb\u304c\u898b\u3064\u304b\u3089\u306a\u304b\u3063\u305f\u306e\u3067\u81ea\u5206\u3067\u66f8\u304f\u3002 \u3061\u3087\u3046\u3069\u826f\u3044\u304a\u624b\u672c\u304c\u306a\u3044\u306e\u3067 Perl\u306e\u30bd\u30fc\u30b9\u3092C\u306b\u79fb\u690d\u3057\u305f\u3002 \u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306fCentOS5.2\u3002 my_prefork.c \u305f\u3060\u306e prefork \u306e\u30b5\u30f3\u30d7\u30eb\uff08\u30c7\u30fc\u30e2\u30f3\u5316\u306f\u3057\u3066\u3044\u306a\u3044\uff09 #include <stdio.h> #include <string.h> #include <apr_hash.h> #include <sys/types.h> #include <unistd.h> #include <sys/wait.h> #define MAX_CHILDREN 1\u2026","published":"2009-03-18 00:00:00"}