Why do I see ypserv[]: WARNING(ypproc_all_2_svc): cannot fork: Cannot allocate memory message ?

Solution Verified - Updated -

Issue

NIS clients are experiencing NIS troubles. In their NIS slave server's /var/log/messages file the following message is repeated many times :

ypserv[]: WARNING(ypproc_all_2_svc): cannot fork: Cannot allocate memory

After issuing the command "service restart ypserv", the YP service is working fine again.

Environment

  • Red Hat Enterprise Linux 6.2
  • Red Hat Enterprise Linux 5.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content