Thanks a lot Mike,

It worked....

Sangeeta

> ----------
> From:         Mike A. Harris[SMTP:[EMAIL PROTECTED]]
> Reply To:     [EMAIL PROTECTED]
> Sent:         Tuesday, August 08, 2000 3:53 AM
> To:   '[EMAIL PROTECTED]'
> Subject:      Re: Shared Memory > 32 MB
> 
> On Mon, 7 Aug 2000, Sangeeta Huria wrote:
> 
> >Date: Mon, 7 Aug 2000 12:35:52 +0530 
> >From: Sangeeta Huria <[EMAIL PROTECTED]>
> >To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
> >Subject: Shared Memory > 32 MB
> >
> >Hi All,
> >
> >I am trying to allocate a shared memory segment of size 33MB. But, i get
> an
> >error in that case. But, if i allocated a shared memory segment (using
> >shmget) of size <=32 MB, then it is successful.
> >Can anybody please suggest, how can i allocate the shared memory segment
> of
> >size > 32 MB in case of Red Hat Linux 6.2?
> 
> 1 root@asdf:~# cat /proc/sys/kernel/shmmax
> 33554432
> 
> The kernel defaults to a maximum amount of 32Mb of
> SHM.  Calculate the amount you want and do:
> 
> echo 123456789 > /proc/sys/kernel/shmmax
> 
> Put that line in rc.local
> 
> Enjoy.
> TTYL
> 
> -- 
> Mike A. Harris                                    Linux advocate     
> Computer Consultant                          GNU advocate  
> Capslock Consulting                           Open Source advocate
> 
> ... Our continuing mission: To seek out knowledge of C, to explore
> strange UNIX commands, and to boldly code where no one has man page 4.
> 
> 
> 
> _______________________________________________
> Redhat-devel-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-devel-list
> 



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to