Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Aug 2001 16:58:44 -0300
From:      Fernando Schapachnik <fschapachnik@vianetworks.com.ar>
To:        freebsd-emulation@freebsd.org
Subject:   ArcServer on FreeBSD
Message-ID:  <20010831165844.B10730@ns1.via-net-works.net.ar>

next in thread | raw e-mail | index | archive | help
Hi,
	I'm trying to port ArcServer 2000 Agent for Linux to FreeBSD
(under emulation, actually). I plan to write a how-to on
completition.

	I managed it to backup, but I'm having problems making it
restore. I wonder is somebody would have an idea:

	On the logs, I find:

08/31 15:24:17(1177) - (DecideShmBuf) Failed to get shared memory
(Can't assign memory)

	A ktrace:
  1419 uagentd  NAMI  "/opt/uagent/logs/uag.ipc"
  1419 uagentd  RET   access 0
  1419 uagentd  CALL  getrusage(0x17,0,0x801408,0x180,0)
  1419 uagentd  RET   getrusage -1 errno -22 Unknown error: -22
  1419 uagentd  CALL  getrusage(0x17,0,0x7e13f8,0x180,0)
  1419 uagentd  RET   getrusage -1 errno -22 Unknown error: -22
  1419 uagentd  CALL  getrusage(0x17,0,0x7c13e8,0x180,0)
  1419 uagentd  RET   getrusage -1 errno -22 Unknown error: -22
  1419 uagentd  CALL  getrusage(0x17,0,0x7a13d8,0x180,0)
  1419 uagentd  RET   getrusage -1 errno -22 Unknown error: -22
  1419 uagentd  CALL  getrusage(0x17,0,0x7813c8,0x180,0)
  1419 uagentd  RET   getrusage -1 errno -12 Unknown error: -12
  1419 uagentd  CALL  recvmsg(0xb4)
  1419 uagentd  RET   recvmsg 0
  1419 uagentd  CALL  pwrite(0xe,0xbfbfa9dc,0xbfbfa950,0x8)
  1419 uagentd  RET   pwrite 0
  1419 uagentd  CALL  old.recv(0x9,0xbfbfabc0)
  1419 uagentd  GIO   fd 7 wrote 90 bytes
       "\0\0002\0\0\0\0R\0\0\0\f\0\0\0\^B\^B\v(DecideShmBuf) Failed
to get \
        shared memory (cannot assign memory)\0"

	The machine seems to have enough shared memory:

kern.ipc.shmmax: 4194304
kern.ipc.shmmin: 1
kern.ipc.shmmni: 96
kern.ipc.shmseg: 64
kern.ipc.shmall: 1024
kern.ipc.shm_use_phys:

	The documentation says:

        System shared memory:
        --------------------
        For certain OS release, the default max shared memory segment
        size (SHMMAX)
        is not big enough for the Client Agent to function properly.
        The SHMMAX value
        must be set to a minimum of 1048576.


Any ideas?

Thanks!

Fernando P. Schapachnik
Planificación de red y tecnología
VIA NET.WORKS ARGENTINA S.A.
fschapachnik@vianetworks.com.ar
Tel.: (54-11) 4323-3381

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-emulation" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010831165844.B10730>