Unix/Linux Go Back    

Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Mmap with fork : Resource unavaialable temporarily


Thread Tools Search this Thread Display Modes
Old Unix and Linux 07-11-2009   -   Original Discussion by siddharoodh
siddharoodh's Unix or Linux Image
siddharoodh siddharoodh is offline
Registered User
Join Date: Jul 2009
Last Activity: 11 July 2009, 2:23 PM EDT
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Mmap with fork : Resource unavaialable temporarily

installed 64bit 16GB VM on 64bit ESX server.

Written small C code to map the 2GB of memory by mmap after creating 3 child
and map getting failed by throwing "resource unavailable temporarily" after mapping 1.6 GB of memory out of 2GB. But same 1.5Gb memory mapping works fine.

I checked maximum memory limit to 3.7GB and even increased the memory limit by near 4GB by setrlimit() function. Then also behaving same thing

Can any body know on this issue, please let me know

Sponsored Links

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
mmap() on 64 bit m/c vin_pll Solaris 2 05-26-2009 07:13 AM
Fork:resource unavailable samos UNIX for Advanced & Expert Users 5 04-19-2009 08:25 PM
fork: Resource temporarily unavailable - What can I check ? unclefab Solaris 5 04-12-2007 02:22 PM
sendto failing "resource temporarily unavailable" Naanu Solaris 6 03-16-2007 05:41 PM
mmap gusm Filesystems, Disks and Memory 0 07-30-2002 05:42 PM

All times are GMT -4. The time now is 12:47 AM.