Date: Sat, 5 Feb 2011 22:39:26 +0100 From: Ivan Voras <ivoras@freebsd.org> To: Ruslan Mahmatkhanov <cvs-src@yandex.ru> Cc: freebsd-hackers@freebsd.org, davidxu@freebsd.org Subject: Re: Tracking down a problem with php on FreeBSD Message-ID: <AANLkTikT56duTcwRTn6za3wpqhSEKYR%2BXiygr=0MoXWh@mail.gmail.com> In-Reply-To: <AANLkTik-0GT6uyUOYS=gDUVr_D0NvSGi81MsqNZr=2HK@mail.gmail.com> References: <4D3CB2AF.9050003@yandex.ru> <ihk0a9$2on$1@dough.gmane.org> <4D4D9A4D.2070508@yandex.ru> <AANLkTikUX64%2Bt_TW=9kzAzMDbHmjYqiSZhsKC8%2BnNoak@mail.gmail.com> <4D4DAD05.2070707@yandex.ru> <AANLkTik-0GT6uyUOYS=gDUVr_D0NvSGi81MsqNZr=2HK@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 5 February 2011 21:22, Ivan Voras <ivoras@freebsd.org> wrote: > On 5 February 2011 21:03, Ruslan Mahmatkhanov <cvs-src@yandex.ru> wrote: > >> >> Can you please tell me more what you mean by ""robust" pthreads mutexes" and > > It's just a name for properties of a mutex; actually this is > imprecise, what's needed here is process-shared & robust > (fpm_shm_slots.c: FPM uses shared memory). Actually I think "robustness" is the key here (in this context it means that the locks of a thread / processes are released if a thread / process dies unexpectedly (crashes)); It is very likely that in your case the PHP process with FPM SAPI module dies while holding a lock shared between processes and the other processes get stuck waiting for this lock to unlock.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikT56duTcwRTn6za3wpqhSEKYR%2BXiygr=0MoXWh>