Re: Not enough space: couldn't spawn child process:
- From
- Victor Sudakov (2:5020/400)
- To
- Andrey Ostanovsky
- Date
- 2010-11-17T14:10:02Z
- Area
- RU.UNIX.SOLARIS
From: Victor Sudakov <vas@mpeks.tomsk.su>
Andrey Ostanovsky wrote:
> >> >> Что, это правда так и на Солярке ничего сделать нельзя? Только
> >> >> httpd периодически перезапускать остаётся?
> >> AO> Там гонево какое-то...
> >> AO> У меня апач прекрасно работал. Но без cgi. Правда, памяти было много
> >> Зависит от написания кода - можно и с cgi, или с принудительно
> >> убиваемыми через 1000 запросов чилдами память терять.
> VS> Вопрос в том, как выяснить, точно ли httpd теряет память.
> Вариант с принудительным убиением чилдов - под солярисом не работает? :)
В смысле поставить MaxRequestsPerChild отличный от нуля? Спасибо,
попробую.
Тем более что в http.conf интересный комментарий имеется (Солярис недобрым
словом упомянут).
# MaxRequestsPerChild: the number of requests each child process is
# allowed to process before the child dies. The child will exit so
# as to avoid problems after prolonged use when Apache (and maybe the
# libraries it uses) leak memory or other resources. On most systems, this
# isn't really needed, but a few (such as Solaris) do have notable leaks
# in the libraries. For these platforms, set to something like 10000
# or so; a setting of 0 means unlimited.
--
Victor Sudakov, VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/
--- ifmail v.2.15dev5.4
* Origin: AO "Svyaztransneft", SibPTUS (2:5020/400)
SEEN-BY: 236/100 450/186 1024 451/30 461/640 469/999 4625/8 5000/5000
SEEN-BY: 5001/5001 5006/1 5007/1 5010/70 5011/13 5012/46 5019/40 5020/18 175
SEEN-BY: 5020/194 400 545 758 845 902 1042 2238 4441 5480 5021/29 5022/128
SEEN-BY: 5025/3 5030/966 1080 1900 1957 2404 5035/38 5036/1 5037/7 5047/47
SEEN-BY: 5054/1 4 8 28 37 5060/88 5061/15 120 5066/18 5071/166 5075/35 5080/68
SEEN-BY: 5083/1 5085/13 5095/20 6078/80
PATH: 5020/400 4441 545 5054/1 37