On Wed, Aug 23, 2006 at 12:21:09AM +0100, Mostardi, David (MDL US) wrote:
I'm having memory problems when launching Hobbit on Solaris 9.
Initially the error in /var/log/hobbit/hobbitlaunch.log is "Could not attach shm Too many open files",
This usually means you have to tune the kernel parameters. See http://docs.sun.com/app/docs/doc/817-1759/6mhfh76fr?a=view for shared memory settings, and http://docs.sun.com/app/docs/doc/817-1759/6mhfh76fq?a=view for semaphore settings.
2006-08-22 15:28:15 ftok() returns: 0x1007F5B 2006-08-22 15:28:15 shmget() returns: 0x1 2006-08-22 15:28:15 Could not attach shm Permission denied 2006-08-22 15:28:15 Cannot setup status channel 2006-08-22 15:28:20 Task hobbitd terminated, status 1
I really cannot see any other explanation than this shared memory segment already existing, and created by another user on the system. If you shutdown Hobbit, and then - as root - run the "ipcs -m" command, what does it say ? Note that you must run it as root, because if you run it as the hobbit user it will only show its own IPC ressources, not those owned by others.
Regards, Henrik