[Samba] Memory allocation error: failed to expand to 1108555744 bytes

Gerald (Jerry) Carter jerry at samba.org
Tue Oct 12 15:01:21 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Adam Tauno WIlliams wrote:
| I saw the following log entry when connecting to a print share on a
| Samba 3.0.7 box from a Windows 2000 client.
|
| I assume the attempt to allocate 1Gb+ of RAM has got to be wrong?
|
| [2004/09/14 11:07:14, 1] smbd/service.c:make_connection_snum(648)
|   pcladydeath (192.168.1.110) connect to service print$ initially as
| user pcnet (uid=288, gid=230) (pid 18501)[2004/09/14 11:07:17, 0]
| smbd/connection.c:register_message_flags(220)
|   register_message_flags: tdb_fetch failed
| [2004/09/14 11:07:19, 0] lib/util.c:Realloc(856)
|   Memory allocation error: failed to expand to 1108555744 bytes
| [2004/09/14 11:07:19, 0] rpc_parse/parse_prs.c:prs_grow(270)
|   prs_grow: Realloc failure for size 1108555744.
| [2004/09/14 11:07:19, 0]
| rpc_server/srv_spoolss.c:api_spoolss_rfnpcnex(341)
|   spoolss_io_r_rfnpcnex: unable to marshall SPOOL_R_RFNPCNEX.
| [2004/09/14 11:07:19, 0] rpc_server/srv_pipe.c:api_rpcTNP(1563)
|   api_rpcTNP: spoolss: SPOOLSS_RFNPCNEX failed.

That's really strange.  corrupted tdb maybe ?  Never seen it before.
If you can reproduce the failure, let me know.




cheers, jerry
- ---------------------------------------------------------------------
Alleviating the pain of Windows(tm)      ------- http://www.samba.org
GnuPG Key                ----- http://www.plainjoe.org/gpg_public.asc
"If we're adding to the noise, turn off this song"--Switchfoot (2003)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFBa/HAIR7qMdg1EfYRAgNsAKClA+hhchSJXphyJ+1xJsFhPpquogCfT5Le
ITAWbtF1jaiVpLW/RNNl0sQ=
=chEx
-----END PGP SIGNATURE-----


More information about the samba mailing list