nginx: worker process exited with fatal code 2 and cannot be respawn | eventfd() failed.
mdounin at mdounin.ru
Thu Nov 25 13:58:26 MSK 2010
On Wed, Nov 24, 2010 at 11:53:48PM +0100, Eric A. wrote:
> Gena Makhomed wrote in post #963628:
> > On 24.11.2010 18:41, Maxim Dounin wrote:
> >>> 2010/11/24 15:48:03 [emerg] 18529#0: eventfd() failed (38: Function not
> >>> implemented)
> >>> Please note that i used yum to install nginx and it is running on a
> >>> CentOS. It was running perfectly. I have researched into the problem
> >>> but most solutions suggest that i recompile the nginx
> >>> "--without-file-aio" option which does not help me.
> >> You have to recompile nginx *without* --with-file-aio configure
> >> option.
> > ...or just update CentOS to latest version
> > eventfd() backported in newer CentOS5/RHEL5 kernel.
> > --
> > Best regards,
> > Gena
> Hi Gena and Maxim,Thank you both for the quick response.
> I must add that the application is hosted on a remote server which I do
> not have control over. So updating to the latest CentOS is not an option
> and if you think otherwise please let me know.
> I would be glad if you can point me to resources on how I can recompile
> nginx *without* --with-file-aio configure since I am not an expect on
> compiling nginx, and its looks like its my only option in this case.
Basic procedure is as usual:
./configure && make && make install
More information about the nginx