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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.