[hobbit] shm error on Solaris 8

Nicolas Dorfsman ndo at unikservice.com
Thu Sep 28 21:34:56 CEST 2006


Le 28 sept. 06 à 21:11, Charles Jones a écrit :

> try running "ulimit -a" and see if you are being limited as to how  
> many open files or memory you can access. If so you can change the  
> limit to unlimited.

No. I don't think it could be the right way.  (and this is limited to  
1024...rlim_fd_max in /etc/system)

>> 2006-09-27 12:48:56 Could not attach shm Too many open files
>>


extract of man shmat :

      EMFILE
            The number of shared memory segments attached  to  the
            calling process would exceed the system-imposed limit.


I have one box with 8 segment for hobbit.

Why don't you put shmseg to 32 and try again ?
set shmsys:shminfo_shmseg=32  (I'd even set it to 64)

and also increase shminfo_shmmni
set shmsys:shminfo_shmmni=512


http://docs.sun.com/app/docs/doc/816-0607/6m735r5fq?q=tunable 
+kernel&a=view

Nicolas





-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Nicolas Dorfsman		Tél: 06.7981.4486
Expert UNIX				Fax: 05.4755.1045

mailto:ndo at unikservice.com
http://www.unikservice.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
UNIKService est membre
du groupement Opale Group (www.opalegroup.com)





More information about the Xymon mailing list