LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-24-2009, 09:39 AM   #1
malli42108
Member
 
Registered: Jul 2009
Posts: 37

Rep: Reputation: 15
zsh: fork failed: not enough space


hi
i am unable to solve the below issue.
$ ls
zsh: fork failed: not enough space

users unable to create their own accounts in a solaris servers.above error getting.
# ulimit -c unlimited
# ulimit -n
1024
and also tried
# ulimit -a
cpu time (seconds) unlimited
file size (blocks) unlimited
data seg size (kbytes) unlimited
stack size (kbytes) unlimited
core file size (blocks) unlimited
file descriptors 1024
virtual memory size (kb) unlimited

# mkfile 1024m /swapfile
# swap -a /swapfile
# vi /etc/vfstab
added /swapfile line in /etc/vfstab file
but still getting same

zsh: fork failed: not enough space

what is the reason? any solution for this?
 
Old 09-24-2009, 06:49 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,369

Rep: Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753
Try a

df -h
 
Old 10-05-2009, 01:41 AM   #3
malli42108
Member
 
Registered: Jul 2009
Posts: 37

Original Poster
Rep: Reputation: 15
df -h not working.

#df -h
illegal option -h.

what is the alternate solution?
 
Old 10-05-2009, 02:15 AM   #4
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
Could be a problem in zsh, malloc()/libc or the kernel. Try to reinstall or upgrade at least 1 of the 3.
 
Old 10-05-2009, 03:19 AM   #5
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by malli42108 View Post
df -h not working.

#df -h
illegal option -h.

what is the alternate solution?
df without the -h
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with GIMP: error "failed to fork - cannot allocate memory" heffo_j Linux - Software 5 05-24-2009 12:19 AM
send failed: No buffer space available 0perand Linux - Wireless Networking 1 11-17-2007 05:26 PM
System failed due to lack of free disk space une Mandriva 18 09-26-2007 05:56 AM
slcakware 11 won't boot - request_module[ppp0]: fork failed, errno 1 dmv_andy Slackware 0 11-14-2006 10:23 AM
getgrnam failed for$Enabling swap space rhonneil Linux - Networking 0 09-15-2003 09:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration