Date: Sun, 06 Feb 2011 01:11:26 +0300 From: Ruslan Mahmatkhanov <cvs-src@yandex.ru> To: Ivan Voras <ivoras@freebsd.org> Cc: freebsd-hackers@freebsd.org, davidxu@freebsd.org Subject: Re: Tracking down a problem with php on FreeBSD Message-ID: <4D4DCB0E.8050706@yandex.ru> In-Reply-To: <AANLkTikT56duTcwRTn6za3wpqhSEKYR%2BXiygr=0MoXWh@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> <AANLkTikT56duTcwRTn6za3wpqhSEKYR%2BXiygr=0MoXWh@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
06.02.2011 00:39, Ivan Voras пишет: > 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. Yes, it seems so. But all of this locking/threading is a black magick for me right now, and i don't feel to be able to study out with this fpm issue by myself. So i just sent this last obtained info to php-fpm mailing list. And thank you again, Ivan, for your analysis and explanations. -- Regards, Ruslan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D4DCB0E.8050706>