Bug 73717

Summary: The following message is appearing "kernel: request_module[net-pf-10]: fork failed, errno 12"
Product: [Retired] Red Hat Linux Reporter: william ewing <ewingw>
Component: kernelAssignee: Arjan van de Ven <arjanv>
Status: CLOSED CURRENTRELEASE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-09-30 15:39:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description william ewing 2002-09-09 11:44:55 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)

Description of problem:
AT least once a day I am getting 
kernel: request_module[net-pf-10]: fork failed, errno 12
in the messages file.
Why ?

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.Will appear during the day
2.
3.
	

Additional info:

Comment 1 Arjan van de Ven 2002-09-09 12:06:11 UTC
what kernel version are you using ?

Comment 2 william ewing 2002-09-09 12:16:57 UTC
Kernel Version is 2.4.9-34enterprise 
on a dual processor server with 4GB of RAM

Comment 3 Arjan van de Ven 2002-09-09 12:22:36 UTC
any chance you're using a program that creates a lot of threads ?

Comment 4 william ewing 2002-09-09 15:53:27 UTC
I believe I am using a program that generates alot of threads !
There is one deamon which generates for each person that is logging in a new 
process. ie we have 1 ADVMAIL.SCKD process and it generates 1500 UAL.REMOTE 
(one for each person that logs into the E-Mail system)
Is there a solution ?



Comment 5 william ewing 2002-09-10 12:52:10 UTC
Is there any more INFO required ?


Comment 6 Arjan van de Ven 2002-09-10 12:54:16 UTC
ok to get it clear: you get 1500 processes. Do these processes each have
threads? (I assume not, things would blow up before that ;)

Comment 7 william ewing 2002-09-11 08:38:24 UTC
orry for my ignorance

How do I get the information regarding threads that you want to know

Comment 8 Arjan van de Ven 2002-09-11 08:40:51 UTC
are you using HP OpenMail ?

Comment 9 william ewing 2002-09-11 08:46:30 UTC
Yes I am using HP OPenMail

Comment 10 william ewing 2002-10-30 08:59:38 UTC
Any Update on this call ?


Comment 11 Arjan van de Ven 2002-10-31 23:32:05 UTC
the only way we can go over 1200 openmail processes is with the current kernel
in rawhide ;( there is unfortionatly a 1200 (or thereabouts) hard limit in the
2.4.18 and previous kernels for processes linked against -lpthreads, openmail
does 1 per connection so there is a limit of 1200 openmail connections ;(

Comment 12 william ewing 2002-11-04 20:54:12 UTC
Thanks but I had already worked that out and HP OpenMail have recompiled their 
UAL.REMOTE process without lpthreads. I have have had between 1500- 1600 E-Mail 
users on the system at any one time. At certain times, most likely peak times, 
I get the above error (request_module (net-pf-10) ) what does it mean and how 
can I overcome it ?


Comment 13 Arjan van de Ven 2002-11-04 20:59:17 UTC
(net-pf-10) is IPv6 (the next generation internet protocol with bigger addresses)

While our kernels support ipv6 as a loadable module, I really doubt you want
this in your setup. You can disable this message by putting
alias net-pf-10 off
in /etc/modules.conf

Comment 14 william ewing 2002-11-06 09:05:01 UTC
Thanks, I have made the change to the modules.conf file but how to I invoke it ?
Do I need to reboot ?


Comment 15 Arjan van de Ven 2002-11-06 09:56:24 UTC
it's supposed to be immediate
if it's not then I'll check more

Comment 16 william ewing 2002-12-12 08:40:46 UTC
I have rebooted the server but I am still getting the same error. Below is a 
copy of my modules.conf
alias eth0 eepro100
alias eth1 eepro100
alias eth2 eepro100
alias scsi_hostadapter aic7xxx
alias scsi_hostadapter2 cciss
alias parport_lowlevel parport_pc
alias usb-controller usb-ohci
alias net-pf-10 off  
Is this ok ?

Any other suggestions ?

Comment 17 Arjan van de Ven 2002-12-12 08:52:34 UTC
well modprobe ipv6 will work ;(


Comment 18 Arjan van de Ven 2002-12-12 08:54:54 UTC
(note of warning: if you do that and you have a firewall on the machine you also
must set up ipv6 based firewall rules probably)

Comment 19 william ewing 2002-12-14 21:34:16 UTC
Any other thoughts on stopping the
request module failure ?



Comment 20 Alan Cox 2002-12-15 00:48:20 UTC
Ok the fork failed is it trying to start a new process and failing because you
have the maximum processes allowed running. That is logged and occurs before it
can find out that ipv6 is off anyway.

You could up the max processes with sysctl I guess


Comment 21 william ewing 2002-12-16 12:26:53 UTC
I have ran sysctl -A and there are alot of entries . which one would I need to 
change ? and should I increase it by 10%, 50% , 100% ....

Comment 22 william ewing 2002-12-19 10:42:34 UTC
Just checking again on now to use the sysctl to max the processes

Comment 23 william ewing 2003-01-15 12:29:24 UTC
Please you please give me a hint on how to use sysctl to increase the number of 
Processes

Comment 24 Bugzilla owner 2004-09-30 15:39:55 UTC
Thanks for the bug report. However, Red Hat no longer maintains this version of
the product. Please upgrade to the latest version and open a new bug if the problem
persists.

The Fedora Legacy project (http://fedoralegacy.org/) maintains some older releases, 
and if you believe this bug is interesting to them, please report the problem in
the bug tracker at: http://bugzilla.fedora.us/