Constantly running out of sessionid's.
abartlet at samba.org
Wed Sep 27 18:20:22 GMT 2006
On Wed, 2006-09-27 at 11:10 -0500, Gerald (Jerry) Carter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Andrew Bartlett wrote:
> > On Wed, 2006-09-27 at 08:12 -0500, Gerald (Jerry) Carter wrote:
> >> -----BEGIN PGP SIGNED MESSAGE-----
> >> Hash: SHA1
> >> Harald Hannelius wrote:
> >>> Oh yes, but I (and the helldesk in particular) just love to be able to use
> >>> last, finger, w, who and friends to find out who has been using what.
> >>> We are now nearing the limit:
> >>> # sessionids.sh
> >>> tdb> tdb> 3568 records totalling 5537536 bytes
> >>> (waiting with my fingers in my ears) :)
> >>> Is there a bug that doesn't free sessionid's, or do we just have too many
> >>> users/computers?
> >> You should be able to set MAX_SESSION_ID to an arbitrary value.
> >> We should reclaim unused session ids. So set it to something like
> >> 10000 or what ever you need.
> > But wouldn't that break what he uses them for, being utmp?
> Why? Is there a limit in utmp ? Or does this have to do
> with the pty allocation or something?
Yeah, utmp requires that the session id be encoded into a limited space
(2 byte printable character is the current restriction) space.
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Red Hat Inc. http://redhat.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20060927/c4dbcce2/attachment.bin
More information about the samba-technical