Operating System - Linux
1833329 Members
2967 Online
110051 Solutions
New Discussion

RHEL AS3 - Trying to mount CD get "mount: Cannot allocate memory" error

 
Stuart Allan
Occasional Contributor

RHEL AS3 - Trying to mount CD get "mount: Cannot allocate memory" error

Hi,

When trying to mount an Oracle client CD in some RHEL AS3 servers using:

# /bin/mount -t iso9660 -r /dev/cdrom /mnt/cdrom

I'm getting the following error message:
"mount: Cannot allocate memory"

I had this issue on four Redhat servers and have since rebooted two of them and now can mount CDs ok in them, but the other two are production servers and rebooting is not a desirable option or long-term fix for this.

I'm thinking this is some sort of memory leak maybe requiring a patch but can't find anything specifically related to this.

Specs for one of the servers:

HP Proliant DL580, 2 Xeon CPU 2.20GHz, 4GB RAM
Red Hat Enterprise Linux AS release 3 (Taroon Update 8)

# free -m
total used free shared buffers cached
Mem: 3672 3616 56 0 93 1631
-/+ buffers/cache: 1891 1780
Swap: 8191 628 7563


# cat /proc/meminfo
total: used: free: shared: buffers: cached:
Mem: 3850694656 3790745600 59949056 0 97292288 2246520832
Swap: 8589770752 658853888 7930916864
MemTotal: 3760444 kB
MemFree: 58544 kB
MemShared: 0 kB
Buffers: 95012 kB
Cached: 1670052 kB
SwapCached: 523816 kB
Active: 2709152 kB
ActiveAnon: 1580668 kB
ActiveCache: 1128484 kB
Inact_dirty: 516884 kB
Inact_laundry: 97348 kB
Inact_clean: 60948 kB
Inact_target: 676864 kB
HighTotal: 2916320 kB
HighFree: 42332 kB
LowTotal: 844124 kB
LowFree: 16212 kB
SwapTotal: 8388448 kB
SwapFree: 7745036 kB
CommitLimit: 10268668 kB
Committed_AS: 3544140 kB
HugePages_Total: 0
HugePages_Free: 0
Hugepagesize: 2048 kB

Thanks,
Stuart.
2 REPLIES 2
Peter_505
Advisor

Re: RHEL AS3 - Trying to mount CD get "mount: Cannot allocate memory" error

Try using this syntax:

/bin/mount -t iso9660 -r /dev/cdrom /mnt/cdrom -o loop
Stuart Allan
Occasional Contributor

Re: RHEL AS3 - Trying to mount CD get "mount: Cannot allocate memory" error

Thanks, but I still get the same message with this syntax:

# /bin/mount -t iso9660 -r /dev/cdrom /mnt/cdrom -o loop

/dev/cdrom: Cannot allocate memory