[mirror-admin] Heads up if your running Fedora w/ a 2.6.27 kernel

Jan Kasprzak kas at fi.muni.cz
Tue Jan 27 05:22:27 EST 2009


J.H. wrote:
: Just a quick heads up to any mirror that is running a 2.6.27 kernel.  If 
: you are seeing segfaults in Apache like the following:
: 
: [Tue Jan 27 04:45:21 2009] [notice] child pid 5322 exit signal 
: Segmentation fault (11)
: [Tue Jan 27 04:45:23 2009] [notice] child pid 5496 exit signal 
: Segmentation fault (11)
: [Tue Jan 27 04:45:30 2009] [notice] child pid 5323 exit signal 
: Segmentation fault (11)
: [Tue Jan 27 04:45:32 2009] [notice] child pid 5327 exit signal 
: Segmentation fault (11)
: [Tue Jan 27 04:45:34 2009] [notice] child pid 5330 exit signal 
: Segmentation fault (11)
: [Tue Jan 27 04:45:36 2009] [notice] child pid 5332 exit signal 
: Segmentation fault (11)
: [Tue Jan 27 04:45:38 2009] [notice] child pid 5861 exit signal 
: Segmentation fault (11)
: 
: and can't explain what's going on, there was a recent kernel change that 
: effects epoll (which Apache switched to a while back) and causes you, by 
: default, to only have 129 children running before Apache's children 
: would segfault.
: 
: https://issues.apache.org/bugzilla/show_bug.cgi?id=46467
: 
: Just thought I'd share since I can't be the only one who has hit this in 
: the last couple of weeks.

	I ran into this a while ago, straced apache, and fixed it
using

echo 'fs.epoll.max_user_instances = 1024' >> /etc/sysctl.conf
sysctl -p

	IMHO the default kernel limit is too low.

-Yenya

-- 
| Jan "Yenya" Kasprzak  <kas at {fi.muni.cz - work | yenya.net - private}> |
| GPG: ID 1024/D3498839      Fingerprint 0D99A7FB206605D7 8B35FCDE05B18A5E |
| http://www.fi.muni.cz/~kas/    Journal: http://www.fi.muni.cz/~kas/blog/ |
>>  If you find yourself arguing with Alan Cox, you’re _probably_ wrong.  <<
>>     --James Morris in "How and Why You Should Become a Kernel Hacker"  <<

--


More information about the Mirror-admin mailing list